Fix layout bugs
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2
layouts/_shortcodes/sub.html
Normal file
2
layouts/_shortcodes/sub.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<sub>{{ .Get 0 | markdownify }}</sub>
|
||||
{{- /* chomp trailing newline */ -}}
|
2
layouts/_shortcodes/sup.html
Normal file
2
layouts/_shortcodes/sup.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<sup>{{ .Get 0 | markdownify }}</sup>
|
||||
{{- /* chomp trailing newline */ -}}
|
@@ -1,5 +1,4 @@
|
||||
{{ $pages := .CurrentSection.Pages.ByDate }}
|
||||
|
||||
{{ $pages := .CurrentSection.Pages.ByDate.Reverse }}
|
||||
|
||||
<div class="postnav">
|
||||
{{ with $pages.Prev . }}
|
||||
|
Reference in New Issue
Block a user