diff --git a/main/.htaccess b/main/.htaccess index 87121e1..3433f46 100644 --- a/main/.htaccess +++ b/main/.htaccess @@ -17,11 +17,11 @@ RewriteRule ^mc/?$ "https://ellpeck.de/projects" [R=301,L] RewriteRule ^press/?(.*)$ "https://press.ellpeck.de/$1" [R=301,L] RewriteRule ^tinylife/?$ "https://tinylifegame.com" [R=301,L] RewriteRule ^foefrenzy/?$ "https://store.steampowered.com/app/1194170/" [R=301,L] +RewriteRule ^#privacy/?$ "https://ellpeck.de/privacy" [R=301,L] +RewriteRule ^#impressum/?$ "https://ellpeck.de/impressum" [R=301,L] # anchor redirects RewriteRule ^projects/?$ "https://ellpeck.de/#projects" [R=301,L,NE] -RewriteRule ^privacy/?$ "https://ellpeck.de/#privacy" [R=301,L,NE] -RewriteRule ^impressum/?$ "https://ellpeck.de/#impressum" [R=301,L,NE] RewriteRule ^blog/?$ "https://ellpeck.de/#blog" [R=301,L,NE] # actually additions redirects diff --git a/main/_includes/footer.html b/main/_includes/footer.html index 2ea9656..3645a06 100644 --- a/main/_includes/footer.html +++ b/main/_includes/footer.html @@ -4,64 +4,10 @@ - - - - - - \ No newline at end of file diff --git a/main/_includes/nav/miscnav.html b/main/_includes/nav/miscnav.html new file mode 100644 index 0000000..8be1f4d --- /dev/null +++ b/main/_includes/nav/miscnav.html @@ -0,0 +1 @@ +Back to Main Page \ No newline at end of file diff --git a/main/impressum.html b/main/impressum.html new file mode 100644 index 0000000..1a87af7 --- /dev/null +++ b/main/impressum.html @@ -0,0 +1,20 @@ +--- +layout: default +title: Impressum +summary: Impressum +nav: nav/miscnav.html +--- + +
+

Impressum

+

+ Julian Schubert +
Kastanienweg 27 +
52074 Aachen +

+

+ Telefon: 0241 45093753 +
E-Mail: me@ellpeck.de +

+

Die obenstehende Person ist ebenfalls verantwortlich für den Inhalt (gem. § 55 Abs. 2 RStV).

+
\ No newline at end of file diff --git a/main/privacy.html b/main/privacy.html new file mode 100644 index 0000000..512bbcd --- /dev/null +++ b/main/privacy.html @@ -0,0 +1,26 @@ +--- +layout: default +title: Privacy Policy +summary: Privacy Policy +nav: nav/miscnav.html +--- + +
+

Privacy Policy

+

This site uses cookies to store information about your browsing activity.

+

Ellpeck.de stores the following information:

+ +

Due to widgets and embeds, additional information will be stored by other sites. Please refer to those sites' privacy policies for more information:

+ +

+ Transparency is very important to us, and as such, if you have any doubts about the security of this website, you can view its source code on Gitea. +
Keep in mind that you can also review or delete stored cookies for any site at any time in your browser's settings. +

+
\ No newline at end of file diff --git a/main/scripts/main.js b/main/scripts/main.js index 66152cc..ddb84b6 100644 --- a/main/scripts/main.js +++ b/main/scripts/main.js @@ -3,11 +3,6 @@ if (dark) addStyle("/style/dark.css"); $(function () { - openModals(window.location.hash); - $('a').on('click', function () { - openModals($(this).attr('href')); - }); - $('.navbar-collapse a').on('click', function () { $('.navbar-collapse').collapse('hide'); }); @@ -23,12 +18,4 @@ $(function () { window.location.hash = ""; location.reload(); }); -}); - -function openModals(hash) { - if (hash && hash.startsWith("#")) { - let modal = $(`${hash}-modal`); - if (modal.length) - modal.modal('show'); - } -} \ No newline at end of file +}); \ No newline at end of file diff --git a/main/style/dark.css b/main/style/dark.css index 1099d54..cbff553 100644 --- a/main/style/dark.css +++ b/main/style/dark.css @@ -23,14 +23,6 @@ body { background-color: #343a40; } -.modal-header { - border-bottom: 1px solid #323233; -} - -.modal-content { - background-color: #404142; -} - .blog-button:link, .blog-button:visited { color: white !important;