This commit is contained in:
Mirai Kumiko 2025-03-22 01:19:36 +00:00
parent 61e9d1777a
commit 6f8627e659
2 changed files with 2 additions and 3 deletions

View file

@ -49,8 +49,8 @@
Simply place a custom_body.html into Simply place a custom_body.html into
your local /layouts/partials-directory --> your local /layouts/partials-directory -->
{{- partial "custom_body.html" . -}} {{- partial "custom_body.html" . -}}
{{ $analyticsJS := resources.Get "js/analytics.js" | resources.Minify }} <!-- {{ $analyticsJS := resources.Get "js/analytics.js" | resources.Minify }}
<script type="module" src="{{ $analyticsJS.RelPermalink }}"></script> <script type="module" src="{{ $analyticsJS.RelPermalink }}"></script> -->
</body> </body>
</html> </html>

View file

@ -3,7 +3,6 @@
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta name="author" content="{{ .Site.Params.Author.name }}" /> <meta name="author" content="{{ .Site.Params.Author.name }}" />
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" /> <meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
<meta name="fediverse:creator" content="@miraikumiko@cr8r.gg" />
<!-- Only generate social card if: --> <!-- Only generate social card if: -->
<!-- - generateSocialCard = true --> <!-- - generateSocialCard = true -->