mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-19 23:16:23 -04:00
cleaned up HTML output
This commit is contained in:
1 parent
91cbf98449
commit
ccd30a9e2b
3 files changed
+31
-40
No files matched your search
+15
-15
@@ -1,21 +1,21 @@
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "blog-header.html" . }}
|
||||
|
||||
<div id="archive">
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="year">
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li class="item">
|
||||
<div class="date">{{ .Date.Format "Jan 2" }}</div>
|
||||
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div id="archive">
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="year">
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li class="item">
|
||||
<div class="date">{{ .Date.Format "Jan 2" }}</div>
|
||||
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "blog-footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
Reference in new issue
Block a user