mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-23 07:16:23 +01:00
Merge pull request #41 from Programazing/opengraph
Add OpenGraph to Head
This commit is contained in:
commit
8aae583e12
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@
|
|||
<link rel="feed" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ $.Site.Title }}">
|
||||
{{- end -}}
|
||||
|
||||
{{- template "_internal/opengraph.html" . -}}
|
||||
|
||||
{{- $share := .Params.share.enable | default .Site.Params.share.enable | eq true -}}
|
||||
{{- if $share | and (.Params.Share.Twitter | default .Site.Params.Share.Twitter | eq true) -}}
|
||||
{{- template "_internal/twitter_cards.html" . -}}
|
||||
|
|
Loading…
Reference in a new issue