From 31b94ccd426fa90215f5ceb2a645ca3343647cad Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 30 Dec 2019 13:49:52 +0000 Subject: Fixes missing slash on index pages Avoids "target is a directory, href lacks trailing slash" error when linting with htlmtest. Fixes: #60 --- exampleSite/config.yml | 12 ++++++------ layouts/_default/category.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/exampleSite/config.yml b/exampleSite/config.yml index a0eade8..aa454e7 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -20,7 +20,7 @@ outputFormats: # use for search. recommend not to modify baseName: "searchindex" isPlainText: true notAlternative: true - + outputs: home: ["HTML","RSS","SearchIndex"] # recommend not to modify # sitemap @@ -33,32 +33,32 @@ menu: main: - identifier: home name: Home - title: Home + title: Home url: / weight: 1 - identifier: archives name: Archives title: Archives - url: /posts + url: /posts/ weight: 2 - identifier: categories name: Categories title: Categories - url: /categories + url: /categories/ weight: 3 - identifier: tags name: Tags title: Tags - url: /tags + url: /tags/ weight: 4 - identifier: about name: About title: About - url: /about + url: /about/ weight: 5 diff --git a/layouts/_default/category.html b/layouts/_default/category.html index fb5ae98..379c32a 100644 --- a/layouts/_default/category.html +++ b/layouts/_default/category.html @@ -7,7 +7,7 @@