Skip to content

Commit

Permalink
share image 이름 변경 및 head 정보 더 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
iamleejihye committed Nov 5, 2017
1 parent fffaf61 commit 1c42a71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@

<meta property="og:site_name" content="{{ site.title }}">

<meta property="og:image" content="{% if page.post-header == true or page.project-header == true %}{{ site.url }}{{ page.url }}{{ page.header-img }}{% else %}{{ site.url }}{{ '/img/preview.jpg'}}{% endif %}">
<meta property="fb:app_id" content="1607605225977118" />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />

<meta property="twitter:image" content="{% if page.post-header == true or page.project-header == true %}{{ site.url }}{{ page.url }}{{ page.header-img }}{% else %}{{ site.url }}{{ '/img/preview.jpg'}}{% endif %}">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="{% if page.post-header == true or page.project-header == true %}{{ site.url }}{{ page.url }}{{ page.header-img }}{% else %}{{ site.url }}{{ '/img/share-img.jpg/'}}{% endif %}">

<meta name="twitter:card" content="summary_large_image">

<!-- title -->
<meta property="og:title" content="{% if page.url == '/' %}{{ page.subtitle}}{% else %}{{ page.title }}{% endif %}">
Expand Down
File renamed without changes

0 comments on commit 1c42a71

Please sign in to comment.