{{ define "main" }}
{{ partial "partials/full_post.html" . }} {{- if not (in .Params.category "pages") }}
{{- if isset .Params "tags" -}} {{- $tagsLen := len .Params.tags -}} {{- if gt $tagsLen 0 -}}  with tags: {{- range $k, $v := .Params.tags -}} {{- $url := printf "tags/%s" (. | urlize | lower) -}} {{ . | title }} {{- if lt $k (sub $tagsLen 1) }} · {{ end -}} {{- end -}} {{- end -}} {{- end }}
{{ if or .Next .Prev -}}
{{- with .Prev }} ← Previous {{ end -}} {{- with .Next -}}Next → {{ end -}}
{{ end -}} {{ end }} {{ end }}