changed tags templates, tags logic, and config links
This commit is contained in:
24
layouts/_default/taxonomy.html
Normal file
24
layouts/_default/taxonomy.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ define "main" }}
|
||||
<!-- Page that displays after clicking on a post's tag -->
|
||||
<h1>Tagged "{{ .Data.Term }}"</h1>
|
||||
{{range .Pages}}
|
||||
|
||||
<!-- Display the posts with the tag -->
|
||||
<article>
|
||||
<h2>
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</h2>
|
||||
<div>
|
||||
<p>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="post-footer">
|
||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user