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 notes.md
.directory .directory
*.kate-swp *.kate-swp
/static/gpg.pub
# not ignored directories # not ignored directories
!/content/errorpages/ !/content/errorpages/

View file

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

View file

@ -9,7 +9,7 @@
<article> <article>
<p class="meta"> <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 "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> <span>{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
</p> </p>
<h1 class="title">{{ .Title }}</h1> <h1 class="title">{{ .Title }}</h1>
@ -40,7 +40,7 @@
</aside> </aside>
</article> </article>
</section> </section>
{{ if ne .Params.type "privacy" }} {{ if ne .Params.type "singlepage" }}
<section class="section-articles"> <section class="section-articles">
<article class="next-article"> <article class="next-article">
{{ with .NextInSection }} {{ with .NextInSection }}

View file

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