Compare commits
No commits in common. "f677a3731cfa7624c63b89438f9e9d789798762e" and "25e9057dd8b1ddc571f3b26d80b72e86bbcbaa72" have entirely different histories.
f677a3731c
...
25e9057dd8
|
@ -424,7 +424,3 @@ blockquote {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.early-navigation-wrapper {
|
|
||||||
margin-bottom: 3rem;
|
|
||||||
}
|
|
||||||
|
|
|
@ -2,32 +2,44 @@
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
<div class="post-subscript">
|
<div class="post-subscript">
|
||||||
<p>
|
<p>
|
||||||
{{- range .Params.tags -}}
|
{{ range .Params.tags }}
|
||||||
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
|
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
<p>{{ i18n "postedOn" (.Date.Format "January 2, 2006") }}.</p>
|
<p>{{ i18n "postedOn" (.Date.Format "January 2, 2006") }}.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{- if not (eq .TableOfContents "<nav id=\"TableOfContents\"></nav>") -}}
|
{{ if not (eq .TableOfContents "<nav id=\"TableOfContents\"></nav>") }}
|
||||||
<div class="table-of-contents">
|
<div class="table-of-contents">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<em>{{- i18n "tableOfContents" -}}</em>
|
<em>{{ i18n "tableOfContents" }}</em>
|
||||||
{{- .TableOfContents -}}
|
{{ .TableOfContents }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
||||||
{{- if .Draft -}}
|
{{ if .Draft }}
|
||||||
{{- partial "warning.html" (i18n "postDraft") -}}
|
{{ partial "warning.html" (i18n "postDraft") }}
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
||||||
{{- .Content -}}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
{{- define "after" -}}
|
{{ define "after" }}
|
||||||
{{- partial "seriesnav.html" . -}}
|
{{ $term := index (.GetTerms "series") 0 }}
|
||||||
|
{{ with $term }}
|
||||||
|
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
||||||
|
{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
|
||||||
|
<nav id="SeriesNavigation" class="container">
|
||||||
|
{{ with $pages.Prev page }}
|
||||||
|
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ with $pages.Next page }}
|
||||||
|
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
|
||||||
|
{{ end }}
|
||||||
|
</nav>
|
||||||
|
{{ end }}
|
||||||
<hr class="container footer-divider">
|
<hr class="container footer-divider">
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<p>{{ i18n "contactFooter" | safeHTML }}</p>
|
<p>{{ i18n "contactFooter" | safeHTML }}</p>
|
||||||
|
@ -39,4 +51,4 @@
|
||||||
to learn more about me!</p>
|
to learn more about me!</p>
|
||||||
-->
|
-->
|
||||||
</footer>
|
</footer>
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{{ $term := index (.GetTerms "series") 0 }}
|
|
||||||
{{ with $term }}
|
|
||||||
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
|
||||||
{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
|
|
||||||
<nav id="SeriesNavigation" class="container">
|
|
||||||
{{ with $pages.Prev page }}
|
|
||||||
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ with $pages.Next page }}
|
|
||||||
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
|
|
||||||
{{ end }}
|
|
||||||
</nav>
|
|
||||||
{{ end }}
|
|
|
@ -1,3 +0,0 @@
|
||||||
<div class="early-navigation-wrapper">
|
|
||||||
{{ partial "seriesnav.html" .Page }}
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue
Block a user