This commit is contained in:
Vrifox 2020-11-09 20:16:31 +01:00
parent e38d188d00
commit 7b777115c8
4 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@
notes.md
.directory
*.kate-swp
/static/gpg.pub
# not ignored directories
!/content/errorpages/

View file

@ -2,8 +2,8 @@
a {
border-bottom: 1px solid;
color: $white;
margin: -5px;
padding: 5px;
margin: -2px 0;
padding: 2px 0;
transition: border .2s, color .2s;
&:hover {
color: $red;

View file

@ -9,7 +9,7 @@
<article>
<p class="meta">
{{ if eq .Params.type "post" }}<span title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</span>{{ end }}
{{ if eq .Params.type "privacy" }}<span title="{{ .Date.Format "2. January 2006" }}">version: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
{{ if eq .Params.type "singlepage" }}<span title="{{ .Date.Format "2. January 2006" }}">version: {{ .Date.Format "2006-01-02" }}</span>{{ end }}
<span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p>
<h1 class="title">{{ .Title }}</h1>
@ -40,7 +40,7 @@
</aside>
</article>
</section>
{{ if ne .Params.type "privacy" }}
{{ if ne .Params.type "singlepage" }}
<section class="section-articles">
<article class="next-article">
{{ with .NextInSection }}

View file

@ -18,6 +18,7 @@
{{ with .url }}<a href="{{ . }}">{{ end }}
{{ .handle }}
{{ with .url }}</a>{{ end }}
{{ with .hint }}<a href="{{ .url }}">{{ .name }}</a>{{ end }}
</td>
</tr>
{{ end }}