1
0
mirror of https://github.com/osmarks/website synced 2024-11-08 20:29:55 +00:00
website/templates/index.pug
osmarks e25013c1b4 Apparently I changed everything and forgot to commit it.
- I just added sidenotes (blog being rewritten slightly to incorporate them; WIP)
- Microblog added, compiler caching mechanism reworked
- Image compression
2023-11-19 21:06:25 +00:00

48 lines
1.8 KiB
Plaintext

extends layout.pug
block content
main
h2 Blog
p.
Read my opinions via the internet.
div.blog
each post in posts
.imbox(style=`background: ${post.bgcol}`)
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 Microblog
p.
Short-form observations.
div.microblog
each entry in microblog
!= entry
h2 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 in experiments
.imbox(style=`background: ${experiment.bgcol}`)
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