From d89404b8e1ead4a86d3e9e1eca94fae983df09f8 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 --- personal/_config.yml | 5 ++-- personal/_includes/menu-level.html | 2 +- personal/_includes/vars/blog-index.html | 1 + personal/_includes/vars/blog-page.html | 1 + personal/_layouts/default.html | 31 +++++++++++++++++++------ personal/_layouts/page.html | 17 -------------- personal/_plugins/readmes.rb | 2 +- personal/blog/archive.html | 3 +-- personal/blog/index.html | 3 ++- 9 files changed, 34 insertions(+), 31 deletions(-) create mode 100644 personal/_includes/vars/blog-index.html create mode 100644 personal/_includes/vars/blog-page.html delete mode 100644 personal/_layouts/page.html diff --git a/personal/_config.yml b/personal/_config.yml index bf82a60..e5d9a01 100644 --- a/personal/_config.yml +++ b/personal/_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/personal/_includes/menu-level.html b/personal/_includes/menu-level.html index 03cdc13..7e4e5ef 100644 --- a/personal/_includes/menu-level.html +++ b/personal/_includes/menu-level.html @@ -1,5 +1,5 @@