diff options
author | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 16:21:42 +0300 |
---|---|---|
committer | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 16:21:42 +0300 |
commit | 668325fc777750917c38a2dda1dfd6e265a92cfa (patch) | |
tree | 85f9247dc166a187330ce5bab88c56594a06df3b /layouts | |
parent | 71c2b902a37af77c92d254adb866f212e0908113 (diff) |
syntax highlighting and code boxes decent
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/posts/single.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index cfe20a0..1397a41 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,8 @@ {{ $themeCss := resources.Get $themeScss | resources.ExecuteAsTemplate $themeScss . | toCSS $options | fingerprint }} <link rel="stylesheet" href="{{ $themeCss.Permalink }}"> + <link rel="stylesheet" href="/syntax.css" rel="stylesheet" /> + {{ block "header_scripts" . }} <!-- Optional header scripts --> {{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 37ad279..673f3cb 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -46,7 +46,7 @@ {{ end }} {{ if .NextInSection }} <div class="nav-next"> - <a href="{{.PrevInSection.Permalink}}" rel="next"> + <a href="{{ .NextInSection.Permalink }}" rel="next"> <span class="meta-nav" aria-hidden="true">Next post</span> <span class="screen-reader-text">Next post:</span> <br> |