From b42d2b42b74c3d007d813df1db734185ba2cc7b4 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 3 Apr 2025 18:26:17 -0400 Subject: [PATCH] Split join and include as inline --- ikiwiki.setup | 3 +- join.html | 2 +- js/join.js => join/join-en.html | 2 + join/join-fr.html | 77 +++++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+), 2 deletions(-) rename js/join.js => join/join-en.html (99%) create mode 100644 join/join-fr.html diff --git a/ikiwiki.setup b/ikiwiki.setup index 75d756a..29a6b57 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -46,6 +46,7 @@ add_plugins: - typography - sidebar2 - po +- inline # plugins to disable disable_plugins: - htmlscrubber @@ -411,7 +412,7 @@ po_master_language: en|English po_slave_languages: - fr|Français # configures what pages are translatable -po_translatable_pages: 'index or footer or platforms or sidebar or join or recentchanges or shortcuts' +po_translatable_pages: 'index or platforms or join or sidebar' # used to decide how internal links should be generated, depending on web server features and site-specific preferences. po_link_to: current diff --git a/join.html b/join.html index 416afe4..9f36dc4 100644 --- a/join.html +++ b/join.html @@ -1,6 +1,6 @@ [[!meta title="Join"]] - +[[!inline pages="join/join-en" raw="yes"]]

Registration Form

diff --git a/js/join.js b/join/join-en.html similarity index 99% rename from js/join.js rename to join/join-en.html index 5be411c..cca165c 100644 --- a/js/join.js +++ b/join/join-en.html @@ -1,3 +1,4 @@ + diff --git a/join/join-fr.html b/join/join-fr.html new file mode 100644 index 0000000..fe3216b --- /dev/null +++ b/join/join-fr.html @@ -0,0 +1,77 @@ +