diff --git a/_layouts/single.html b/_layouts/single.html index fd0e89be..826e9b17 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -21,7 +21,7 @@ layout: default {% if page.title %}{% endif %} {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} - {% if page.modified %}{% endif %} + {% if page.last_modified_at %}{% endif %}
{% unless page.header.overlay_color or page.header.overlay_image %} @@ -43,8 +43,8 @@ layout: default

{{ site.data.ui-text[site.locale].meta_label }}

{% endif %} {% include page__taxonomy.html %} - {% if page.modified %} -

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

+ {% if page.last_modified_at %} +

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

{% elsif page.date %}

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

{% endif %} diff --git a/_layouts/splash.html b/_layouts/splash.html index 29528ad8..c9cc6998 100644 --- a/_layouts/splash.html +++ b/_layouts/splash.html @@ -13,7 +13,7 @@ layout: default {% if page.title %}{% endif %} {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} - {% if page.modified %}{% endif %} + {% if page.last_modified_at %}{% endif %}
{{ content }} diff --git a/docs/_docs/01-quick-start-guide.md b/docs/_docs/01-quick-start-guide.md index 134ced3e..5bf2f6d2 100644 --- a/docs/_docs/01-quick-start-guide.md +++ b/docs/_docs/01-quick-start-guide.md @@ -2,7 +2,7 @@ title: "Quick-Start Guide" permalink: /docs/quick-start-guide/ excerpt: "How to quickly install and setup Minimal Mistakes for use with GitHub Pages." -modified: 2016-11-03T10:01:43-04:00 +last_modified_at: 2016-11-03T10:01:43-04:00 redirect_from: - /theme-setup/ --- diff --git a/docs/_docs/02-structure.md b/docs/_docs/02-structure.md index e757e604..26e4d5e9 100644 --- a/docs/_docs/02-structure.md +++ b/docs/_docs/02-structure.md @@ -2,7 +2,7 @@ title: "Structure" permalink: /docs/structure/ excerpt: "How the theme is organized and what all of the files are for." -modified: 2016-10-06T22:39:43-04:00 +last_modified_at: 2016-10-06T22:39:43-04:00 --- Nothing clever here :wink:. Layouts, data files, and includes are all placed in their default locations. Stylesheets and scripts in `assets`, and a few development related files in the project's root directory. diff --git a/docs/_docs/03-installation.md b/docs/_docs/03-installation.md index edd60b03..89106b38 100644 --- a/docs/_docs/03-installation.md +++ b/docs/_docs/03-installation.md @@ -2,7 +2,7 @@ title: "Installation" permalink: /docs/installation/ excerpt: "Instructions for installing the theme for new and existing Jekyll based sites." -modified: 2016-11-03T10:13:32-04:00 +last_modified_at: 2016-11-03T10:13:32-04:00 --- ## Install the Theme diff --git a/docs/_docs/04-upgrading.md b/docs/_docs/04-upgrading.md index d3945a74..e2aac7d8 100644 --- a/docs/_docs/04-upgrading.md +++ b/docs/_docs/04-upgrading.md @@ -2,7 +2,7 @@ title: "Upgrading" permalink: /docs/upgrading/ excerpt: "Instructions and suggestions for upgrading the theme." -modified: 2016-11-03T10:16:34-04:00 +last_modified_at: 2016-11-03T10:16:34-04:00 --- If you're using the Ruby Gem version of the theme upgrading is fairly painless. diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index c9df3f64..25c32eff 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -2,7 +2,7 @@ title: "Configuration" permalink: /docs/configuration/ excerpt: "Settings for configuring and customizing the theme." -modified: 2016-11-29T08:44:22-05:00 +last_modified_at: 2016-11-29T08:44:22-05:00 --- Settings that affect your entire site can be changed in [Jekyll's configuration file](https://jekyllrb.com/docs/configuration/): `_config.yml`, found in the root of your project. If you don't have this file you'll need to copy or create one using the theme's [default `_config.yml`](https://github.com/mmistakes/minimal-mistakes/blob/master/_config.yml) as a base. diff --git a/docs/_docs/06-overriding-theme-defaults.md b/docs/_docs/06-overriding-theme-defaults.md index 48bf86e4..17329112 100644 --- a/docs/_docs/06-overriding-theme-defaults.md +++ b/docs/_docs/06-overriding-theme-defaults.md @@ -2,7 +2,7 @@ title: "Overriding Theme Defaults" permalink: /docs/overriding-theme-defaults/ excerpt: "Instructions on how to customize the theme's default set of layouts, includes, and stylesheets when using the Ruby Gem version." -modified: 2016-11-03T10:49:48-04:00 +last_modified_at: 2016-11-03T10:49:48-04:00 --- When installing the theme as a Ruby Gem its layouts, includes, stylesheets, and other assets are all bundled in the `gem`. Meaning they're not easily visible in your project. diff --git a/docs/_docs/07-navigation.md b/docs/_docs/07-navigation.md index 087aa27e..f254c64c 100644 --- a/docs/_docs/07-navigation.md +++ b/docs/_docs/07-navigation.md @@ -2,7 +2,7 @@ title: "Navigation" permalink: /docs/navigation/ excerpt: "Instructions on how to customize the main navigation and enabling breadcrumb links." -modified: 2016-11-03T10:50:03-04:00 +last_modified_at: 2016-11-03T10:50:03-04:00 --- ## Masthead diff --git a/docs/_docs/08-ui-text.md b/docs/_docs/08-ui-text.md index 20630aa5..2d70aea1 100644 --- a/docs/_docs/08-ui-text.md +++ b/docs/_docs/08-ui-text.md @@ -2,7 +2,7 @@ title: "UI Text" permalink: /docs/ui-text/ excerpt: "Text for customizing various user interface elements found in the theme." -modified: 2017-02-14T14:13:24-05:00 +last_modified_at: 2017-02-14T14:13:24-05:00 --- Text for various UI elements, `_layouts`, and `_includes` have all been grouped together as a set of translation keys. This is by no means a full-on i18n solution, but it does help make customizing things a bit easier. diff --git a/docs/_docs/09-authors.md b/docs/_docs/09-authors.md index df23c1ef..6521d79d 100644 --- a/docs/_docs/09-authors.md +++ b/docs/_docs/09-authors.md @@ -2,7 +2,7 @@ title: "Authors" permalink: /docs/authors/ excerpt: "Instructions and settings for working with multiple site authors." -modified: 2016-11-03T10:55:15-04:00 +last_modified_at: 2016-11-03T10:55:15-04:00 --- Sites that may have content authored from various individuals can be accommodated by using [data files](https://jekyllrb.com/docs/datafiles/). diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 3213cde7..724e78cb 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: 2017-02-24T15:23:34-05:00 +last_modified_at: 2017-02-24T15:23:34-05:00 --- {% include toc icon="columns" title="Included Layouts" %} diff --git a/docs/_docs/11-posts.md b/docs/_docs/11-posts.md index f92c5cfb..f8126291 100644 --- a/docs/_docs/11-posts.md +++ b/docs/_docs/11-posts.md @@ -2,7 +2,7 @@ title: "Working with Posts" permalink: /docs/posts/ excerpt: "Suggestions and Front Matter defaults for working with posts." -modified: 2016-11-03T11:12:40-04:00 +last_modified_at: 2016-11-03T11:12:40-04:00 --- Posts are stored in the `_posts` directory and named according to the `YEAR-MONTH-DAY-title.MARKUP` format as per [the usual](https://jekyllrb.com/docs/posts/). diff --git a/docs/_docs/12-pages.md b/docs/_docs/12-pages.md index 41c7258b..01aa62f4 100644 --- a/docs/_docs/12-pages.md +++ b/docs/_docs/12-pages.md @@ -2,7 +2,7 @@ title: "Working with Pages" permalink: /docs/pages/ excerpt: "Suggestions and Front Matter defaults for working with pages." -modified: 2016-11-03T11:13:12-04:00 +last_modified_at: 2016-11-03T11:13:12-04:00 --- To better organize all of your pages you can centralize them into a single location similar to posts and collections. diff --git a/docs/_docs/13-collections.md b/docs/_docs/13-collections.md index 1cb112eb..cfa568b4 100644 --- a/docs/_docs/13-collections.md +++ b/docs/_docs/13-collections.md @@ -2,7 +2,7 @@ title: "Working with Collections" permalink: /docs/collections/ excerpt: "Suggestions and Front Matter defaults for working with collections." -modified: 2016-11-03T11:13:38-04:00 +last_modified_at: 2016-11-03T11:13:38-04:00 --- Collections like posts and pages work as you'd expect. If you're new to them be sure to read [Jekyll's documentation](https://jekyllrb.com/docs/collections/). diff --git a/docs/_docs/14-helpers.md b/docs/_docs/14-helpers.md index 1d6702d8..64624396 100644 --- a/docs/_docs/14-helpers.md +++ b/docs/_docs/14-helpers.md @@ -30,7 +30,7 @@ feature_row: - image_path: /assets/images/unsplash-gallery-image-3-th.jpg title: "Placeholder 3" excerpt: "This is some sample content that goes here with **Markdown** formatting." -modified: 2016-11-15T12:11:48-05:00 +last_modified_at: 2016-11-15T12:11:48-05:00 --- {% include toc icon="gears" title="Helpers" %} diff --git a/docs/_docs/15-utility-classes.md b/docs/_docs/15-utility-classes.md index b76565ef..76c262e8 100644 --- a/docs/_docs/15-utility-classes.md +++ b/docs/_docs/15-utility-classes.md @@ -2,7 +2,7 @@ title: "Utility Classes" permalink: /docs/utility-classes/ excerpt: "CSS classes for aligning text/image, styling buttons and notices, and more." -modified: 2016-11-03T11:32:25-04:00 +last_modified_at: 2016-11-03T11:32:25-04:00 --- {% include toc icon="gears" title="Utility Classes" %} diff --git a/docs/_docs/16-stylesheets.md b/docs/_docs/16-stylesheets.md index b1360884..86eb0bcb 100644 --- a/docs/_docs/16-stylesheets.md +++ b/docs/_docs/16-stylesheets.md @@ -2,7 +2,7 @@ title: "Stylesheets" permalink: /docs/stylesheets/ excerpt: "Instructions for customizing and building the theme's stylesheets." -modified: 2016-11-03T11:34:42-04:00 +last_modified_at: 2016-11-03T11:34:42-04:00 --- The theme's `assets/css/main.css` file is built from several SCSS partials located in [`_sass/`](https://github.com/mmistakes/minimal-mistakes/tree/master/_sass) and is structured as follows: diff --git a/docs/_docs/17-javascript.md b/docs/_docs/17-javascript.md index f2a8f779..99ec537c 100644 --- a/docs/_docs/17-javascript.md +++ b/docs/_docs/17-javascript.md @@ -2,7 +2,7 @@ title: "JavaScript" permalink: /docs/javascript/ excerpt: "Instructions for customizing and building the theme's scripts." -modified: 2016-11-03T11:35:42-04:00 +last_modified_at: 2016-11-03T11:35:42-04:00 --- The theme's [`assets/js/main.min.js`] script is built from several vendor, jQuery plugins, and other scripts found in [`assets/js/`](https://github.com/mmistakes/minimal-mistakes/tree/master/assets/js). diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 05ddbb79..b9d99992 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,7 +4,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -modified: 2017-03-27T08:24:24-04:00 +last_modified_at: 2017-03-27T08:24:24-04:00 --- ## Unreleased diff --git a/docs/_docs/19-contributing.md b/docs/_docs/19-contributing.md index a3689efd..7fb49592 100644 --- a/docs/_docs/19-contributing.md +++ b/docs/_docs/19-contributing.md @@ -2,7 +2,7 @@ title: "Contributing" permalink: /docs/contributing/ excerpt: "How you can contribute to make this theme better." -modified: 2017-03-22T09:51:05-04:00 +last_modified_at: 2017-03-22T09:51:05-04:00 --- Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first. diff --git a/docs/_docs/20-docs-2-2.md b/docs/_docs/20-docs-2-2.md index c5393e2b..e5d5a268 100644 --- a/docs/_docs/20-docs-2-2.md +++ b/docs/_docs/20-docs-2-2.md @@ -2,7 +2,7 @@ title: "2.2 Documentation" permalink: /docs/docs-2-2/ excerpt: "Setup and installation instructions for Minimal Mistakes 2.2 (deprecated)." -modified: 2016-04-13T15:54:02-04:00 +last_modified_at: 2016-04-13T15:54:02-04:00 --- {% include toc %} diff --git a/docs/_docs/21-license.md b/docs/_docs/21-license.md index 234b53a4..316b54e9 100644 --- a/docs/_docs/21-license.md +++ b/docs/_docs/21-license.md @@ -2,7 +2,7 @@ title: "License" permalink: /docs/license/ excerpt: "License for Minimal Mistakes Jekyll Theme." -modified: 2016-04-13T15:05:12-04:00 +last_modified_at: 2016-04-13T15:05:12-04:00 --- The MIT License (MIT) diff --git a/docs/_layouts/single.html b/docs/_layouts/single.html index fd0e89be..826e9b17 100644 --- a/docs/_layouts/single.html +++ b/docs/_layouts/single.html @@ -21,7 +21,7 @@ layout: default {% if page.title %}{% endif %} {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} - {% if page.modified %}{% endif %} + {% if page.last_modified_at %}{% endif %}
{% unless page.header.overlay_color or page.header.overlay_image %} @@ -43,8 +43,8 @@ layout: default

{{ site.data.ui-text[site.locale].meta_label }}

{% endif %} {% include page__taxonomy.html %} - {% if page.modified %} -

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

+ {% if page.last_modified_at %} +

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

{% elsif page.date %}

{{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}

{% endif %} diff --git a/docs/_layouts/splash.html b/docs/_layouts/splash.html index 29528ad8..c9cc6998 100644 --- a/docs/_layouts/splash.html +++ b/docs/_layouts/splash.html @@ -13,7 +13,7 @@ layout: default {% if page.title %}{% endif %} {% if page.excerpt %}{% endif %} {% if page.date %}{% endif %} - {% if page.modified %}{% endif %} + {% if page.last_modified_at %}{% endif %}
{{ content }} diff --git a/docs/_pages/about.md b/docs/_pages/about.md index e3735e4d..919b85f7 100644 --- a/docs/_pages/about.md +++ b/docs/_pages/about.md @@ -12,7 +12,7 @@ layouts_gallery: - url: /assets/images/mm-layout-archive.png image_path: /assets/images/mm-layout-archive.png alt: "archive layout example" -modified: 2017-02-14T14:28:13-05:00 +last_modified_at: 2017-02-14T14:28:13-05:00 --- Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:. diff --git a/docs/_pages/terms.md b/docs/_pages/terms.md index f13cc791..dff6b2cc 100644 --- a/docs/_pages/terms.md +++ b/docs/_pages/terms.md @@ -1,7 +1,7 @@ --- permalink: /terms/ title: "Terms and Privacy Policy" -modified: 2016-11-03T11:57:46-04:00 +last_modified_at: 2016-11-03T11:57:46-04:00 --- {% include toc %} diff --git a/docs/_posts/2010-01-07-post-modified.md b/docs/_posts/2010-01-07-post-modified.md index b7457e23..382b9804 100644 --- a/docs/_posts/2010-01-07-post-modified.md +++ b/docs/_posts/2010-01-07-post-modified.md @@ -1,6 +1,6 @@ --- title: "Post: Modified Date" -modified: 2016-03-09T16:20:02-05:00 +last_modified_at: 2016-03-09T16:20:02-05:00 categories: - Post Formats tags: diff --git a/docs/_posts/2012-03-15-layout-header-overlay-image.md b/docs/_posts/2012-03-15-layout-header-overlay-image.md index 80c39c42..11ecba0e 100644 --- a/docs/_posts/2012-03-15-layout-header-overlay-image.md +++ b/docs/_posts/2012-03-15-layout-header-overlay-image.md @@ -11,7 +11,7 @@ tags: - edge case - image - layout -modified: 2016-11-03T11:45:09-04:00 +last_modified_at: 2016-11-03T11:45:09-04:00 --- This post should display a **header with an overlay image**, if the theme supports it. diff --git a/docs/_posts/2013-08-16-markup-syntax-highlighting.md b/docs/_posts/2013-08-16-markup-syntax-highlighting.md index 86582c58..d62729b6 100644 --- a/docs/_posts/2013-08-16-markup-syntax-highlighting.md +++ b/docs/_posts/2013-08-16-markup-syntax-highlighting.md @@ -1,7 +1,7 @@ --- title: "Markup: Syntax Highlighting" excerpt: "Post displaying the various ways of highlighting code in Markdown." -modified: 2016-09-09T09:55:10-04:00 +last_modified_at: 2016-09-09T09:55:10-04:00 header: teaser: "assets/images/markup-syntax-highlighting-teaser.jpg" tags: diff --git a/docs/_posts/2016-09-21-gemified-theme-alpha.md b/docs/_posts/2016-09-21-gemified-theme-alpha.md index 2dfeea1d..87917fb6 100644 --- a/docs/_posts/2016-09-21-gemified-theme-alpha.md +++ b/docs/_posts/2016-09-21-gemified-theme-alpha.md @@ -1,6 +1,6 @@ --- title: "Gemified Theme -- Alpha Release" -modified: 2016-11-03T11:46:00-04:00 +last_modified_at: 2016-11-03T11:46:00-04:00 categories: - Jekyll tags: diff --git a/docs/_posts/2016-10-06-gemified-theme-beta.md b/docs/_posts/2016-10-06-gemified-theme-beta.md index 88adb554..5ab3b9a0 100644 --- a/docs/_posts/2016-10-06-gemified-theme-beta.md +++ b/docs/_posts/2016-10-06-gemified-theme-beta.md @@ -1,6 +1,6 @@ --- title: "Gemified Theme -- Beta Release" -modified: 2016-11-03T11:45:04-04:00 +last_modified_at: 2016-11-03T11:45:04-04:00 categories: - Jekyll tags: diff --git a/test/_pages/terms.md b/test/_pages/terms.md index 410a7422..72aaf0fa 100644 --- a/test/_pages/terms.md +++ b/test/_pages/terms.md @@ -1,7 +1,7 @@ --- permalink: /terms/ title: "Terms and Privacy Policy" -modified: 2016-06-06 +last_modified_at: 2016-06-06 --- {% include base_path %} diff --git a/test/_posts/2010-01-07-post-modified.md b/test/_posts/2010-01-07-post-modified.md index b7457e23..382b9804 100644 --- a/test/_posts/2010-01-07-post-modified.md +++ b/test/_posts/2010-01-07-post-modified.md @@ -1,6 +1,6 @@ --- title: "Post: Modified Date" -modified: 2016-03-09T16:20:02-05:00 +last_modified_at: 2016-03-09T16:20:02-05:00 categories: - Post Formats tags: diff --git a/test/_posts/2012-03-15-layout-header-overlay-image.md b/test/_posts/2012-03-15-layout-header-overlay-image.md index 155423da..feaadd5a 100644 --- a/test/_posts/2012-03-15-layout-header-overlay-image.md +++ b/test/_posts/2012-03-15-layout-header-overlay-image.md @@ -11,7 +11,7 @@ tags: - edge case - image - layout -modified: 2016-05-02T11:39:01-04:00 +last_modified_at: 2016-05-02T11:39:01-04:00 --- {% include base_path %} diff --git a/test/_posts/2013-08-16-markup-syntax-highlighting.md b/test/_posts/2013-08-16-markup-syntax-highlighting.md index 86582c58..d62729b6 100644 --- a/test/_posts/2013-08-16-markup-syntax-highlighting.md +++ b/test/_posts/2013-08-16-markup-syntax-highlighting.md @@ -1,7 +1,7 @@ --- title: "Markup: Syntax Highlighting" excerpt: "Post displaying the various ways of highlighting code in Markdown." -modified: 2016-09-09T09:55:10-04:00 +last_modified_at: 2016-09-09T09:55:10-04:00 header: teaser: "assets/images/markup-syntax-highlighting-teaser.jpg" tags: