Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix hiding of attribute described in markdown. #139

Merged
merged 11 commits into from
Nov 18, 2024
2 changes: 1 addition & 1 deletion src/pages/guides/getting-started/going-further.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered
</app-footer>
```

We can go one step further and instruct Greenwood to strip out the `<script>` tags for these components by adding the `data-gwd-opt="static"` attribute to them, since we have no need for any interactivity on these components.
We can go one step further and instruct Greenwood to strip out the `<script>` tags for these components by adding the `data-gwd-opt='static'` attribute to them, since we have no need for any interactivity on these components.

```html
<script type="module" src="../components/footer/footer.js" data-gwd-opt="static"></script>
Expand Down