Switch to Netlify

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-07-21 11:22:12 -04:00
parent d521705ec6
commit a1457c8e6c
No known key found for this signature in database
GPG key ID: 060B29EB996BD9F2
18 changed files with 62 additions and 256 deletions

View file

@ -0,0 +1,19 @@
{{- $pages := where site.RegularPages.ByTitle "Type" "in" site.Params.mainSections }}
{{- if and (gt (len $pages) 1) (in $pages . ) }}
<nav class="paginav">
{{- with $pages.Next . }}
<a class="prev" href="{{ .Permalink }}">
<span class="title">« {{ i18n "prev_page" }}</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
{{- with $pages.Prev . }}
<a class="next" href="{{ .Permalink }}">
<span class="title">{{ i18n "next_page" }} »</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
</nav>
{{- end }}