diff --git a/Gemfile b/Gemfile index 65e4d63..1fb94db 100644 --- a/Gemfile +++ b/Gemfile @@ -6,4 +6,5 @@ gem 'jekyll', '3.8.5' group :jekyll_plugins do gem "jekyll-paginate-v2", "~> 1.7" gem 'jekyll-sitemap' + gem 'jekyll-last-modified-at' end \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 5b5c750..9b4ba35 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,7 +9,7 @@ GEM eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) eventmachine (1.2.7) - ffi (1.10.0) + ffi (1.11.1) forwardable-extended (2.6.0) http_parser.rb (0.6.0) i18n (0.9.5) @@ -27,13 +27,16 @@ GEM pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0) + jekyll-last-modified-at (1.1.0) + jekyll (>= 3.7, < 5.0) + posix-spawn (~> 0.3.9) jekyll-paginate-v2 (1.9.4) jekyll (~> 3.0) jekyll-sass-converter (1.5.2) sass (~> 3.4) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-watch (2.1.2) + jekyll-sitemap (1.3.1) + jekyll (>= 3.7, < 5.0) + jekyll-watch (2.2.1) listen (~> 3.0) kramdown (1.17.0) liquid (4.0.3) @@ -44,14 +47,15 @@ GEM mercenary (0.3.6) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (3.0.3) + posix-spawn (0.3.13) + public_suffix (3.1.1) rb-fsevent (0.10.3) rb-inotify (0.10.0) ffi (~> 1.0) - rouge (3.3.0) + rouge (3.8.0) ruby_dep (1.5.0) safe_yaml (1.0.5) - sass (3.7.3) + sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -62,8 +66,9 @@ PLATFORMS DEPENDENCIES jekyll (= 3.8.5) + jekyll-last-modified-at jekyll-paginate-v2 (~> 1.7) jekyll-sitemap BUNDLED WITH - 2.0.1 + 2.0.2 diff --git a/_config.yml b/_config.yml index 46f1b2b..dc50251 100644 --- a/_config.yml +++ b/_config.yml @@ -40,6 +40,7 @@ collections: plugins: - jekyll-paginate-v2 - jekyll-sitemap + - jekyll-last-modified-at # defaults diff --git a/_includes/SEO.html b/_includes/SEO.html index d6fe84c..1a9ded0 100644 --- a/_includes/SEO.html +++ b/_includes/SEO.html @@ -148,7 +148,7 @@ "inLanguage": "en_us", "headline": "an online radio station from Rotterdam", "dateCreated": "2017-02-13T15:11:10+0000", - "dateModified": "2018-01-15T16:11:48+0000", + "dateModified": "{{ page.last_modified_at | date_to_xmlschema }}", "datePublished": "2017-02-19T12:28:36+0000", "copyrightYear": "2017", "author": { diff --git a/_includes/highlightmetahead.html b/_includes/highlightmetahead.html index 6d2d0b0..718a435 100644 --- a/_includes/highlightmetahead.html +++ b/_includes/highlightmetahead.html @@ -11,7 +11,7 @@ - + @@ -176,7 +176,7 @@ "inLanguage": "en_us", "headline": "{{ site.tagline }}", "dateCreated": "{{ page.date }}", - "dateModified": "{{ site.time | date_to_xmlschema }}", + "dateModified": "{{ page.last_modified_at | date_to_xmlschema }}", "datePublished": "{{ page.date }}", "copyrightYear": "{{ site.time | date: "%Y" }}", "author": { diff --git a/_includes/metahead.html b/_includes/metahead.html index b5ec9ff..5148228 100644 --- a/_includes/metahead.html +++ b/_includes/metahead.html @@ -9,7 +9,7 @@