~admicos/ecmelberk.com unlisted

ref: 07bc40f31bea67ebe8084f33f636812c71ae1b39 ecmelberk.com/layouts/_default/single.html -rw-r--r-- 1.0 KiB View raw
07bc40f3Ecmel Berk Canlier Update fediverse account a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{{ define "title" }}
{{ .Title }} - {{ .Site.Title }}
{{ end }}

{{ define "head-extra" }}
{{ $syntax_css := resources.Get "syntax.css" | resources.Minify }}
{{ $syntax_css_d := resources.Get "syntax.dark.css" | resources.Minify }}

<link rel="stylesheet" href="{{ $syntax_css.Permalink }}" media="not screen and (prefers-color-scheme: dark)">
<link rel="stylesheet" href="{{ $syntax_css_d.Permalink }}" media="screen and (prefers-color-scheme: dark)">
{{ end }}

{{ define "content" }}
<header>
    <span class="meta"><a href="/"><b>{{ .Site.Title }}</b></a> - <i>{{ .Date.Format "2 January 2006" }}</i></span>
    <h1>{{ .Title }}</h1>
</header>

{{ .Content }}

<footer>
    <hr>
    <a href="/">Homepage & Contact Info</a>
    <br><br>
    The contents of this page are licensed under
    <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
    <br>
    Any code samples are licensed under the MIT/Expat License.
    <br>
    Something wrong? <a href="https://git.sr.ht/~admicos/ecmelberk.com">clone</a> and email me a patch!
</footer>
{{ end }}