Intégration de lemmy à l'UI
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
aside {
|
aside {
|
||||||
margin: var(--margin) auto;
|
margin: auto;
|
||||||
max-width: var(--width-content-max);
|
max-width: var(--width-content-max);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: var(--background-panel);
|
background: var(--background-panel);
|
||||||
|
|||||||
9
themes/42/layouts/_partials/asides/comments.html
Normal file
9
themes/42/layouts/_partials/asides/comments.html
Normal 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 }}
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
</aside>
|
</aside>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ partial "oeuvres.html" . }}
|
{{- partial "asides/comments.html" . }}
|
||||||
|
{{- partial "asides/oeuvres.html" . }}
|
||||||
{{- partial "asides/keywords.html" . }}
|
{{- partial "asides/keywords.html" . }}
|
||||||
|
|
||||||
{{ if .Params.weather }}
|
{{ if .Params.weather }}
|
||||||
|
|||||||
Reference in New Issue
Block a user