mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-23 23:42:19 +00:00
more case consistency in aside
This commit is contained in:
parent
c621cf2952
commit
258d5fb36b
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Params.description }}<p>{{ .Params.description }}</p><hr>{{ end }}
|
{{ if .Params.description }}<p>{{ .Params.description }}</p><hr>{{ end }}
|
||||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
||||||
<p>
|
<p>
|
||||||
<h3>On this page</h3>
|
<h3>on this page</h3>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
<hr>
|
<hr>
|
||||||
</p>
|
</p>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
{{$related := where .Site.RegularPages ".Params.categories" "eq" .Params.categories }}
|
||||||
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
{{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }}
|
||||||
{{ if eq .Params.categories "slashes" }}
|
{{ if eq .Params.categories "slashes" }}
|
||||||
<h3>More /slashes</h3>
|
<h3>more /slashes</h3>
|
||||||
{{ $sortedPosts := sort $related "Title" }}
|
{{ $sortedPosts := sort $related "Title" }}
|
||||||
<ul>
|
<ul>
|
||||||
{{- range $sortedPosts }}
|
{{- range $sortedPosts }}
|
||||||
|
|
Loading…
Reference in a new issue