Added icon.

This commit is contained in:
2024-05-29 00:39:11 +02:00
parent 5965e07259
commit c4f9ab96fc
3 changed files with 7 additions and 1 deletions

BIN
static/web/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -10,6 +10,7 @@
<meta name="author" content="{{copy .Page .Content "author"}}" />
<meta name="title" content="{{$title}}" />
<meta name="description" content="{{copy .Page .Content "meta_description"}}" />
<link rel="icon" type="image/png" href="/static/web/favicon.png">
<link rel="canonical" href="{{.Page.CanonicalLink}}" />
{{range $language, $path := .Page.Path}}

View File

@@ -1,4 +1,5 @@
{{$size := get .Content "size"}}
{{$md := get .Content "markdown"}}
<section>
{{if $size}}
@@ -9,5 +10,9 @@
<h2>{{copy .Page .Content "headline"}}</h2>
{{end}}
{{html (copy .Page .Content "text")}}
{{if $md}}
{{markdown $md .}}
{{else}}
{{html (copy .Page .Content "text")}}
{{end}}
</section>