mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 12:15:34 -04:00
HTML5 elements and random CSS improvements
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "blog-header.html" . }}
|
||||
|
||||
<div id="archive">
|
||||
<main id="archive">
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="year">
|
||||
<section class="year">
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li class="item">
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<div class="date">{{ .Date.Format "Jan 2" }}</div>
|
||||
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></div>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
{{ partial "blog-footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
@@ -1,26 +1,26 @@
|
||||
{{ partial "header.html" . }}
|
||||
{{ partial "blog-header.html" . }}
|
||||
|
||||
<div id="single">
|
||||
<div id="info">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div class="meta">
|
||||
by <a rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis">Jake Jarvis</a> ·
|
||||
{{ .Date.Format "January 2, 2006" }} ·
|
||||
<!-- {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} · -->
|
||||
{{ .ReadingTime }} minute read
|
||||
<div class="tags">
|
||||
{{ with .Params.tags }}{{ if ge (len .) 1 }}
|
||||
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span> {{ end }}
|
||||
{{ end }}{{ end }}
|
||||
<main id="single">
|
||||
<article>
|
||||
<div id="info">
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div class="meta">
|
||||
by <a rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis">Jake Jarvis</a> ·
|
||||
<a href="{{ .Permalink }}">{{ .Date.Format "January 2, 2006" }}</a> ·
|
||||
<!-- {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} · -->
|
||||
{{ .ReadingTime }} minute read
|
||||
<div class="tags">
|
||||
{{ with .Params.tags }}{{ if ge (len .) 1 }}
|
||||
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span> {{ end }}
|
||||
{{ end }}{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
<div id="commento"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="commento"></div>
|
||||
</article>
|
||||
</main>
|
||||
{{ partial "blog-footer.html" . }}
|
||||
{{ partial "footer.html" . }}
|
Reference in New Issue
Block a user