Skip to content

Commit 511737f

Browse files
committed
fix(website/page): correct OGP values
1 parent a42d5fe commit 511737f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/_layouts/website/page.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
{{ super() }}
66
<meta name="theme-color" content="#d0ab6b">
77
<meta property="og:type" content="website">
8-
<meta property="og:image" content="https://o2project.github.io/steins-git/assets/images/share/ogp.jpg">
8+
<meta property="og:image" content="http://o2project.github.io/steins-git/images/share/ogp.jpg">
9+
<meta property="og:title"
10+
content="{% if page.fullTitle %}{{ page.fullTitle }}{% else %}{{ page.title }} · {{ config.title }}{% endif %}">
11+
<meta property="og:site_name" content="{{ config.title }}">
12+
<meta property="og:description"
13+
content="{% if page.description %}{{ page.description }}{% else %}{{ config.description }}{% endif %}">
14+
<meta property="og:url"
15+
content="{{ config.baseUrl }}/{{ file.path | replace(config.structure['readme'],'') | replace('README.md','') | replace('readme.md','') | replace('.md','.html')}}">
916
<meta property="og:locale" content="ja_JP" />
1017
<meta name="twitter:card" content="summary_large_image">
1118
<meta name="twitter:site" content="@kubosho_">
@@ -54,4 +61,4 @@
5461
{% block book_inner %}
5562
<a href="./" class="book-title">Steins;Git</a>
5663
{{ super() }}
57-
{% endblock %}
64+
{% endblock %}

0 commit comments

Comments
 (0)