From 8bf00c2ecb011b2a18ef627b65a3b05bcb57b1c7 Mon Sep 17 00:00:00 2001 From: Niklas Elsbrock Date: Thu, 7 May 2026 16:54:30 +0200 Subject: [PATCH] add .editorconfig and fix formatting --- .editorconfig | 10 ++++++++++ .gitignore | 2 +- build.py | 2 +- src/_base.html.jinja | 2 +- src/index.html.jinja | 2 +- src/licenses.html.jinja | 42 ++++++++++++++++++++--------------------- src/privacy.html.jinja | 34 ++++++++++++++++----------------- 7 files changed, 52 insertions(+), 42 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7b4c1cf --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +end_of_line = lf +charset = utf-8 +insert_final_newline = true + +[{*.{html.jinja,css,txt}}] +indent_style = tab +indent_size = 4 diff --git a/.gitignore b/.gitignore index 3e22129..9b1c8b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/dist \ No newline at end of file +/dist diff --git a/build.py b/build.py index 25d06e6..34192d2 100755 --- a/build.py +++ b/build.py @@ -53,4 +53,4 @@ def main(): shutil.copy(src_path, dist_path) if __name__ == '__main__': - main() \ No newline at end of file + main() diff --git a/src/_base.html.jinja b/src/_base.html.jinja index 3a7c198..a1acc2f 100644 --- a/src/_base.html.jinja +++ b/src/_base.html.jinja @@ -25,4 +25,4 @@ - \ No newline at end of file + diff --git a/src/index.html.jinja b/src/index.html.jinja index 85da28c..6fdfd50 100644 --- a/src/index.html.jinja +++ b/src/index.html.jinja @@ -17,4 +17,4 @@ -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/licenses.html.jinja b/src/licenses.html.jinja index d78f34d..6af5849 100644 --- a/src/licenses.html.jinja +++ b/src/licenses.html.jinja @@ -4,31 +4,31 @@ {% block main %}
-

Open-Source-Lizenzen

+

Open-Source-Lizenzen

-

Schriftarten:

+

Schriftarten:

-

Überschriften: Metropolis

-

Public Domain (Unlicense)

+

Überschriften: Metropolis

+

Public Domain (Unlicense)

-

Text: Inter

-

- Copyright (c) 2016-2020 The Inter Project Authors.
- "Inter" is trademark of Rasmus Andersson.
- Licensed under the SIL Open Font License, Version 1.1. -

+

Text: Inter

+

+ Copyright (c) 2016-2020 The Inter Project Authors.
+ "Inter" is trademark of Rasmus Andersson.
+ Licensed under the SIL Open Font License, Version 1.1. +

-

Icons: Font Awesome Free

-

- Copyright (c) 2024 Fonticons, Inc.
- with Reserved Font Name: "Font Awesome".
- Licensed under the SIL Open Font License, Version 1.1. -

+

Icons: Font Awesome Free

+

+ Copyright (c) 2024 Fonticons, Inc.
+ with Reserved Font Name: "Font Awesome".
+ Licensed under the SIL Open Font License, Version 1.1. +

-
+
-

- Zurück zur Hauptseite -

+

+ Zurück zur Hauptseite +

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/privacy.html.jinja b/src/privacy.html.jinja index b45176b..e689164 100644 --- a/src/privacy.html.jinja +++ b/src/privacy.html.jinja @@ -4,24 +4,24 @@ {% block main %}
-

Datenschutz

-

Verantwortlich für diese Website ist

-
- Niklas Elsbrock
- mail@nelsbrock.de -
+

Datenschutz

+

Verantwortlich für diese Website ist

+
+ Niklas Elsbrock
+ mail@nelsbrock.de +
-

Keine Erfassung von Besucherinformationen

-

- Beim Besuch der Website unter www.nelsbrock.de werden keine - personenbezogenen Daten verarbeitet. Zugriffsprotokolle sind - deaktiviert. -

+

Keine Erfassung von Besucherinformationen

+

+ Beim Besuch der Website unter www.nelsbrock.de werden keine + personenbezogenen Daten verarbeitet. Zugriffsprotokolle sind + deaktiviert. +

-
+
-

- Zurück zur Hauptseite -

+

+ Zurück zur Hauptseite +

-{% endblock %} \ No newline at end of file +{% endblock %}