[gimp-web/gimp-web-static] Minor modifications in some pages



commit 36690db25f2efe9f021217a280c60e7673145a4c
Author: Pat David <patdavid gmail com>
Date:   Tue Aug 4 16:23:19 2015 -0500

    Minor modifications in some pages

 content/pages/about/ancient_history.md |    2 --
 content/pages/about/meta/index.md      |    6 ++++++
 themes/newgimp/templates/page.html     |    2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/content/pages/about/ancient_history.md b/content/pages/about/ancient_history.md
index ab1aa0f..e269483 100644
--- a/content/pages/about/ancient_history.md
+++ b/content/pages/about/ancient_history.md
@@ -6,8 +6,6 @@ Summary: About the folks behind this project.
 url: about/ancient_history.html
 save_as: about/ancient_history.html
 
-#status: hidden (to hide from the nav menu)
-
 ## A Brief History of GIMP
 
_Editor's note:_ This history was written around the release of GIMP 1.0 in 1998 and has actually become a 
historical document all on its own. Some of the dates are not accurate (due to internet technology 
limitation (Google hadn't indexed Usenet yet). Yet still a good document with many of the details 
perfectly intact.
diff --git a/content/pages/about/meta/index.md b/content/pages/about/meta/index.md
index dcacfb6..73619a4 100644
--- a/content/pages/about/meta/index.md
+++ b/content/pages/about/meta/index.md
@@ -110,6 +110,12 @@ The site can then be accessed locally at:
 `localhost:8000`
 
 
+### Some Pelican Notes
+
+To hide a page from being included on the navigation elements, add to the pages metadata:
+
+`status: hidden`
+
 
 
 [WGO Redesign]: http://wiki.gimp.org/index.php?title=WGO_Redesign
diff --git a/themes/newgimp/templates/page.html b/themes/newgimp/templates/page.html
index cdeb77d..680924d 100644
--- a/themes/newgimp/templates/page.html
+++ b/themes/newgimp/templates/page.html
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 
-{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%}
+{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%}
 
 {% block head %}
 {{ super() }}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]