From c3deb772fc9903c2c75f48f21ff5cdffac0f4256 Mon Sep 17 00:00:00 2001 From: Miraty Date: Tue, 30 May 2023 22:55:00 +0200 Subject: [PATCH] Update for new mkht.php version --- .gitignore | 9 +++++---- config.ini | 14 ++++++++------ end.inc.html | 4 ++-- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 42c8bd5..a9615b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ css/* *.gz *.md -!src/*.md -!README.md +!/src/*.md *.gmi -!src/*.gmi +!/src/*.gmi +!/README.md *.html -!*.inc.html +!/*.inc.html +*.atom diff --git a/config.ini b/config.ini index 0f8043f..be943cd 100644 --- a/config.ini +++ b/config.ini @@ -1,14 +1,16 @@ ; Used in and <header> -siteTitle = "Antopie" - -; Whether to advertise the CSS file in the HTML document or not -css = true +title = "Antopie" ; Whether to add a <header> tag to the HTML document or not header = true ; Whether to center text on indexes or not -centerIndex = true +center-index = true ; Which language to add to <html lang="?"> if not found in file extension -defaultLang = "fr" +default-lang = "fr" + +announce-feed = false +announce-css = true + +id = "5a85b380db3cb27bcd71ed24cfd27b01652a47921b4764248688ce02d0d525f3" diff --git a/end.inc.html b/end.inc.html index a0e60d9..004143c 100644 --- a/end.inc.html +++ b/end.inc.html @@ -6,9 +6,9 @@ <a href="<?= clearnetOrOnion('https://miraty.antopie.org/fr/contact.html', 'http://miraty.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/fr/contact.html') ?>" class="button">Me contacter</a> <br> <?php if (DESTINATION === "onion") { ?> - <a href="https://antopie.org/<?= $pathParts['filename'] ?>" class="button">Accès <abbr title="Domain Name System">DNS</abbr></a> + <a href="https://antopie.org/<?= $path_parts['filename'] ?>" class="button">Accès <abbr title="Domain Name System">DNS</abbr></a> <?php } else { ?> - <a href="http://sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/<?= $pathParts['filename'] ?>" class="button">Accès Onion</a> + <a href="http://sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/<?= $path_parts['filename'] ?>" class="button">Accès Onion</a> <?php } ?> </div> <div>