mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
website work
This commit is contained in:
@@ -5,7 +5,6 @@ import marko
|
||||
|
||||
def generate():
|
||||
licenses = open('../LICENSE.md').read().split('---')[0]
|
||||
map_html = open('map.html').read()
|
||||
|
||||
text_md = open('text.md').read()
|
||||
text_md = text_md.replace('{licenses}', licenses)
|
||||
@@ -14,7 +13,6 @@ def generate():
|
||||
|
||||
template = open('template.html').read()
|
||||
template = template.replace('{text}', text_html)
|
||||
template = template.replace('{map}', map_html)
|
||||
|
||||
open('index.html', 'w').write(template)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user