diff --git a/CHANGELOG.md b/CHANGELOG.md index fe3c6e99..6b99af6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [4.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.1) + +### Enhancements + +- Improve `paginator.html` to support paginated pages that live inside of a subfolder. See [documentation](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#home-page) for more details. [#764](https://github.com/mmistakes/minimal-mistakes/pull/764/) + +### Maintenance + +- Add `https` protocol to Google Universal Analytics embed. [#772](https://github.com/mmistakes/minimal-mistakes/pull/772) + ## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0) ### Enhancements diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 2409d61b..a8b60ced 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" -modified: 2016-12-12T15:20:20-05:00 +modified: 2017-01-24T10:52:47-05:00 --- {% include toc icon="columns" title="Included Layouts" %} @@ -183,6 +183,16 @@ paginate: 5 # amount of posts to show paginate_path: /page:num/ ``` +If you'd rather have a paginated page of posts reside in a subfolder instead of acting as your homepage make the following adjustments. + +Create `index.html` in the location you'd like. For example if I wanted it to live at **/blog** I'd create `/blog/index.html` with `layout: home` in its YAML Front Matter. + +Then adjust the `paginate_path` in **_config.yml** to match. + +```yaml +paginate_path: /blog/page:num +``` + **Note:** Jekyll can only paginate a single `index.html` file. If you'd like to paginate more pages (e.g. category indexes) you'll need the help of a custom plugin. For more pagination related settings check the [**Configuration**]({{ "/docs/configuration/#paginate" | absolute_url }}) section. {: .notice--info} diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 15cb5287..e380c49a 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,9 +4,19 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -modified: 2017-01-24T10:10:17-05:00 +modified: 2017-01-24T10:55:37-05:00 --- +## [4.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.1) + +### Enhancements + +- Improve `paginator.html` to support paginated pages that live inside of a subfolder. See [documentation](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#home-page) for more details. [#764](https://github.com/mmistakes/minimal-mistakes/pull/764/) + +### Maintenance + +- Add `https` protocol to Google Universal Analytics embed. [#772](https://github.com/mmistakes/minimal-mistakes/pull/772) + ## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0) ### Enhancements diff --git a/docs/_includes/page__hero.html b/docs/_includes/page__hero.html index ecc8d805..24488932 100644 --- a/docs/_includes/page__hero.html +++ b/docs/_includes/page__hero.html @@ -28,7 +28,7 @@ {% if page.header.overlay_color or page.header.overlay_image %}
" | remove: "
" }} @@ -50,4 +50,4 @@ {% if page.header.caption %} {{ page.header.caption | markdownify | remove: "" | remove: "
" }} {% endif %} -