initial commit
This commit is contained in:
parent
2012aa8834
commit
9ddfa58ace
2289 changed files with 11217 additions and 0 deletions
46
themes/hugo-ficurinia/layouts/partials/head.html
Normal file
46
themes/hugo-ficurinia/layouts/partials/head.html
Normal file
|
@ -0,0 +1,46 @@
|
|||
<head>
|
||||
{{ if .Site.Params.forceRedirect }}
|
||||
<script>
|
||||
if (location.host != new URL("{{ .Site.BaseURL }}").host) location.href = "{{ .Site.BaseURL }}"
|
||||
</script>
|
||||
{{ end }}
|
||||
<meta name="robots" content="noai, noimageai">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=7" />
|
||||
|
||||
{{ if .OutputFormats.Get "RSS" }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<link href="{{ .Permalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
<link href="{{ .Permalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{- partial "head_icons.html" . -}}
|
||||
|
||||
<title>
|
||||
{{ if and (.Title) (ne .Title .Site.Title) }}
|
||||
{{ .Title }} –
|
||||
{{ end }}
|
||||
{{ .Site.Title | default "Ficurinia" }}
|
||||
</title>
|
||||
|
||||
{{/*
|
||||
how to update these hashes:
|
||||
https://gitlab.com/gabmus/hugo-ficurinia/-/merge_requests/5
|
||||
*/}}
|
||||
<link href="/symbols-nerd-font/symbols-nerd-font.css" rel="stylesheet" />
|
||||
<link href="/jetbrains-mono/jetbrains-mono.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
||||
|
||||
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
|
||||
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
|
||||
{{ end }}
|
||||
{{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | css.Sass (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }}
|
||||
<link type="text/css" rel="stylesheet" href={{ $style.Permalink }} integrity="{{ $style.Data.Integrity }}" />
|
||||
{{- partial "inject/head.html" . -}}
|
||||
{{- partial "head_meta_seo.html" . -}}
|
||||
{{- partial "head_meta_opengraph.html" . -}}
|
||||
{{- partial "head_meta_twitter.html" . -}}
|
||||
<link rel="manifest" href="/manifest/index.json" />
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue