diff options
| author | Mark Otto <[email protected]> | 2016-10-16 19:46:47 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-16 19:46:47 -0700 |
| commit | b4cdccba84f7681e2911d307828c5ce94c856736 (patch) | |
| tree | f8e1edddbd941adb255766889019248ffa399d0a /docs/_includes/social.html | |
| parent | 05bdecd0b09a007ae949f49fdff9006650c06969 (diff) | |
| parent | 6d6538fc81ebdb9e29ca5a5a4e8e5768b9358fe9 (diff) | |
| download | bootstrap-b4cdccba84f7681e2911d307828c5ce94c856736.tar.xz bootstrap-b4cdccba84f7681e2911d307828c5ce94c856736.zip | |
Merge branch 'v4-dev' into v4-navbars
Diffstat (limited to 'docs/_includes/social.html')
| -rw-r--r-- | docs/_includes/social.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/_includes/social.html b/docs/_includes/social.html new file mode 100644 index 000000000..c488ea610 --- /dev/null +++ b/docs/_includes/social.html @@ -0,0 +1,31 @@ +<!-- Twitter --> +<meta name="twitter:site" content="@{{ site.twitter }}"> +<meta name="twitter:creator" content="@{{ site.twitter }}"> + +{% if page.title %} + <meta name="twitter:card" content="summary"> + <meta name="twitter:title" content="{{ page.title }}"> + <meta name="twitter:description" content="{{ page.description }}"> + <meta name="twitter:image" content="{{ site.url }}{{ site.social_logo_path }}"> +{% else %} + <meta name="twitter:card" content="summary_large_image"> + <meta name="twitter:title" content="{{ site.title }}"> + <meta name="twitter:description" content="{{ site.description }}"> + <meta name="twitter:image" content="{{ site.url }}{{ site.social_image_path }}"> +{% endif %} + +<!-- Facebook --> +{% if page.title %} + <meta property="og:url" content="{{ site.url }}{{ page.url }}"> + <meta property="og:title" content="{{ page.title }}"> + <meta property="og:description" content="{{ page.description }}"> +{% else %} + <meta property="og:url" content="{{ site.url }}"> + <meta property="og:title" content="{{ site.title }}"> + <meta property="og:description" content="{{ site.description }}"> +{% endif %} +<meta property="og:image" content="{{ site.url }}{{ site.social_image_path }}"> + +<!-- Meta --> +<meta name="description" content="{{ site.description }}"> +<meta name="author" content="{{ site.authors }}"> |
