Compare commits

...

3 Commits

Author SHA1 Message Date
0ca1bd9157 Merge branch 'main' of ssh://git.n07070.xyz:1968/n07070/blogotheme 2022-11-08 23:44:48 +01:00
85df577a19 Add support for Mastodon profile verification 2022-11-08 23:44:28 +01:00
nono
e74e82a6b7 Remove gitinfo on footer 2022-08-17 19:22:51 +02:00
2 changed files with 16 additions and 13 deletions

View File

@@ -10,5 +10,5 @@
<small>It's self-hosted, low-tech, without javascript and static, as it should be.</small>
<sup><a href="{{ .Site.BaseURL}}/notes/why-no-js/" rel="nofollow">Why ?</a></sup>
<br>
<p> Page last modified on {{ .Lastmod }} | {{ .GitInfo.AbbreviatedHash }} </p>
<p> Page last modified on {{ .Lastmod }}</p>
</footer>

View File

@@ -19,17 +19,20 @@
{{ if (fileExists "static/safari-pinned-tab.svg") -}}
<link rel="mask-icon" href="{{ "/safari-pinned-tab.svg" | absURL }}" color="#5bbad5">
{{ end -}}
{{ if isset $.Site.Params "mastodon_profile_link" -}}
<link rel="me" href="{{- $.Site.Params.mastodon_profile_link -}}">
{{ end -}}
{{ if (fileExists "layouts/partials/meta-tags.html") -}}
{{ partial "meta-tags.html" . }}
{{ end -}}
{{ with resources.Get "css/katex.css" -}}
<link href="{{ .Permalink }}" rel="stylesheet">
<link href="{{ .Permalink -}}" rel="stylesheet">
{{ end -}}
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
{{ $mainStyle := resources.Get "css/style.css" }}
{{ $overrideStyle := resources.Get "css/override.css" }}
{{ $printStyle := resources.Get "css/print.css" }}
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify }}
{{ $normalizeStyle := resources.Get "css/normalize.css" -}}
{{ $mainStyle := resources.Get "css/style.css" -}}
{{ $overrideStyle := resources.Get "css/override.css" -}}
{{ $printStyle := resources.Get "css/print.css" -}}
{{ $style := slice $normalizeStyle $mainStyle $overrideStyle $printStyle | resources.Concat "css/concated.css" | minify -}}
<link href="{{ $style.Permalink }}" rel="stylesheet">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}