~bfiedler/website

ref: 4a82f9d859824a0562dbd89de8569891fa3c308e website/layouts/_default/home.html -rw-r--r-- 595 bytes
4a82f9d8 — Ben Fiedler Override RSS feed on homepage 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{ define "title" }}Ben Fiedler{{ end }}
{{ define "rss" }}<link rel="alternate" type="application/rss+xml" href="{{ "/blog/index.xml" | absURL }}" title="3fx.ch" />{{ end }}
{{ define "main" }}
<main id="intro">
    <h1>Ben Fiedler</h1>
    <nav>
        <ul class="nav">
            {{- range .Site.Menus.main }}
            {{- if ne .Name "Mastodon" }}
            <li><a href="{{ .URL }}">{{ .Name }}</a></li>
            {{- else }}
            <li><a rel="me" href="{{ .URL }}">{{ .Name }}</a></li>
            {{- end }}
            {{- end }}
        </ul>
    </nav>
</main>
{{ end }}