beardyjay.co.uk

My main website source code, uses Hugo.
Log | Files | Refs

commit a3a77b19210807c4bb5e903147b988395622f886
parent c8bff7214fb1a39eac0ea78a8995ffdea387be8f
Author: beardyjay <jay@beardyjay.co.uk>
Date:   Thu, 20 Oct 2016 12:45:21 +0100

fix URL paths

Diffstat:
M_config.yml | 4++--
M_includes/head.html | 2+-
Mindex.html | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_config.yml b/_config.yml @@ -4,10 +4,10 @@ title-font-size: '4em' email: jay@beardyjay.co.uk description: 'A security minded DevOps in a developers world' -baseurl: '/' +baseurl: '' url: "https://beardyjay.co.uk" -permalink: /:title/ +permalink: :title/ markdown: kramdown highlight: rouge diff --git a/_includes/head.html b/_includes/head.html @@ -4,7 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> {% seo %} <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One|Source+Serif+Pro" rel="stylesheet"> - <link rel="stylesheet" href="{{ "css/main.css" | prepend: site.baseurl }}"> + <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.url }}"> <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"> </head> diff --git a/index.html b/index.html @@ -10,7 +10,7 @@ layout: default {% for post in paginator.posts %} <li> <h2> - <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> + <a class="post-link" href="{{ post.url | prepend: site.url }}">{{ post.title }}</a> </h2> </li> {% endfor %}