From 59ef82665f29e8ca97bf71a5f7afab2d25c5dc13 Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Sat, 25 Apr 2020 10:46:53 +0200 Subject: [PATCH] minor tweaks --- Gemfile | 1 + Gemfile.lock | 4 +++ _config.yml | 2 ++ _includes/common/head.html | 50 ++++++++++---------------------------- 4 files changed, 20 insertions(+), 37 deletions(-) diff --git a/Gemfile b/Gemfile index 8e7ddbe..4b9479f 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ gem "minima", "~> 2.5" # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" + gem 'jekyll-build-notifier' end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 1026363..ce61817 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,6 +29,8 @@ GEM rouge (~> 3.0) safe_yaml (~> 1.0) terminal-table (~> 1.8) + jekyll-build-notifier (0.2) + terminal-notifier jekyll-feed (0.12.1) jekyll (>= 3.7, < 5.0) jekyll-sass-converter (2.0.1) @@ -59,6 +61,7 @@ GEM safe_yaml (1.0.5) sassc (2.2.1) ffi (~> 1.9) + terminal-notifier (2.0.0) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1) thread_safe (0.3.6) @@ -74,6 +77,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.0.0) + jekyll-build-notifier jekyll-feed (~> 0.12) minima (~> 2.5) tzinfo (~> 1.2) diff --git a/_config.yml b/_config.yml index 0914749..fbb46fc 100644 --- a/_config.yml +++ b/_config.yml @@ -24,6 +24,8 @@ description: >- # this means to ignore newlines until "baseurl:" ReclaimFutures is a technology and culture conference exploring post-capitalist desire, utopian horizons, alternative computing and ecology.. baseurl: "" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com +permalink: /:year/news/:title:output_ext + # Build settings diff --git a/_includes/common/head.html b/_includes/common/head.html index 12a5184..483c80e 100644 --- a/_includes/common/head.html +++ b/_includes/common/head.html @@ -1,5 +1,14 @@ +{% capture title %} + {% if page.title %} + {{ site.title | append: " \ "| append: page.title }} + {% else %} + {{ site.title | escape }} + {% endif %} +{% endcapture %} + + {{ title }} @@ -12,26 +21,14 @@ - - + + - {% if page.title %} - {{ site.title | append: " - "| append: page.title }} - {% else %} - {{ site.title | escape }} - {% endif %} - {% if page.title %} - - + - - - - - @@ -39,39 +36,18 @@ {% endif %} - - - - - {% for tag in page.categories %} {% endfor %} - - - - - - - - {% else %} - - - - - - - {% endif %} - - + \ No newline at end of file