Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Add tags to the bottom of posts using hugo. -->
- <div><div class="tags">Tags:
- <ul class="tags">
- {{ range .Params.tags }}
- <li><a href="/tags/{{ . | urlize }}">‘{{ . }}’</a> </li>
- {{ end }}
- </ul></div></div>
- <!-- Create post archive ordered by month using hugo -->
- {{ range .Data.Pages.GroupByDate "2006-01" }}
- <h3>{{ .Key }}</h3>
- <ul>
- {{ range .Pages }}
- <li>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- <div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
- </li>
- {{ end }}
- </ul>
- {{ end }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement