aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-01 16:48:53 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-01 17:52:21 +0200
commit194a55a0acf289957c2f34102823c205cc94ea7c (patch)
tree8c665364703c654e5a47c4ba7c7715da644946a8
parentb54977894e97e872caf96d095dfdc0abe71e0d18 (diff)
downloadclub1-docs-194a55a0acf289957c2f34102823c205cc94ea7c.tar.gz
club1-docs-194a55a0acf289957c2f34102823c205cc94ea7c.zip
feat: add link in sidebar to return to main site
-rw-r--r--_templates/layout.html6
-rw-r--r--locales/en/LC_MESSAGES/sphinx.po6
-rw-r--r--locales/sphinx.pot6
3 files changed, 16 insertions, 2 deletions
diff --git a/_templates/layout.html b/_templates/layout.html
new file mode 100644
index 0000000..7e255dc
--- /dev/null
+++ b/_templates/layout.html
@@ -0,0 +1,6 @@
+{% extends "!layout.html" %}
+
+{% block sidebartitle %}
+ <a href="https://club1.fr" class="fa fa-arrow-left" > {{ _("Retour au site principal") }} </a></br>
+ {{ super() }}
+{% endblock %}
diff --git a/locales/en/LC_MESSAGES/sphinx.po b/locales/en/LC_MESSAGES/sphinx.po
index 8a179a5..34fbc9b 100644
--- a/locales/en/LC_MESSAGES/sphinx.po
+++ b/locales/en/LC_MESSAGES/sphinx.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Hébergement CLUB1 main\n"
"Report-Msgid-Bugs-To: nicolas@club1.fr\n"
-"POT-Creation-Date: 2022-03-28 21:14+0200\n"
+"POT-Creation-Date: 2022-04-01 16:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Nicolas Peugnet <nicolas@club1.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,6 +16,10 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#: ../../_templates/layout.html:4
+msgid "Retour au site principal"
+msgstr "Return to main site"
+
#: ../../_templates/versions.html:4 ../../_templates/versions.html:21
msgid "Versions"
msgstr "Versions"
diff --git a/locales/sphinx.pot b/locales/sphinx.pot
index eda6154..2b39c40 100644
--- a/locales/sphinx.pot
+++ b/locales/sphinx.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: CLUB1 main\n"
"Report-Msgid-Bugs-To: nicolas@club1.fr\n"
-"POT-Creation-Date: 2022-03-30 15:26+0200\n"
+"POT-Creation-Date: 2022-04-01 16:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,6 +17,10 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+#: ../../_templates/layout.html:4
+msgid "Retour au site principal"
+msgstr ""
+
#: ../../_templates/versions.html:4 ../../_templates/versions.html:21
msgid "Versions"
msgstr ""