From b2e3f027086fdf54f6d057d7b28ec13025e72a78 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 9 Oct 2015 20:11:11 +0200 Subject: [PATCH 1/1] start honoring baseurl again; crazy hackery to get page-dependent computed (pre)titles --- ralf/_config.yml | 5 +++-- ralf/_includes/menu-level.html | 2 +- ralf/_includes/vars/blog-index.html | 1 + ralf/_includes/vars/blog-page.html | 1 + ralf/_layouts/default.html | 31 ++++++++++++++++++++++------- ralf/_layouts/page.html | 17 ---------------- ralf/_plugins/readmes.rb | 2 +- ralf/blog/archive.html | 3 +-- ralf/blog/index.html | 3 ++- 9 files changed, 34 insertions(+), 31 deletions(-) create mode 100644 ralf/_includes/vars/blog-index.html create mode 100644 ralf/_includes/vars/blog-page.html delete mode 100644 ralf/_layouts/page.html diff --git a/ralf/_config.yml b/ralf/_config.yml index bf82a60..e5d9a01 100644 --- a/ralf/_config.yml +++ b/ralf/_config.yml @@ -1,4 +1,5 @@ # Site settings +baseurl: "" url: "https://www.ralfj.de" permalink: "/blog/:year/:month/:day/:title.html" timezone: "Europe/Berlin" @@ -23,13 +24,13 @@ defaults: - scope: path: "" # all files in the project values: - layout: "page" + layout: "default" - scope: path: "" type: "posts" values: rss: true - pretitle: "Ralf's Ramblings" + vars: "blog-page.html" # Build settings markdown: kramdown diff --git a/ralf/_includes/menu-level.html b/ralf/_includes/menu-level.html index 03cdc13..7e4e5ef 100644 --- a/ralf/_includes/menu-level.html +++ b/ralf/_includes/menu-level.html @@ -1,5 +1,5 @@