Skip to content
Snippets Groups Projects
Commit 76d11a2a authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Better title on module index.

parent 3186e8a5
No related branches found
No related tags found
No related merge requests found
...@@ -256,6 +256,7 @@ def setup_module_index(*, ...@@ -256,6 +256,7 @@ def setup_module_index(*,
with open(os.path.join(base, 'index.html'), 'w') as f: with open(os.path.join(base, 'index.html'), 'w') as f:
f.write(template.render(module_name=module.name, f.write(template.render(module_name=module.name,
module_author=module.metadata['author'],
breadcrumbs=crumbs, breadcrumbs=crumbs,
content=content, content=content,
path_base=path_base, path_base=path_base,
......
...@@ -8,7 +8,7 @@ Parameters: ...@@ -8,7 +8,7 @@ Parameters:
#} #}
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<h1>{{ module_name }}</h1> <h1>{{ module_author }} / {{ module_name.title() }}</h1>
<ul> <ul>
{% for name, path in doc_files %} {% for name, path in doc_files %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment