From 4026a8ededd3fce0f3506693348f04071e160469 Mon Sep 17 00:00:00 2001 From: David Darnes Date: Mon, 1 Jan 2018 20:23:56 +0000 Subject: [PATCH] Allow use of baseurl, change logo to an internal url, simple graphic placeholder #13 --- _config.yml | 7 ++++--- _includes/post-list.html | 4 ++-- _includes/post-pagination.html | 4 ++-- _includes/site-logo.html | 4 ++-- _includes/site-nav.html | 4 ++-- assets/logo.svg | 1 + 6 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 assets/logo.svg diff --git a/_config.yml b/_config.yml index f84dcfc..1b564e6 100755 --- a/_config.yml +++ b/_config.yml @@ -37,9 +37,9 @@ timezone: Europe/London # Timezone for blog posts and alike # 5. Collections collections: posts: - title: Welcome # Needed for Siteleaf + title: Blog # Needed for Siteleaf output: true - description: "This is just a demo, find out more [about Garth](/about/)" # The post list page content + description: "This is just a demo, find out more [about Garth](about)" # The post list page content # 6. Jekyll collections settings defaults: @@ -59,6 +59,7 @@ defaults: # 7. Site settings encoding: utf-8 # Make sure the encoding is right title: "Garth" # Site name or title -logo: "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=500" # Site logo +logo: "/assets/logo.svg" # Site logo description: "A stupidly simple theme for Jekyll, using the official Jekyll theme implementation" # Site description and default description url: "https://garth.darn.es" # Site url +baseurl: "/toast" diff --git a/_includes/post-list.html b/_includes/post-list.html index 9f4aa50..99b32d0 100755 --- a/_includes/post-list.html +++ b/_includes/post-list.html @@ -5,7 +5,7 @@
  • -

    {{ page.title }}

    +

    {{ page.title }}

    {% include post-meta.html %} {{ page.excerpt | markdownify | truncatewords: 60 }} @@ -22,7 +22,7 @@
  • -

    {{ page.title }}

    +

    {{ page.title }}

    {% include post-meta.html %} {{ page.excerpt | markdownify | truncatewords: 60 }} diff --git a/_includes/post-pagination.html b/_includes/post-pagination.html index 7aee453..19ff05d 100755 --- a/_includes/post-pagination.html +++ b/_includes/post-pagination.html @@ -1,7 +1,7 @@