mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 23:12:19 +00:00
layout: move toc above tags
This commit is contained in:
parent
62c7983155
commit
1c466213f8
1 changed files with 6 additions and 6 deletions
|
@ -6,20 +6,20 @@
|
|||
{{ if .Params.date }}<table><tr><td>posted:</td><td>{{ $postDate }}</td></tr>{{- if ne $postDate $updateDate }}<tr><td>updated:</td><td>{{ $updateDate }}</td></tr>{{ end }}</table>{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
||||
<h2>On this page</h2>
|
||||
{{ .TableOfContents }}
|
||||
<hr>
|
||||
{{ end }}
|
||||
{{- with .Params.tags -}}
|
||||
<a href="/tags">tags</a>:<br>
|
||||
{{- range . }}
|
||||
{{- $tag := urlize . -}}
|
||||
[<a href='{{ absLangURL (printf "tags/%s" $tag) }}' title="{{ . }}">{{ . }}</a>]
|
||||
{{- end }}
|
||||
<hr>
|
||||
{{- end }}
|
||||
</p>
|
||||
<hr>
|
||||
{{ end }}
|
||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
||||
<h2>On this page</h2>
|
||||
{{ .TableOfContents }}
|
||||
<hr>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Params "series" }}
|
||||
|
|
Loading…
Reference in a new issue