From cc4fcc8d07873a2e814ba7159467d9803ba0a611 Mon Sep 17 00:00:00 2001 From: kazhnuz Date: Sat, 21 Sep 2024 12:12:50 +0200 Subject: [PATCH 1/9] Adaptation pipeline pour main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La branche main doit se déposer sur next --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7528e74..3c1ecaa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,7 +21,7 @@ steps: settings: hosts: from_secret: deploy_host - target: /var/www/erratum.kazhnuz.space + target: /var/www/next.erratum.kazhnuz.space source: _site/* user: from_secret: deploy_user From b662772a0fc2148cdd201a6d227c1e3d1268520d Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 16 Oct 2024 18:37:21 +0200 Subject: [PATCH 2/9] fix: resposnive part 1 --- _includes/layouts/base.njk | 4 +- _includes/layouts/home.njk | 4 +- _includes/layouts/parent.njk | 16 ++----- public/css/index.css | 87 +++++++++++++++++++++++++++++++++++- public/js/mobile-sidebar.js | 48 ++++++++++++++++++++ 5 files changed, 140 insertions(+), 19 deletions(-) create mode 100644 public/js/mobile-sidebar.js diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index ba5a9ef..a77e70f 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -2,7 +2,7 @@ layout: layouts/parent.njk ---
-
+
{{ content | safe }}
@@ -18,7 +18,7 @@ layout: layouts/parent.njk
{%- endif -%} -
+

Sommaire

{{ content | toc | safe }}
diff --git a/_includes/layouts/home.njk b/_includes/layouts/home.njk index a66197f..8ac78e8 100644 --- a/_includes/layouts/home.njk +++ b/_includes/layouts/home.njk @@ -2,7 +2,7 @@ layout: layouts/parent.njk ---
-
+
{{ content | safe }}
@@ -18,7 +18,7 @@ layout: layouts/parent.njk
{%- endif -%} -
+

Sommaire

{{ content | toc | safe }}
diff --git a/_includes/layouts/parent.njk b/_includes/layouts/parent.njk index dfd47b1..1b1d685 100644 --- a/_includes/layouts/parent.njk +++ b/_includes/layouts/parent.njk @@ -27,19 +27,6 @@

{{ metadata.title }}

- -