diff options
author | Lei Zhang <antiagainst@google.com> | 2017-11-14 10:27:19 -0500 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2017-11-14 23:27:19 +0800 |
commit | fa7e44cec87ae2ec0c572cf808976492d486e969 (patch) | |
tree | 46842d1597470cea9dd86cc57ff4d30cbe404259 /layouts | |
parent | c01c9cffb711cf3c647e68fdb417a505aa44c784 (diff) |
fix: separate categories (#15)
* Separate categories with whitespace
* Modify the _header.scss file to add a 'ยท' character
release 2.6.6
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 2 | ||||
-rw-r--r-- | layouts/post/single.html | 8 | ||||
-rw-r--r-- | layouts/post/summary.html | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b2c7523..f590d6c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -57,7 +57,7 @@ {{- end }} <!-- Styles --> -<link href="{{ "dist/even.min.css?v=2.6.5" | relURL }}" rel="stylesheet"> +<link href="{{ "dist/even.min.css?v=2.6.6" | relURL }}" rel="stylesheet"> {{ if .Site.Params.bootcdn -}} {{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }} {{- else if .Site.Params.publicCDN.enable -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 541811b..2d06c0e 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -13,7 +13,7 @@ <script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script> {{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }} {{- end }} -<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.5" | relURL }}"></script> +<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.6" | relURL }}"></script> {{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }} <script type="text/javascript"> diff --git a/layouts/post/single.html b/layouts/post/single.html index 7960c64..3a737d3 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -9,9 +9,9 @@ <span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span> {{ with .Params.categories -}} <div class="post-category"> - {{ range . -}} - <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a> - {{- end }} + {{ range . }} + <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a> + {{ end }} </div> {{- end }} {{ if .Site.Params.moreMeta -}} @@ -63,4 +63,4 @@ </nav> </footer> </article> -{{- end }}
\ No newline at end of file +{{- end }} diff --git a/layouts/post/summary.html b/layouts/post/summary.html index be4366b..bbebe31 100644 --- a/layouts/post/summary.html +++ b/layouts/post/summary.html @@ -6,9 +6,9 @@ <span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span> {{ with .Params.categories -}} <div class="post-category"> - {{ range . -}} - <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a> - {{- end }} + {{ range . }} + <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a> + {{ end }} </div> {{- end }} {{ if .Site.Params.moreMeta -}} @@ -26,4 +26,4 @@ <a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a> </div> </div> -</article>
\ No newline at end of file +</article> |