Modify the theme's headers to enable OGP and twitter card.
This commit is contained in:
parent
989028dbbe
commit
f0b13bd702
|
@ -40,14 +40,8 @@
|
||||||
<!-- OGP Settings
|
<!-- OGP Settings
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||||
<meta property="fb:app_id" content="951084758293113" />
|
<meta property="fb:app_id" content="951084758293113" />
|
||||||
<meta property="og:site_name" content="His Greatness Lies in His Sense of Responsibility" />
|
{{template "_internal/opengraph.html" . }}
|
||||||
<meta property="og:type" content="article" />
|
{{template "_internal/twitter_cards.html" . }}
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
|
||||||
<meta property="og:title" content="{{ .Title }}" />
|
|
||||||
{{ if .Params.image }}<meta property="og:image" content="{{ .Params.image }}" />{{ end }}
|
|
||||||
<meta property="og:locale" content="ja_JP" />
|
|
||||||
<meta property="og:description" content="{{ .Description }}" />
|
|
||||||
<meta property="article:publisher" content="https://www.facebook.com/kazu634" />
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,11 @@
|
||||||
<script type="text/javascript">var switchTo5x=true;</script>
|
<script type="text/javascript">var switchTo5x=true;</script>
|
||||||
<script type="text/javascript">stLight.options({publisher: "2b9fffc6-b3fe-4988-a0ef-4f9dcce98eaa", doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
|
<script type="text/javascript">stLight.options({publisher: "2b9fffc6-b3fe-4988-a0ef-4f9dcce98eaa", doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
|
||||||
|
|
||||||
|
<!-- OGP Settings
|
||||||
|
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||||
|
<meta property="fb:app_id" content="951084758293113" />
|
||||||
|
{{template "_internal/opengraph.html" . }}
|
||||||
|
{{template "_internal/twitter_cards.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -53,17 +53,11 @@
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/3.0.0/topojson.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/3.0.0/topojson.min.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- OGP Settings
|
<!-- OGP Settings –––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
|
||||||
<meta property="fb:app_id" content="951084758293113" />
|
<meta property="fb:app_id" content="951084758293113" />
|
||||||
<meta property="og:site_name" content="His Greatness Lies in His Sense of Responsibility" />
|
{{template "_internal/opengraph.html" . }}
|
||||||
<meta property="og:type" content="article" />
|
{{template "_internal/twitter_cards.html" . }}
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
|
||||||
<meta property="og:title" content="{{ .Title }}" />
|
|
||||||
{{ if .Params.image }}<meta property="og:image" content="{{ .Params.image }}" />{{ end }}
|
|
||||||
<meta property="og:locale" content="ja_JP" />
|
|
||||||
<meta property="og:description" content="{{ .Description }}" />
|
|
||||||
<meta property="article:publisher" content="https://www.facebook.com/kazu634" />
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue