diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2019-03-13 18:21:28 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2019-03-13 18:21:50 +0300 |
commit | 2fa584f79747a883140617917432ae530c8b5320 (patch) | |
tree | 34a8366b2c8d339714b66698e26ca706dfd228cb /layouts/partials | |
parent | f569b90bb16dbe1c7f0fdcd6d25c44786c590ad6 (diff) |
make separators between sections optional
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/scripts.html | 4 | ||||
-rw-r--r-- | layouts/partials/sections.html | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 46beb79..63e20b1 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -4,5 +4,5 @@ {{ $js := $bundle | resources.Minify | resources.Fingerprint "sha512" }} <script src="{{ $js.Permalink }}"></script> -<script defer src="https://use.fontawesome.com/releases/v5.6.1/js/all.js" integrity="sha384-R5JkiUweZpJjELPWqttAYmYM1P3SNEJRM6ecTQF05pFFtxmCO+Y1CiUhvuDzgSVZ" - crossorigin="anonymous"></script>
\ No newline at end of file + +{{ partial "fontawesome.html" . }} diff --git a/layouts/partials/sections.html b/layouts/partials/sections.html index 6d4cfc3..2fc5b87 100644 --- a/layouts/partials/sections.html +++ b/layouts/partials/sections.html @@ -5,6 +5,10 @@ {{ partial "section.html" .}} {{ if ne (add $i 1) $len }} + +{{ if $.Site.Params.separator.show }} {{ partial "separator.html" . }} +{{ end }} + {{ end }} -{{ end}}
\ No newline at end of file +{{ end}} |