561c0fa320
- Replace .Site.Author.{email,name} with .Site.Params.{social.email,author} in rss.xml
- Replace .Site.Data with hugo.Data in footer, social, and contact-box templates
- Switch SCSS transpiler from libsass to dartsass; add @use "sass:color" and replace darken()/lighten() with color.adjust()
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
27 lines
1.5 KiB
HTML
27 lines
1.5 KiB
HTML
|
|
<head>
|
|
<title>{{ .Site.Title }} {{ with .Title }}- {{ . }} {{ end }}</title>
|
|
<link rel="stylesheet" type="text/css" href="{{ "css/fonts.css" | relURL }}">
|
|
<link rel="stylesheet" type="text/css" href="{{ "css/fontawesome.css" | relURL }}">
|
|
{{ $options := dict "transpiler" "dartsass" "targetPath" "css/styles.css" -}}
|
|
{{ $style := resources.Get "styles.scss" | toCSS $options | minify | fingerprint -}}
|
|
<link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}">
|
|
{{ with resources.Get "css/userstyles.css" }}
|
|
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}">
|
|
{{ end -}}
|
|
<link rel="icon" href="/assets/logo/favicon/favicon.ico" type="image/x-icon" sizes="any">
|
|
<link rel="apple-touch-icon" href="/assets/logo/favicon/apple-touch-icon.png">
|
|
<link rel="manifest" href="/assets/logo/favicon/icon.manifest">
|
|
<meta charset="UTF-8">
|
|
<meta name="author" content="{{ .Site.Params.Author }}">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
{{- range .AlternativeOutputFormats }}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{- end }}
|
|
<script defer data-domain="ipng.ch" data-api="/api/event" src="/js/script.js"></script>
|
|
{{- if eq .Params.asciinema true }}
|
|
<link rel="stylesheet" type="text/css" href="{{ "css/asciinema-player.css" | relURL }}">
|
|
<script src="{{ "js/asciinema-player.min.js" | relURL }}"></script>
|
|
{{- end }}
|
|
</head>
|