Skip to content

Commit

Permalink
fix typo about loading javascript in footer (mmistakes#3350)
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimape authored and njjc committed Dec 20, 2023
1 parent 7d9adf7 commit 314f1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_docs/10-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,10 @@ Add some Liquid tags for the new configuration to `_includes/footer/custom.html`
{% endif %}
```{% endraw %}
Next, add `page_js` to any page's YAML Front Matter to have your CSS loaded for that page.
Next, add `page_js` to any page's YAML Front Matter to have your JavaScript loaded for that page.
```yaml
page_js:
- /path/to/your/custom.css
- /path/to/your/custom.js
```

---

0 comments on commit 314f1e7

Please sign in to comment.