~bfiedler/website

ref: 4a82f9d859824a0562dbd89de8569891fa3c308e website/layouts/_default/baseof.html -rw-r--r-- 2.6 KiB
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
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="color-scheme" content="light dark">
        <title>{{ block "title" . }}{{ .Title }}{{ end }}</title>
        {{- $fira := resources.Get "fira-code.css" | minify | fingerprint }}
        <link rel="stylesheet" href="{{ $fira.RelPermalink }}" integrity="{{ $fira.Data.Integrity }}">
        {{- $worksans := resources.Get "work-sans.css" | minify | fingerprint }}
        <link rel="stylesheet" href="{{ $worksans.RelPermalink }}" integrity="{{ $worksans.Data.Integrity }}">
        {{- $main := resources.Get "style.scss" | toCSS | minify | fingerprint }}
        <link rel="stylesheet" href="{{ $main.RelPermalink }}" integrity="{{ $main.Data.Integrity }}">
        {{- block "rss" . -}}
        {{- with .OutputFormats.Get "rss" -}}
        {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
        {{- end -}}
        {{- end -}}
        <link rel="icon" href="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20'-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN'%20'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg%20enable-background%3D%22new%200%200%20142.916%20142.916%22%20version%3D%221.1%22%20viewBox%3D%220%200%20142.92%20142.92%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22m32.901%20114.8-12.015%2016.507c-2.375%203.265-1.656%207.835%201.608%2010.21%201.301%200.945%202.807%201.4%204.295%201.4%202.261%200%204.487-1.043%205.917-3.006l12.11-16.638c7.951%204.239%2017.019%206.651%2026.644%206.651%2031.342%200%2056.84-25.499%2056.84-56.842%200-15.979-6.636-30.427-17.283-40.764l15.074-20.709c2.375-3.265%201.655-7.834-1.607-10.21-3.273-2.377-7.84-1.651-10.209%201.608l-14.962%2020.556c-8.241-4.655-17.739-7.323-27.856-7.323-31.343%200-56.842%2025.499-56.842%2056.841%200%2016.477%207.05%2031.329%2018.286%2041.719zm80.781-41.719c0%2023.284-18.94%2042.226-42.226%2042.226-6.407%200-12.461-1.477-17.905-4.039l48.729-66.951c7.051%207.548%2011.402%2017.648%2011.402%2028.764zm-42.225-42.224c6.901%200%2013.403%201.698%2019.159%204.646l-49.043%2067.381c-7.623-7.643-12.344-18.181-12.344-29.801%203e-3%20-23.284%2018.944-42.226%2042.228-42.226z%22%2F%3E%3C%2Fsvg%3E%0A" type="image/svg+xml" sizes="any">
    </head>
    <body{{ if not .IsHome }} class="content"{{ end }}>
        {{- block "main" . }}{{ end }}
    </body>
<html>