projects
/
biaweb_qt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes to site generator
[biaweb_qt.git]
/
biaweb_exporter.py
diff --git
a/biaweb_exporter.py
b/biaweb_exporter.py
index
2f1a306
..
6cba706
100644
(file)
--- a/
biaweb_exporter.py
+++ b/
biaweb_exporter.py
@@
-219,7
+219,7
@@
def generate_article_pages (dbname, conf, templates, category_str, bestrated_str
article_contents = art[4])
# now build the article page
article_contents = art[4])
# now build the article page
- articlepage_str = tpl_main.safe_substitute (site_title =
conf
[1],
+ articlepage_str = tpl_main.safe_substitute (site_title =
art
[1],
site_url = "http://" + conf[0],
meta_keywords = art[3],
meta_description = art[2],
site_url = "http://" + conf[0],
meta_keywords = art[3],
meta_description = art[2],
@@
-282,7
+282,7
@@
def generate_category_indices (dbname, conf, templates, category_str, bestrated_
table_rows = tablerows_str)
# now create the index page
table_rows = tablerows_str)
# now create the index page
- categoryindex_str = tpl_main.safe_substitute (site_title = conf[1],
+ categoryindex_str = tpl_main.safe_substitute (site_title = conf[1]
+ " - " + cat[1]
,
site_url = "http://" + conf[0],
meta_keywords = conf[2],
meta_description = cat[2],
site_url = "http://" + conf[0],
meta_keywords = conf[2],
meta_description = cat[2],