Meta: Spring cleaning
Added syntax highlighting, remove font, many small improvements. Hot fix font: Athelas shows weird symbols in Chrome.
This commit is contained in:
parent
138062aac8
commit
f91ff03006
19 changed files with 74 additions and 54 deletions
|
|
@ -1,16 +1,17 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<h1>Neueste Beiträge</h1>
|
||||
{{ $pages := .Paginate (where .Site.RegularPages "Type" "ne" "page") }}
|
||||
{{ range $pages.Pages }}
|
||||
<div class="list">
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
<a href="{{ .RelPermalink }}" style="display:block">
|
||||
<div class="list">
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
</div>
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ range .Pages }}
|
||||
<div class="list">
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
<a href="{{ .RelPermalink }}" style="display:block">
|
||||
<div class="list">
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
</div>
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<p><a href="https://creativecommons.org/licenses/by-sa/4.0/">BY-SA 4.0</a>   ☙   {{ site.Title }}   ❧
|
||||
<p><a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a>   ☙   {{ site.Title }}   ❧
|
||||
  2021–{{ now.Year }}</p>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="Blog von Jan Kremer">
|
||||
<meta name="keywords" content="Blog">
|
||||
<meta name="author" content="Jan Kremer">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s – %s" .Title site.Title }}{{ end }}</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
{{ partialCached "head/js.html" . }}
|
||||
{{ partial "analytics.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue