You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/11/05 04:47:59 UTC
[38/50] incubator-mynewt-site git commit: add footer to sub-pages
add footer to sub-pages
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/474ab24a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/474ab24a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/474ab24a
Branch: refs/heads/master
Commit: 474ab24aeb0e04430d7aa5bc6e08579c3ec895b5
Parents: 230c3e0
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Mon Oct 24 18:02:16 2016 -0700
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Mon Oct 24 18:02:16 2016 -0700
----------------------------------------------------------------------
custom-theme/base.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/474ab24a/custom-theme/base.html
----------------------------------------------------------------------
diff --git a/custom-theme/base.html b/custom-theme/base.html
index 5b8d074..db9cbfa 100644
--- a/custom-theme/base.html
+++ b/custom-theme/base.html
@@ -11,7 +11,7 @@
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
- <title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
+ <title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
<link href="{{ base_url }}/css/bootstrap-3.0.3.min.css" rel="stylesheet">
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
@@ -92,7 +92,7 @@
</div>
</div>
{% endif %}
- {% if page_title in full_width_page_titles %}
+ {% if page_title in full_width_page_titles or (meta and meta.html) %}
{% include 'footer.html' %}
{% endif %}
</div>