From e071c22709c105238b98b92af4f29fbac78836c9 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Tue, 22 Sep 2020 21:31:46 +0100 Subject: [PATCH] Updated Gems and the single layout --- Gemfile.lock | 26 +++++++++++++------------- _layouts/single.html | 16 ++-------------- 2 files changed, 15 insertions(+), 27 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f7819d3..8732f5c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - activesupport (6.0.3.1) + activesupport (6.0.3.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) @@ -10,7 +10,7 @@ GEM addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) colorator (1.1.0) - concurrent-ruby (1.1.6) + concurrent-ruby (1.1.7) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) @@ -20,13 +20,13 @@ GEM ffi (1.13.1) forwardable-extended (2.6.0) gemoji (3.0.1) - html-pipeline (2.13.0) + html-pipeline (2.14.0) activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.6.0) - i18n (1.8.3) + i18n (1.8.5) concurrent-ruby (~> 1.0) - jekyll (4.1.0) + jekyll (4.1.1) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -45,7 +45,7 @@ GEM jekyll (>= 3.6, < 5.0) jekyll-compose (0.12.0) jekyll (>= 3.7, < 5.0) - jekyll-feed (0.13.0) + jekyll-feed (0.15.0) jekyll (>= 3.7, < 5.0) jekyll-gist (1.5.0) octokit (~> 4.2) @@ -62,7 +62,7 @@ GEM gemoji (~> 3.0) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - kramdown (2.2.1) + kramdown (2.3.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) @@ -74,28 +74,28 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) mini_portile2 (2.4.0) - minimal-mistakes-jekyll (4.19.3) + minimal-mistakes-jekyll (4.20.2) jekyll (>= 3.7, < 5.0) jekyll-feed (~> 0.1) jekyll-gist (~> 1.5) jekyll-include-cache (~> 0.1) jekyll-paginate (~> 1.1) jekyll-sitemap (~> 1.3) - minitest (5.14.1) + minitest (5.14.2) multipart-post (2.1.1) - nokogiri (1.10.9) + nokogiri (1.10.10) mini_portile2 (~> 2.4.0) octokit (4.18.0) faraday (>= 0.9) sawyer (~> 0.8.0, >= 0.5.3) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.5) + public_suffix (4.0.6) rb-fsevent (0.10.4) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.4) - rouge (3.20.0) + rouge (3.23.0) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) @@ -108,7 +108,7 @@ GEM tzinfo (1.2.7) thread_safe (~> 0.1) unicode-display_width (1.7.0) - zeitwerk (2.3.0) + zeitwerk (2.4.0) PLATFORMS ruby diff --git a/_layouts/single.html b/_layouts/single.html index 5197d55..71cb4e8 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -27,15 +27,7 @@ layout: default {% unless page.header.overlay_color or page.header.overlay_image %}
{% if page.title %}

{{ page.title | markdownify | remove: "

" | remove: "

" }}

{% endif %} - {% if page.read_time %} -

{% include read-time.html %}

- {% endif %} - {% if page.last_modified_at %} -

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

- {% elsif page.date %} -

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

- {% endif %} - + {% include page__meta.html %}
{% endunless %} @@ -57,11 +49,7 @@ layout: default

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

{% endif %} {% include page__taxonomy.html %} - {% 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 %} + {% include page__date.html %} {% if page.share %}{% include social-share.html %}{% endif %}