Update handling of news

This commit is contained in:
Tom Wiesing 2023-01-09 11:19:47 +01:00
parent 73d821e320
commit dcd5f910ae
No known key found for this signature in database
22 changed files with 587 additions and 61 deletions

View file

@ -2,9 +2,15 @@
{{ define "title" }}WissKI Distillery{{ end }}
{{ define "header"}}
<!-- no header -->
<p>
<a class="pure-button pure-button-primary" href="/">Home</a>
</p>
<p>
<a class="pure-button" href="/news/">News</a>
</p>
{{ end }}
{{ define "content" }}
{{ block "@custom/about" . }}
<div class="pure-u-1">
@ -23,7 +29,7 @@
<div class="pure-u-1 pure-u-md-1-3">
<h3>{{.Slug}}</h3>
<p>
<a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.URL}}</a><br>
<a href="{{.URL}}" target="_blank" rel="noopener noreferrer" class="wisskilink">{{.URL}}</a><br>
<small>
{{ .Statistics.Bundles.Summary }}