simplified everything, partially half the size loaded, despite the unified css file :); added colour scheme support; added blogroll and about pages
This commit is contained in:
parent
8c242b4aa5
commit
e753ca3e90
20 changed files with 194 additions and 734 deletions
|
@ -4,32 +4,12 @@
|
|||
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
||||
{{- end -}}
|
||||
|
||||
{{- define "main" }}
|
||||
{{- define "main" }}
|
||||
|
||||
<main>
|
||||
<div class="container">
|
||||
<section class="section posts">
|
||||
<div class="section posts inner">
|
||||
{{- range .Pages }}
|
||||
<a href="{{ .Permalink }}">
|
||||
<article>
|
||||
<h2><span>{{ .Title }}</span></h2>
|
||||
{{ with .Description }}<p class="description">{{ . }}</p>{{ end }}
|
||||
{{- if eq .Params.type "post" }}
|
||||
<p class="meta" title="{{ .Date.Format "2 Jan 2006, 15:04 MST" }}">
|
||||
<span class="date">{{ .Date.Format "2 January 2006" }}</span>
|
||||
{{- with .Params.author }}<span class="author">by {{ . }}</span>{{ end }}
|
||||
{{ end }}
|
||||
{{- if eq .Params.type "project" }}
|
||||
<p class="meta">
|
||||
{{ with .Params.activetime }}<span class="date">{{ . }}</span><br />{{ end }}
|
||||
{{ with .Params.status }}<span class="status">{{ . }}</span>{{ end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
</article>
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{{- range .Pages }}
|
||||
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Format "2 January 2006" }}</span> </p>
|
||||
{{- end }}
|
||||
</main>
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue