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 }}