Skip to content

Commit

Permalink
theme: add opengraph tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AnInternetTroll committed Sep 21, 2024
1 parent 97b19ee commit cfc252f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
public/
content/rules
.hugo_build.lock
3 changes: 2 additions & 1 deletion themes/minecraft/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
{{ template "_internal/opengraph.html" . }}
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
<!-- {{ partialCached "head/js.html" . }} -->
{{ partialCached "head/js.html" . }}

0 comments on commit cfc252f

Please sign in to comment.