Wiki: Remove useless heading, sort modules

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-25 14:29:43 +02:00
parent 2df640bf35
commit 7b95895001
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
3 changed files with 6 additions and 8 deletions

View file

@ -39,6 +39,8 @@ def main(args):
modules.append(mod)
modules = sorted(modules, key=lambda m: m['type'])
with open('wiki/Home.md.tpl', 'r') as f:
tpl = jinja2.Template(f.read())
print(tpl.render(modules=modules))

View file

@ -1,8 +1,6 @@
# Discord-Community
# Modules
## Modules
### schedule
## schedule
Posts stream schedule derived from Twitch schedule as embed in Discord channel

View file

@ -1,9 +1,7 @@
# Discord-Community
## Modules
# Modules
{% for module in modules -%}
### {{ module.type }}
## {{ module.type }}
{{ module.description }}