danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added curriculum section. Needs working.
[theme-danix.xyz.git]
/
layouts
/
partials
/
head.html
diff --git
a/layouts/partials/head.html
b/layouts/partials/head.html
index
31eb080
..
0f5757b
100644
(file)
--- a/
layouts/partials/head.html
+++ b/
layouts/partials/head.html
@@
-1,17
+1,19
@@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="color-scheme" content="light dark">
<link rel="profile" href="https://gmpg.org/xfn/11">
<link rel="profile" href="https://gmpg.org/xfn/11">
- {{ $sass_options := (dict "targetPath" "css/site.css" "outputStyle" "compressed" "transpiler" "dartsass") }}
- {{ $sass_template := resources.Get "sass/main.scss" }}
- {{ $main_style := $sass_template | resources.toCSS $sass_options }}
- <link rel="stylesheet" href="{{ $main_style.RelPermalink }}">
+ {{ $style_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }}
+ {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $style_options }}
+ {{ $noscript_options := (dict "targetPath" "css/noscript.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }}
+ {{ $noscript := resources.Get "sass/noscript.scss" | resources.ToCSS $noscript_options }}
-<!-- <link rel="stylesheet" href="{{ "assets/css/dagreynix_fonts.css" | absURL }}">
- <link rel="stylesheet" href="{{ "assets/css/dagreynix.css" | absURL }}"> -->
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+ <link rel="stylesheet" href="{{ "css/syntax.css" |relURL }}">
+ <noscript><link rel="stylesheet" href="{{ $noscript.RelPermalink }}" ></noscript>
{{ partial "funcs/favicon.html" . }}
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "funcs/favicon.html" . }}
<link rel="canonical" href="{{ .Permalink }}">
@@
-19,7
+21,7
@@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- {{ $title := print .Site.Title "
⋇ " .Title
}}
+ {{ $title := print .Site.Title "
⁃ " .Title | safeHTML
}}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>