License work

This commit is contained in:
Zsolt Ero
2024-01-12 00:56:52 +01:00
parent 3a738dca92
commit 0714def48a
5 changed files with 9 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ button:-moz-focusring {
/* --- start --- */
body {
padding: 0 40px;
padding: 0 40px 100px;
line-height: 1.5;
font-size: 17px;

View File

@@ -4,10 +4,10 @@ import marko
def generate():
licenses = open('../LICENSE.md').read().split('---')[0]
# licenses = open('../LICENSE.md').read().split('---')[0]
text_md = open('text.md').read()
text_md = text_md.replace('{licenses}', licenses)
# text_md = text_md.replace('{licenses}', licenses)
text_html = marko.convert(text_md)

View File

@@ -6,7 +6,7 @@
<button onclick="selectStyle('liberty')">Liberty</button>
<button onclick="selectStyle('positron')">Positron</button>
</p>
<p>
<p style="margin-bottom: 2em">
Use the following style in a MapLibre map:
<code id="style-url-code">https://tiles.openfreemap.org/styles/liberty</code>
</p>

View File

@@ -90,4 +90,6 @@ If you are using this in printed media or video, please attribute:
You do not need to display the OpenFreeMap part, but it is nice if you do.
{licenses}
## License
The license of this project is [MIT](https://www.tldrlegal.com/license/mit-license). Map data is from [OpenStreetMap](https://www.openstreetmap.org/copyright). The licenses for included projects are listed in [LICENSE.md](https://github.com/hyperknot/openfreemap/blob/main/LICENSE.md).