Add an "after_content" blog to baseof.html
Populate it with links to CSS files in the page bundle.
This commit is contained in:
parent
c949edac15
commit
27c1a84ee4
3 changed files with 13 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
{{ partialCached "site/footer.html" . }}
|
{{ partialCached "site/footer.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
|
{{ block "after_content" . }}{{ end }}
|
||||||
{{ partial "base/body-extras.html" . }}
|
{{ partial "base/body-extras.html" . }}
|
||||||
</body>
|
</body>
|
||||||
{{- block "after_js" . }}{{ end }}
|
{{- block "after_js" . }}{{ end }}
|
||||||
|
|
|
@ -20,3 +20,9 @@
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "after_content" }}
|
||||||
|
{{ range .Resources.Match "*.css" }}
|
||||||
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
|
@ -12,3 +12,9 @@
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "after_content" }}
|
||||||
|
{{ range .Resources.Match "*.css" }}
|
||||||
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue