diff --git a/_includes/seo.html b/_includes/seo.html index 1f3c17b5..f665eb46 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -57,13 +57,15 @@ - - {% if page.image.feature %} + + {% if page.header.image %} - + {% else %} - + {% if site.logo %} + + {% endif %} {% endif %} {% if seo_author_twitter %} @@ -81,8 +83,8 @@ {% endif %} {% endif %} -{% if page.image.feature %} - +{% if page.header.image %} + {% endif %} {% if page.date %} diff --git a/_layouts/default.html b/_layouts/default.html index 3e0f35ef..e4335ba5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,18 +15,17 @@ layout: compress {% include browser-upgrade.html %} {% include navigation.html %} - {% if page.image.feature %} + {% if page.header.image %}
{{ page.title }} - {% if page.image.credit %} - Photo Credit: {{ page.image.credit }} + {% if page.header.credit %} + Photo Credit: {{ page.header.credit.caption }} {% endif %}
{% endif %} diff --git a/_pages/home.md b/_pages/home.md index ebd1cdbd..4246e0e3 100644 --- a/_pages/home.md +++ b/_pages/home.md @@ -2,8 +2,9 @@ layout: home permalink: / excerpt: "A minimal Jekyll theme for your blog by designer Michael Rose." -image: - feature: sample-image-1.jpg - credit: WeGraphics - creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/ +header: + image: unsplash-image-7.jpg + credit: + caption: Unsplash + url: https://unsplash.com --- \ No newline at end of file diff --git a/_pages/theme-setup.md b/_pages/theme-setup.md index 3fe217f0..ab49dac2 100644 --- a/_pages/theme-setup.md +++ b/_pages/theme-setup.md @@ -6,10 +6,6 @@ modified: 2016-01-19 excerpt: "Instructions on how to install and customize the Jekyll theme Minimal Mistakes." share: true comments: true -image: - feature: sample-image-3.jpg - credit: WeGraphics - creditlink: http://wegraphics.net/downloads/free-ultimate-blurred-background-pack/ --- {% include toc.html %} diff --git a/_posts/2012-03-15-template-featured-image-external.md b/_posts/2012-03-15-template-featured-image-external.md index e3880f3d..d2ad1c0d 100644 --- a/_posts/2012-03-15-template-featured-image-external.md +++ b/_posts/2012-03-15-template-featured-image-external.md @@ -1,6 +1,8 @@ --- title: "Template: Featured Image (External URL)" date: 2012-03-15T15:15:12+00:00 +header: + image: https://farm5.staticflickr.com/4140/4939863887_84705982fd_b.jpg categories: - Template - Uncategorized diff --git a/_posts/2012-03-15-template-featured-image-horizontal.md b/_posts/2012-03-15-template-featured-image-horizontal.md index 1fc4b1f6..2530159f 100644 --- a/_posts/2012-03-15-template-featured-image-horizontal.md +++ b/_posts/2012-03-15-template-featured-image-horizontal.md @@ -1,6 +1,11 @@ --- title: "Template: Featured Image (Horizontal)" date: 2012-03-15T15:15:12+00:00 +header: + image: unsplash-image-1.jpg + credit: + caption: Unsplash + url: https://unsplash.com categories: - Template - Uncategorized diff --git a/_posts/2012-03-15-template-featured-image-text-readability.md b/_posts/2012-03-15-template-featured-image-text-readability.md index 209bf262..9f73aed6 100644 --- a/_posts/2012-03-15-template-featured-image-text-readability.md +++ b/_posts/2012-03-15-template-featured-image-text-readability.md @@ -1,13 +1,14 @@ --- title: "Template: Featured Image And Text Readability" +header: + image: unsplash-image-4.jpg + credit: + caption: Unsplash + url: https://unsplash.com tags: - sample post - readability - 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. diff --git a/_posts/2012-03-15-template-featured-image-vertical.md b/_posts/2012-03-15-template-featured-image-vertical.md index bc57d3b3..169ae676 100644 --- a/_posts/2012-03-15-template-featured-image-vertical.md +++ b/_posts/2012-03-15-template-featured-image-vertical.md @@ -1,6 +1,11 @@ --- title: "Template: Featured Image (Vertical)" date: 2012-03-15T15:36:32+00:00 +header: + image: unsplash-image-6.jpg + credit: + caption: Unsplash + url: https://unsplash.com categories: - Template - Uncategorized diff --git a/images/sample-image-1.jpg b/images/sample-image-1.jpg deleted file mode 100644 index f5a48689..00000000 Binary files a/images/sample-image-1.jpg and /dev/null differ diff --git a/images/sample-image-2.jpg b/images/sample-image-2.jpg deleted file mode 100644 index a488f51d..00000000 Binary files a/images/sample-image-2.jpg and /dev/null differ diff --git a/images/sample-image-3.jpg b/images/sample-image-3.jpg deleted file mode 100644 index 4a407329..00000000 Binary files a/images/sample-image-3.jpg and /dev/null differ diff --git a/images/sample-image-4.jpg b/images/sample-image-4.jpg deleted file mode 100644 index 25949dcd..00000000 Binary files a/images/sample-image-4.jpg and /dev/null differ diff --git a/images/sample-image-5.jpg b/images/sample-image-5.jpg deleted file mode 100644 index f394007d..00000000 Binary files a/images/sample-image-5.jpg and /dev/null differ diff --git a/images/sample-image-6.jpg b/images/sample-image-6.jpg deleted file mode 100644 index 062e07cf..00000000 Binary files a/images/sample-image-6.jpg and /dev/null differ diff --git a/images/sample-image-7.jpg b/images/sample-image-7.jpg deleted file mode 100644 index 90432aa0..00000000 Binary files a/images/sample-image-7.jpg and /dev/null differ diff --git a/images/site-logo.png b/images/site-logo.png index 850df3e2..726dea35 100644 Binary files a/images/site-logo.png and b/images/site-logo.png differ diff --git a/images/unsplash-image-1.jpg b/images/unsplash-image-1.jpg new file mode 100644 index 00000000..5d9b903f Binary files /dev/null and b/images/unsplash-image-1.jpg differ diff --git a/images/unsplash-image-10.jpg b/images/unsplash-image-10.jpg new file mode 100644 index 00000000..bf40059b Binary files /dev/null and b/images/unsplash-image-10.jpg differ diff --git a/images/unsplash-image-2.jpg b/images/unsplash-image-2.jpg new file mode 100644 index 00000000..1557c4c8 Binary files /dev/null and b/images/unsplash-image-2.jpg differ diff --git a/images/unsplash-image-3.jpg b/images/unsplash-image-3.jpg new file mode 100644 index 00000000..44b9bc23 Binary files /dev/null and b/images/unsplash-image-3.jpg differ diff --git a/images/unsplash-image-4.jpg b/images/unsplash-image-4.jpg new file mode 100644 index 00000000..9181a4f3 Binary files /dev/null and b/images/unsplash-image-4.jpg differ diff --git a/images/unsplash-image-5.jpg b/images/unsplash-image-5.jpg new file mode 100644 index 00000000..51718d64 Binary files /dev/null and b/images/unsplash-image-5.jpg differ diff --git a/images/unsplash-image-6.jpg b/images/unsplash-image-6.jpg new file mode 100644 index 00000000..3ae55ae2 Binary files /dev/null and b/images/unsplash-image-6.jpg differ diff --git a/images/unsplash-image-7.jpg b/images/unsplash-image-7.jpg new file mode 100644 index 00000000..d342191d Binary files /dev/null and b/images/unsplash-image-7.jpg differ diff --git a/images/unsplash-image-8.jpg b/images/unsplash-image-8.jpg new file mode 100644 index 00000000..2cb9e699 Binary files /dev/null and b/images/unsplash-image-8.jpg differ diff --git a/images/unsplash-image-9.jpg b/images/unsplash-image-9.jpg new file mode 100644 index 00000000..914b840d Binary files /dev/null and b/images/unsplash-image-9.jpg differ