Created
July 12, 2018 01:53
-
-
Save Lanace/ee6897c33b38de4b58662da08e1c6d0a to your computer and use it in GitHub Desktop.
Jekyll에 default.html에다 open graph 적용하기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="utf-8"> | |
<title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title> | |
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %} | |
{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %} | |
{% if page.author %} | |
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %} | |
{% endif %} | |
{% include open-graph.html %} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment