1
0
mirror of https://github.com/osmarks/website synced 2024-11-13 22:24:48 +00:00
website/templates/index.pug
2024-02-25 21:30:23 +00:00

48 lines
1.8 KiB
Plaintext

extends layout.pug
block content
div.content
h2.section-header Blog
p.
Read my opinions via the internet.
div.blog
each post, i in posts
.autocol.imbox(style=hashBG("blog", i))
if images.hasOwnProperty(post.slug)
+image(images[post.slug])
div
div
a.title(href=`/${post.slug}/`)= post.title
div.deemph= `${renderDate(post.created)} / ${metricPrefix(post.wordCount, "")} words`
div.description!= post.description
h2.section-header Microblog
p.
Short-form observations.
div.microblog
each entry in microblog
!= entry
h2.section-header Experiments
p.
Various web projects I have put together over many years. Made with at least four different JS frameworks. Some of them are bad.
div.experiments
each experiment, i in experiments
.autocol.imbox(style=hashBG("experiments", i))
if images.hasOwnProperty(experiment.slug)
+image(images[experiment.slug])
div
div
a.title(href=`/${experiment.slug}/`)= experiment.title
span.description!= experiment.description
p Get updates to the blog (not experiments) in your favourite RSS reader using the <a href="/rss.xml">RSS feed</a>.
p View some of my projects at
a(href=`https://git.${domain}/`) my git hosting.
.ring!= openring
iframe(src="https://george.gh0.pw/embed.cgi?gollark", style="border:none;width:100%;height:50px", title="Acquiesce to GEORGE.")
block under-title
h2= name