From 0714def48aa762dd241f2f41518308381121be5d Mon Sep 17 00:00:00 2001
From: Zsolt Ero
Date: Fri, 12 Jan 2024 00:56:52 +0100
Subject: [PATCH] License work
---
README.md | 4 ++--
website/assets/style.css | 2 +-
website/generate.py | 4 ++--
website/map_docs.html | 2 +-
website/text.md | 4 +++-
5 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index fbef637..8334a72 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# openfreemap
-### License
+## License
-Licenses are listed in [LICENSE.md](LICENSE.md)
+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).
diff --git a/website/assets/style.css b/website/assets/style.css
index 85ddf5b..4f1f62a 100644
--- a/website/assets/style.css
+++ b/website/assets/style.css
@@ -49,7 +49,7 @@ button:-moz-focusring {
/* --- start --- */
body {
- padding: 0 40px;
+ padding: 0 40px 100px;
line-height: 1.5;
font-size: 17px;
diff --git a/website/generate.py b/website/generate.py
index 06f12b5..616e2b9 100755
--- a/website/generate.py
+++ b/website/generate.py
@@ -4,10 +4,10 @@
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)
diff --git a/website/map_docs.html b/website/map_docs.html
index 686fc80..934bd68 100644
--- a/website/map_docs.html
+++ b/website/map_docs.html
@@ -6,7 +6,7 @@
-
+
Use the following style in a MapLibre map:
https://tiles.openfreemap.org/styles/liberty
diff --git a/website/text.md b/website/text.md
index ad80cfd..196e6d4 100644
--- a/website/text.md
+++ b/website/text.md
@@ -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).