litebb/views/index.pug

1extends layout 2include mixins/opengraph 3 4block opengraph 5 +opengraph({content: `See the latest posts on ${h.siteName}`, title: h.siteName}) 6 7block content 8 .card 9 .flex 10 h2.aubergine.m-v-md Latest posts 11 hr 12 ul.m-t-md 13 each p in posts 14 li.flex.flex-center.p-b-sm 15 span.flex__grow 16 a(href=`/p/${p.slug}`).bold.underline--hover #{p.name}  17 span.dark-gray.bold [#{p.board.name}] 18 .ws-nowrap 19 a(href=`/u/${p.author.username}`).underline--hover @#{p.author.username} 20 |   21 span.gray //  22 | #{p.created_date_formatted} 23 24 .card 25 .flex 26 h2.aubergine.m-v-md Boards 27 hr 28 ul.m-t-md 29 each b in boards 30 li.p-b-sm 31 details 32 summary 33 a(href=`/b/${b.slug}`).underline--hover #{b.name} 34 p.m-l-md.p-sm.background-aubergine #{b.description} 35