Skip to content

Commit

Permalink
Fix ogp twitter card 2 (#277)
Browse files Browse the repository at this point in the history
* site => creator

* Remove duplicate metadatas in twitter card and ogp

* Fix

* Fix

* Fix og:type

ref https://ogp.me

* Fix og:site_name
  • Loading branch information
ikuwow authored Jun 16, 2021
1 parent 4d79d62 commit 2185eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/_meta_tags.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

<!-- ogp -->
<meta property="og:title" content="<%= title %>">
<meta property="og:type" content="<%= current_article.nil? ? 'article' : 'blog' %>">
<meta property="og:type" content="<%= current_article.nil? ? 'website' : 'article' %>">
<meta property="og:locale" content="ja_JP">
<meta property="og:site_name" content="<%= "#{app.config.blog_title} : #{app.config.blog_subtitle}" %>">
<meta property="og:site_name" content="<%= app.config.blog_title %>">
<meta property="og:image" content="<%= app.config.url_root + image_path('/img/ikuwow_200x200.png')%>">
<meta property="og:description" content="<%= description %>">
<meta property="article:publisher" content="ikuwow">
Expand Down

0 comments on commit 2185eff

Please sign in to comment.