From 1d62fa280266ee5190f6be517856516ce6972002 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Tue, 13 Dec 2022 15:13:40 +0100 Subject: [PATCH] persons posts --- assets/sass/_theme/sections/posts.sass | 3 ++- assets/sass/_theme/sections/programs.sass | 2 +- layouts/partials/persons/posts.html | 7 ++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index 07eab886..7a1cbf05 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -5,7 +5,8 @@ .posts__section, .authors__term, -.categories__term +.categories__term, +.persons__page @if $posts-layout-list .posts @include grid(1) diff --git a/assets/sass/_theme/sections/programs.sass b/assets/sass/_theme/sections/programs.sass index bad37a79..0fcace42 100644 --- a/assets/sass/_theme/sections/programs.sass +++ b/assets/sass/_theme/sections/programs.sass @@ -8,7 +8,7 @@ section.programs ol.programs @include list-section - + .programs__section .hero-program flex-direction: column diff --git a/layouts/partials/persons/posts.html b/layouts/partials/persons/posts.html index 2d7b95e0..0e5c05cc 100644 --- a/layouts/partials/persons/posts.html +++ b/layouts/partials/persons/posts.html @@ -1,13 +1,10 @@ <section> <div class="top"> - <h2>{{ i18n "persons.posts" }}</h2> - <a href="{{ .Permalink }}" class="link">{{ i18n "posts.see_all" }}</a> + <h2 class="h5"><a href="{{ .Permalink }}">{{ i18n "persons.posts" }}</a></h2> </div> <div class="posts"> {{ range first 3 .Pages }} - <div> - {{ partial "posts/post.html" . }} - </div> + {{ partial "posts/post.html" . }} {{ end }} </div> </section> -- GitLab