Commit 0ff3fc19 authored by Holger Levsen's avatar Holger Levsen

Split index.html into about (index.html) and news.html.

Signed-off-by: Holger Levsen's avatarHolger Levsen <>
parent 79cf2d87
......@@ -30,6 +30,7 @@ piuparts (0.93) UNRELEASED; urgency=medium
[ Holger Levsen ]
- Add new page: overview.html
- Split index.html into about (index.html) and news.html.
- Minor cleanups.
* Use the new debhelper-compat(=11) notation and drop d/compat.
This diff is collapsed.
This diff is collapsed.
......@@ -97,7 +97,12 @@ HTML_HEADER = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<tr class="normalrow">
<td class="contentcell">
<a href="$doc_root/">About + News</a>
<a href="$doc_root/">About</a>
<tr class="normalrow">
<td class="contentcell">
<a href="$doc_root/news.html">News</a>
<tr class="normalrow">
......@@ -1834,11 +1839,13 @@ def main():
# static pages
logging.debug("Writing static pages")
section_navigation = create_section_navigation(section_names, "sid", doc_root)
for page in ("index", "bug_howto"):
for page in ("index", "news", "bug_howto"):
tpl = os.path.join(output_directory, page + ".tpl")
INDEX_BODY = read_file(tpl)
if page == "index":
page_title = "About and News"
page_title = "About"
elif page == "news":
page_title = "News about"
page_title = "How to file bugs based on piuparts.d.o results"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment