From 2f86630e35a21cfda720b1f58c86ae4d7599f3b2 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Thu, 11 Dec 2025 00:33:21 +0100 Subject: [PATCH] =?UTF-8?q?Int=C3=A9gration=20de=20lemmy=20=C3=A0=20l'UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/42/assets/css/aside.css | 2 +- themes/42/layouts/_partials/asides/comments.html | 9 +++++++++ themes/42/layouts/_partials/{ => asides}/oeuvres.html | 0 themes/42/layouts/page.html | 4 ++-- 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 themes/42/layouts/_partials/asides/comments.html rename themes/42/layouts/_partials/{ => asides}/oeuvres.html (100%) diff --git a/themes/42/assets/css/aside.css b/themes/42/assets/css/aside.css index 77b45660..c437780a 100644 --- a/themes/42/assets/css/aside.css +++ b/themes/42/assets/css/aside.css @@ -1,5 +1,5 @@ aside { - margin: var(--margin) auto; + margin: auto; max-width: var(--width-content-max); width: 100%; background: var(--background-panel); diff --git a/themes/42/layouts/_partials/asides/comments.html b/themes/42/layouts/_partials/asides/comments.html new file mode 100644 index 00000000..130c57cd --- /dev/null +++ b/themes/42/layouts/_partials/asides/comments.html @@ -0,0 +1,9 @@ +{{- $url := .Params.comments_url -}} +{{- if $url }} + +{{- end }} diff --git a/themes/42/layouts/_partials/oeuvres.html b/themes/42/layouts/_partials/asides/oeuvres.html similarity index 100% rename from themes/42/layouts/_partials/oeuvres.html rename to themes/42/layouts/_partials/asides/oeuvres.html diff --git a/themes/42/layouts/page.html b/themes/42/layouts/page.html index 23027e44..80dbbd55 100644 --- a/themes/42/layouts/page.html +++ b/themes/42/layouts/page.html @@ -34,8 +34,8 @@ {{- end }} - {{ partial "oeuvres.html" . }} - + {{- partial "asides/comments.html" . }} + {{- partial "asides/oeuvres.html" . }} {{- partial "asides/keywords.html" . }} {{ if .Params.weather }}