From f5d803ef3d1dc9c7da52d6e093f4a6b689c2800b Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Sun, 2 Jun 2024 15:06:32 +0200 Subject: [PATCH] tweak article list --- views/articles.pug | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/views/articles.pug b/views/articles.pug index 6a17807..4ef124c 100644 --- a/views/articles.pug +++ b/views/articles.pug @@ -1,12 +1,12 @@ extends layout block content - .list-group + .list-group(style='font-size: 1rem;') for x in articles if x.user == universe - a.list-group-item.list-group-item-action(href=`${x.host}/articles/${x.package}/${x.vignette.filename}`) - .d-flex.w-100.justify-content-between - h2.h5.mb-1 #{x.vignette.title} + a.list-group-item.list-group-item-action.py-3.lh-sm(href=`${x.host}/articles/${x.package}/${x.vignette.filename}`) + .d-flex.w-100.align-items-center.justify-content-between + strong.mb-1 #{x.vignette.title} small.text-body-secondary Updated #{format_time_since(x.vignette.modified)} - p.mb-1.fst-italic #{x.vignette.author || x.maintainer.split("<")[0]} + p.mb-1.small #{x.vignette.author || x.maintainer.split("<")[0]} small.text-body-secondary Rendered from #{x.vignette.source} in #{x.package} #{x.version}.