|
| 1 | +<head> |
| 2 | + |
| 3 | + <title>Redirecting to dandylyons.net{{ .RelPermalink }}...</title> |
| 4 | + |
| 5 | + {{/* Construct the destination URL with the correct path */}} |
| 6 | + {{ $destinationURL := urls.JoinPath "https://dandylyons.net/" .RelPermalink }} |
| 7 | + |
| 8 | + {{/* Meta refresh for instant client-side redirect */}} |
| 9 | + <meta http-equiv="refresh" content="0;url={{ $destinationURL }}"> |
| 10 | + |
| 11 | + {{/* Canonical tag pointing to the preferred (Netlify) URL for this specific path */}} |
| 12 | + <link rel="canonical" href="{{ $destinationURL }}" /> |
| 13 | + |
| 14 | + {{- partial "meta/main.html" . }} |
| 15 | + {{- hugo.Generator }} |
| 16 | + |
| 17 | + {{/* Open Graph tags */}} |
| 18 | + {{ template "_internal/opengraph.html" . }} |
| 19 | + |
| 20 | + {{/* Twitter Card tags */}} |
| 21 | + {{ template "_internal/twitter_cards.html" . }} |
| 22 | + |
| 23 | + {{/* Canonical link, RSS */}} |
| 24 | + |
| 25 | + <link rel="canonical" href="{{ .Permalink }}"> |
| 26 | + {{- with .OutputFormats.Get "RSS" }} |
| 27 | + <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}"> |
| 28 | + <link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}"> |
| 29 | + {{- end }} |
| 30 | + |
| 31 | + {{- /* Styles */ -}} |
| 32 | + |
| 33 | + {{- $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "style.css") | minify | fingerprint }} |
| 34 | + <link href="{{ $style.RelPermalink }}" rel="stylesheet"> |
| 35 | + {{- $code_syntax_highlight_css := resources.Get "code-highlight.css" | minify | fingerprint }} |
| 36 | + <link href="{{ $code_syntax_highlight_css.RelPermalink }}" rel="stylesheet"> |
| 37 | + |
| 38 | + {{/* Favicons */}} |
| 39 | + <link rel="apple-touch-icon" sizes="180x180" href="{{ (resources.Get "icons/apple-touch-icon.png").RelPermalink }}"> |
| 40 | + <link rel="icon" type="image/png" sizes="32x32" href="{{ (resources.Get "icons/favicon-32x32.png").RelPermalink }}"> |
| 41 | + <link rel="icon" type="image/png" sizes="16x16" href="{{ (resources.Get "icons/favicon-16x16.png").RelPermalink }}"> |
| 42 | + <link rel="mask-icon" href="{{ (resources.Get "icons/safari-pinned-tab.svg").RelPermalink }}"> |
| 43 | + <link rel="shortcut icon" href="{{ (resources.Get "icons/favicon.ico" | resources.Copy "favicon.ico").RelPermalink }}"> |
| 44 | + |
| 45 | + {{- partial "webmanifest.html" . -}} |
| 46 | + {{- partial "browserconfig.html" . -}} |
| 47 | + |
| 48 | + <meta name="theme-color" content="{{ .Site.Params.webmanifest.theme_color | default "#434648" }}"> |
| 49 | + |
| 50 | + {{/* SVG favicon for the modern web */}} |
| 51 | + <link rel="icon" type="image/svg+xml" href="{{ (resources.Get "icons/favicon.svg").RelPermalink }}"> |
| 52 | + |
| 53 | + {{/* Katex support (enabled on specific pages). See 'helpers/katex.html' for more info. */}} |
| 54 | + |
| 55 | + {{- if or .Params.math .Site.Params.math }}{{ partial "helpers/katex.html" . -}}{{- end -}} |
| 56 | + |
| 57 | + {{/* Google analytics script. See hugo.toml to enable/disable this. */}} |
| 58 | + {{- if hugo.IsProduction | or (eq site.Params.env "production") }} |
| 59 | + {{ template "_internal/google_analytics.html" . }} |
| 60 | + {{- end -}} |
| 61 | + |
| 62 | +</head> |
0 commit comments