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 %}