summaryrefslogtreecommitdiff
path: root/repo/www/generate-page.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-08-28 22:21:11 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-08-28 22:25:25 +0200
commitb6cb7d009364ab63e09fe6febc15330edae0644a (patch)
tree301ecd32568bf0ed16c52d818bf448c10817c940 /repo/www/generate-page.py
parent63a248e3dd9fc6857098c75ffbd49f72cf362c13 (diff)
downloadmemory-leaks-b6cb7d009364ab63e09fe6febc15330edae0644a.tar.xz
Move site title after page title
Plenty of websites do this; on GNU/Linux most applications do this; I guess the goal is to make the most specific information go first, so that tabs remain identifiable as they become narrower.
Diffstat (limited to 'repo/www/generate-page.py')
-rwxr-xr-xrepo/www/generate-page.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo/www/generate-page.py b/repo/www/generate-page.py
index 967689e..cb2317b 100755
--- a/repo/www/generate-page.py
+++ b/repo/www/generate-page.py
@@ -50,9 +50,9 @@ def main(arguments):
arguments.template,
arguments.filters,
stylesheets,
- site_title=arguments.site_title,
variables={'crumbs': generate_crumbs(page_path)},
- metadata={'pagetitle':arguments.title}
+ metadata={'pagetitle': arguments.title,
+ 'sitetitle': arguments.site_title}
)