Skip to content

Commit

Permalink
feat: add open graph and twitter card internal template
Browse files Browse the repository at this point in the history
  • Loading branch information
tomowang committed Nov 28, 2023
1 parent 734c28c commit 0b18ae2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}"
/>
<meta name="robots" content="noodp" />
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}

<link rel="canonical" href="{{ .Permalink }}" />

<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" />
Expand Down

0 comments on commit 0b18ae2

Please sign in to comment.