From b1a5a141730852c5f095eca119d331046fbeccf7 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 5 Jul 2017 15:45:50 -0400 Subject: [PATCH] Improve documentation for grid view --- CHANGELOG.md | 2 ++ docs/_docs/10-layouts.md | 9 ++++++++- docs/_docs/18-history.md | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98099fea..ff22a87f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,11 +12,13 @@ - Toggle close button on `mouseleave`. [#975](https://github.com/mmistakes/minimal-mistakes/issues/975) - Remove extraneous `` and `` tags from `paginator.html` include. [#1038](https://github.com/mmistakes/minimal-mistakes/pull/1038) - Fix Google+ comments provider includes. [#1092](https://github.com/mmistakes/minimal-mistakes/issues/1092) +- Replace category variable used in `_includes/breadcrumbs.html` to `site.category_archive` to avoid conflicts with `site.categories`. [#1063](https://github.com/mmistakes/minimal-mistakes/pull/1063) [#329](https://github.com/mmistakes/minimal-mistakes/issues/329) ### Maintenance - Add mention of Greek localized UI text strings to theme documentation. [#972](https://github.com/mmistakes/minimal-mistakes/pull/972) - Update Greek localized UI text strings. [#1054](https://github.com/mmistakes/minimal-mistakes/pull/1054) +- Add documentation for adding teaser images in grid view using `header.teaser`. ## [4.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.1) diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 724e78cb..5285fcf0 100644 --- a/docs/_docs/10-layouts.md +++ b/docs/_docs/10-layouts.md @@ -7,7 +7,7 @@ single_layout_gallery: alt: "single layout with header example" - image_path: /assets/images/mm-layout-single-meta.png alt: "single layout with comments and related posts" -last_modified_at: 2017-02-24T15:23:34-05:00 +last_modified_at: 2017-07-05T15:41:36-04:00 --- {% include toc icon="columns" title="Included Layouts" %} @@ -150,6 +150,13 @@ To produce something like this:
Grid view example.
+Teaser images are assigned similar to header images using the following YAML Front Matter: + +```yaml +header: + teaser: path-to-teaser-image.jpg +``` + **Note:** More information on using this `_include` can be found under [**Helpers**]({{ "/docs/helpers/" | absolute_url }}). {: .notice--info} diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 8bf6d043..0b4401fe 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -21,11 +21,13 @@ last_modified_at: 2017-07-05T12:26:23-04:00 - Toggle close button on `mouseleave`. [#975](https://github.com/mmistakes/minimal-mistakes/issues/975) - Remove extraneous `` and `` tags from `paginator.html` include. [#1038](https://github.com/mmistakes/minimal-mistakes/pull/1038) - Fix Google+ comments provider includes. [#1092](https://github.com/mmistakes/minimal-mistakes/issues/1092) +- Replace category variable used in `_includes/breadcrumbs.html` to `site.category_archive` to avoid conflicts with `site.categories`. [#1063](https://github.com/mmistakes/minimal-mistakes/pull/1063) [#329](https://github.com/mmistakes/minimal-mistakes/issues/329) ### Maintenance - Add mention of Greek localized UI text strings to theme documentation. [#972](https://github.com/mmistakes/minimal-mistakes/pull/972) - Update Greek localized UI text strings. [#1054](https://github.com/mmistakes/minimal-mistakes/pull/1054) +- Add documentation for adding teaser images in grid view using `header.teaser`. ## [4.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.1)