mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat: Added {{> scripts}} partial that reads params.scripts.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
## High priority
|
## High priority
|
||||||
|
|
||||||
- Polish existing features before moving on to new ones.
|
- Polish existing features before moving on to new ones.
|
||||||
|
- [ ] Do mustache's whitespace rules actually suit us, or should we make our own?
|
||||||
- [x] `{{>title}}` default partial? `{{site.title}} | {{ page.title }}`
|
- [x] `{{>title}}` default partial? `{{site.title}} | {{ page.title }}`
|
||||||
- [ ] implicit titles (Set when missing?)
|
- [ ] implicit titles (Set when missing?)
|
||||||
- [ ] create a default `head.html`.
|
- [ ] create a default `head.html`.
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
<title>{{> title}}</title>
|
<title>{{> title}}</title>
|
||||||
{{> opengraph}}
|
{{> opengraph}}
|
||||||
{{> styles}}
|
{{> styles}}
|
||||||
|
{{> scripts}}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{{params.scripts}}
|
||||||
Reference in New Issue
Block a user