Fix path in "All Posts" in tags

This commit is contained in:
Ceda EI 2020-12-13 18:17:47 +05:30
parent 298efdb91e
commit 7c958e50df
1 changed files with 4 additions and 4 deletions

View File

@ -2,12 +2,12 @@
{{ $.Scratch.Set "style_opts" (dict "src" "scss/pages/tags.scss" "dest" "css/tags.css") }}
{{ end }}
{{ define "main" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }}
{{ define "main" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }}
<div class="post-list__container">
<div class="tag__header">
<a href="/blog">All posts</a><span class="separator">/</span>
<a href="/posts/">All posts</a><span class="separator">/</span>
<h1 class="tag__term">{{ .Title }}</h1>
</div>
<ul class="post-list">