revises styles and layouts

This commit is contained in:
Huy Tran 2018-07-22 21:34:01 +10:00
parent 1082ce5593
commit c360289608
6 changed files with 99 additions and 107 deletions

View file

@ -1,3 +1,3 @@
<span style="color:red">
{{ printf "%#v" . }}
{{ printf "%#v" . }} <br/>
</span>

View file

@ -2,7 +2,7 @@
<ul class="post__nav">
<li class="post__nav--next">
{{ with .NextInSection -}}
<a href="{{ .RelPermalink }}">
<a href="{{ .RelPermalink }}">
<span class="next__heading">NEXT</span>
<span>{{ .Title }}</span>
</a>
@ -11,9 +11,9 @@
</li>
<li class="post__nav--previous">
{{ with .PrevInSection -}}
<span class="previous__heading">PREVIOUS</span>
<i class="fas fa-chevron-left"></i>
<a href="{{ .RelPermalink }}">
<span class="previous__heading">PREVIOUS</span>
<a href="{{ .RelPermalink }}">
<span class="previous__title">{{ .Title }}</span>
</a>
{{- end }}