From d0a4aca4fec9ff6c44684db62ad99bb4295d75cb Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Mon, 25 Sep 2017 12:51:58 -0700 Subject: [PATCH] Fix links to newsletters. --- README.md | 2 +- _config.yml | 3 ++- _layouts/text.html | 4 ++-- newsletters.xml | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7213d9f..ab50ec0 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This is a list of our findings that we're reasonably happy with so far. We typically send our newsletters to [firefox-dev](https://www.mozilla.org/en-US/about/forums/#firefox-dev). {% for post in site.categories.newsletter reversed %} -* [{{ post.title }}]({{ post.url }}): {{ post.description }} [[mailing-list-post]({{ post.mailinglist }})]{% endfor %} +* [{{ post.title }}]({{ site.baseurl }}{{ post.url }}): {{ post.description }} [[mailing-list-post]({{ post.mailinglist }})]{% endfor %} ## Explorations and Experiments diff --git a/_config.yml b/_config.yml index 2f7efbe..65f85f5 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,2 @@ -theme: jekyll-theme-minimal \ No newline at end of file +theme: jekyll-theme-minimal +baseurl: /firefox-browser-architecture diff --git a/_layouts/text.html b/_layouts/text.html index 9e16d79..45a6496 100644 --- a/_layouts/text.html +++ b/_layouts/text.html @@ -7,11 +7,11 @@ {{ page.title }} -

[Back to top]

+

[Back to top]

{{ content }}
-

[Back to top]

+

[Back to top]

diff --git a/newsletters.xml b/newsletters.xml index bda6add..ec9b6f9 100644 --- a/newsletters.xml +++ b/newsletters.xml @@ -6,13 +6,13 @@ layout: null Mozilla Browser Architecture Newsletters The published newsletters from the Mozilla Browser Architecture team. - {{ site.url }} + {{ site.url }}{{ site.baseurl }} {% for post in site.categories.newsletter %} {{ post.title }} {{ post.description }} - {{ post.url }} - {{ site.url }}{{ post.url }} + {{ site.url }}{{ site.baseurl }}{{ post.url }} + {{ site.url }}{{ site.baseurl }}{{ post.url }} {{ post.date }} {% endfor %}