From 8ae53ef167d684ed41fd9bd1a04f7a70a1ad20b6 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Thu, 1 May 2014 12:41:57 +1000 Subject: [PATCH] add page_description and page_keywords md meta to mkdocs html template Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) --- docs/theme/mkdocs/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/theme/mkdocs/base.html b/docs/theme/mkdocs/base.html index 5371569596..ca418b3cd7 100644 --- a/docs/theme/mkdocs/base.html +++ b/docs/theme/mkdocs/base.html @@ -4,7 +4,8 @@ - {% if page_description %}{% endif %} + {% if meta.page_description %}{% endif %} + {% if meta.page_keywords %}{% endif %} {% if site_author %}{% endif %} {% if canonical_url %}{% endif %} @@ -14,7 +15,6 @@ {% if page_title != '**HIDDEN** - '+site_name %}{{ page_title }}{% else %}{{ site_name }}{% endif %} - {% if page_title != '**HIDDEN** - Docker' %}{{ page_title }}{% else %}{{ site_name }}{% endif %}