1

Intégration de lemmy à l'UI

This commit is contained in:
2025-12-11 00:33:21 +01:00
parent 181223d3d9
commit 2f86630e35
4 changed files with 12 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
aside {
margin: var(--margin) auto;
margin: auto;
max-width: var(--width-content-max);
width: 100%;
background: var(--background-panel);

View File

@@ -0,0 +1,9 @@
{{- $url := .Params.comments_url -}}
{{- if $url }}
<aside class="panel">
<h2>Échanger autour de ce texte</h2>
<p>
Si vous souhaitez réagir publiquement, <a href="{{ $url }}" target="_blank" rel="noopener">un fil dédié vous attend ici</a>.
</p>
</aside>
{{- end }}

View File

@@ -34,8 +34,8 @@
</aside>
{{- end }}
{{ partial "oeuvres.html" . }}
{{- partial "asides/comments.html" . }}
{{- partial "asides/oeuvres.html" . }}
{{- partial "asides/keywords.html" . }}
{{ if .Params.weather }}