mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00

* descriptions for getting started pages * descriptions for layout * add content page descriptions * more descriptions, updates to some existing ones * correct site url * add social stuff to config for twitter cards * add twitter meta tags; use large image for homepage and regular card for all others * add the assets * more site config * more social shiz to partial, remove existing meta for the partial, remove page title from homepage for simpler if statements
31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
<!-- 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 }}">
|