Skip to content

Commit

Permalink
tweak article list
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jun 2, 2024
1 parent 3b1b47f commit f5d803e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions views/articles.pug
Original file line number Diff line number Diff line change
@@ -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 <code>#{x.vignette.source}</code> in <b>#{x.package} #{x.version}</b>.

0 comments on commit f5d803e

Please sign in to comment.