Update header images
- Rename image.feature to header.image
|
@ -57,13 +57,15 @@
|
||||||
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
<meta name="twitter:description" content="{{ seo_description }}">
|
<meta name="twitter:description" content="{{ seo_description }}">
|
||||||
<meta name="twitter:url" content="{{ canonical_url }}">
|
<meta name="twitter:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
{% if page.image.feature %}
|
{% if page.header.image %}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="{{ page.image.feature | prepend: "/images/" | prepend: absurl }}">
|
<meta name="twitter:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: absurl }}{% endif %}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
<meta name="twitter:image" content="{% if page.image.thumb %}{{ page.image.thumb | prepend: "/images/" | prepend: absurl }}{% else %}{{ site.logo | prepend: "/images/" | prepend: absurl }}{% endif %}">
|
{% if site.logo %}
|
||||||
|
<meta name="twitter:image" content="{{ site.logo | prepend: "/images/" | prepend: absurl }}">
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if seo_author_twitter %}
|
{% if seo_author_twitter %}
|
||||||
|
@ -81,8 +83,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.image.feature %}
|
{% if page.header.image %}
|
||||||
<meta property="og:image" content="{{ page.image.feature | prepend: "/images/" | prepend: absurl }}">
|
<meta property="og:image" content="{% if page.header.image contains "http" %}{{ page.header.image }}{% else %}{{ page.header.image | prepend: "/images/" | prepend: absurl }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
|
|
|
@ -15,18 +15,17 @@ layout: compress
|
||||||
{% include browser-upgrade.html %}
|
{% include browser-upgrade.html %}
|
||||||
{% include navigation.html %}
|
{% include navigation.html %}
|
||||||
|
|
||||||
{% if page.image.feature %}
|
{% if page.header.image %}
|
||||||
<div class="image-wrap">
|
<div class="image-wrap">
|
||||||
<img src=
|
<img src=
|
||||||
{% if page.image.feature contains "http" %}
|
{% if page.header.image contains "http" %}
|
||||||
"{{ page.image.feature }}"
|
"{{ page.header.image }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ page.image.feature | prepend: "/images/" | prepend: absurl }}"
|
"{{ page.header.image | prepend: "/images/" | prepend: absurl }}"
|
||||||
"{{ page.image.feature | prepend: absurl }}"
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{{ page.title }}">
|
alt="{{ page.title }}">
|
||||||
{% if page.image.credit %}
|
{% if page.header.credit %}
|
||||||
<span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
|
<span class="image-credit">Photo Credit: <a href="{{ page.header.credit.url }}">{{ page.header.credit.caption }}</a></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div><!-- /.image-wrap -->
|
</div><!-- /.image-wrap -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
layout: home
|
layout: home
|
||||||
permalink: /
|
permalink: /
|
||||||
excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose."
|
excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose."
|
||||||
image:
|
header:
|
||||||
feature: sample-image-1.jpg
|
image: unsplash-image-7.jpg
|
||||||
credit: WeGraphics
|
credit:
|
||||||
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
|
caption: Unsplash
|
||||||
|
url: https://unsplash.com
|
||||||
---
|
---
|
|
@ -6,10 +6,6 @@ modified: 2016-01-19
|
||||||
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
|
excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes."
|
||||||
share: true
|
share: true
|
||||||
comments: true
|
comments: true
|
||||||
image:
|
|
||||||
feature: sample-image-3.jpg
|
|
||||||
credit: WeGraphics
|
|
||||||
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include toc.html %}
|
{% include toc.html %}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: "Template: Featured Image (External URL)"
|
title: "Template: Featured Image (External URL)"
|
||||||
date: 2012-03-15T15:15:12+00:00
|
date: 2012-03-15T15:15:12+00:00
|
||||||
|
header:
|
||||||
|
image: https://farm5.staticflickr.com/4140/4939863887_84705982fd_b.jpg
|
||||||
categories:
|
categories:
|
||||||
- Template
|
- Template
|
||||||
- Uncategorized
|
- Uncategorized
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
---
|
---
|
||||||
title: "Template: Featured Image (Horizontal)"
|
title: "Template: Featured Image (Horizontal)"
|
||||||
date: 2012-03-15T15:15:12+00:00
|
date: 2012-03-15T15:15:12+00:00
|
||||||
|
header:
|
||||||
|
image: unsplash-image-1.jpg
|
||||||
|
credit:
|
||||||
|
caption: Unsplash
|
||||||
|
url: https://unsplash.com
|
||||||
categories:
|
categories:
|
||||||
- Template
|
- Template
|
||||||
- Uncategorized
|
- Uncategorized
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
---
|
---
|
||||||
title: "Template: Featured Image And Text Readability"
|
title: "Template: Featured Image And Text Readability"
|
||||||
|
header:
|
||||||
|
image: unsplash-image-4.jpg
|
||||||
|
credit:
|
||||||
|
caption: Unsplash
|
||||||
|
url: https://unsplash.com
|
||||||
tags:
|
tags:
|
||||||
- sample post
|
- sample post
|
||||||
- readability
|
- readability
|
||||||
- test
|
- test
|
||||||
image:
|
|
||||||
feature: sample-image-4.jpg
|
|
||||||
credit: WeGraphics
|
|
||||||
creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This is a sample post with a large feature image[^1] up top and tons of text. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
|
This is a sample post with a large feature image[^1] up top and tons of text. Odio ad blue bottle vinyl, 90's narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney's. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
---
|
---
|
||||||
title: "Template: Featured Image (Vertical)"
|
title: "Template: Featured Image (Vertical)"
|
||||||
date: 2012-03-15T15:36:32+00:00
|
date: 2012-03-15T15:36:32+00:00
|
||||||
|
header:
|
||||||
|
image: unsplash-image-6.jpg
|
||||||
|
credit:
|
||||||
|
caption: Unsplash
|
||||||
|
url: https://unsplash.com
|
||||||
categories:
|
categories:
|
||||||
- Template
|
- Template
|
||||||
- Uncategorized
|
- Uncategorized
|
||||||
|
|
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
images/unsplash-image-1.jpg
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
images/unsplash-image-10.jpg
Normal file
After Width: | Height: | Size: 217 KiB |
BIN
images/unsplash-image-2.jpg
Normal file
After Width: | Height: | Size: 354 KiB |
BIN
images/unsplash-image-3.jpg
Normal file
After Width: | Height: | Size: 210 KiB |
BIN
images/unsplash-image-4.jpg
Normal file
After Width: | Height: | Size: 450 KiB |
BIN
images/unsplash-image-5.jpg
Normal file
After Width: | Height: | Size: 138 KiB |
BIN
images/unsplash-image-6.jpg
Normal file
After Width: | Height: | Size: 745 KiB |
BIN
images/unsplash-image-7.jpg
Normal file
After Width: | Height: | Size: 145 KiB |
BIN
images/unsplash-image-8.jpg
Normal file
After Width: | Height: | Size: 397 KiB |
BIN
images/unsplash-image-9.jpg
Normal file
After Width: | Height: | Size: 201 KiB |