Skip to content

Commit

Permalink
Update head partial
Browse files Browse the repository at this point in the history
  • Loading branch information
flokoe committed Jun 2, 2024
1 parent 6335e1d commit 12caba5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Binary file added static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions themes/v1/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">

<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>

<link rel="canonical" href="{{ .Permalink }}">
<meta name="description" content="{{ (or .Description .Summary) }}">

{{ template "_internal/opengraph.html" . }}

{{ template "_internal/schema.html" . }}

{{ template "_internal/twitter_cards.html" . }}

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}

0 comments on commit 12caba5

Please sign in to comment.