From 1aadb43f6dcd502cc5973109cf7f9af1369d1ec6 Mon Sep 17 00:00:00 2001 From: moxiegirl Date: Mon, 27 Aug 2018 13:11:29 -0700 Subject: [PATCH] Fixing the links Signed-off-by: moxiegirl --- _layouts/home.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/home.html b/_layouts/home.html index 86a8e132..5e722e3b 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -21,7 +21,7 @@ layout: default
{% for item in site.data.navigation_home %} {% if item.title %} - {% assign doc_url = item.doc | prepend:"/" | append:"/" %} + {% assign doc_url = item.doc | prepend:"/" | append:".html" %} {% assign doc = site.docs | where:"url", doc_url | first %}
@@ -43,7 +43,7 @@ layout: default
{% endif %} -{% comment %} ONLY include section if there are featured pages. {% endcomment %} +{% comment %} ONLY include section if there are featured pages. {% endcomment %} {% assign featured_exists = false %} {% for doc in site.docs %} {% if doc.tags contains page.featured.tag and featured_exists != false %}