1
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:
2019-04-12 12:38:00 -04:00
parent c7e4caeadc
commit e216cf7eec
11 changed files with 189 additions and 150 deletions

View File

@@ -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" . }}

View File

@@ -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> &middot;
{{ .Date.Format "January 2, 2006" }} &middot;
<!-- {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} &middot; -->
{{ .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> &middot;
<a href="{{ .Permalink }}">{{ .Date.Format "January 2, 2006" }}</a> &middot;
<!-- {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} &middot; -->
{{ .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" . }}