1
0
mirror of https://github.com/osmarks/website synced 2025-09-02 02:37:55 +00:00

deploy webs

This commit is contained in:
2023-08-31 13:00:53 +01:00
parent e772af915f
commit f5165ea7dd
22 changed files with 328 additions and 50 deletions

View File

@@ -4,7 +4,7 @@ block content
main
h2 Blog
p.
Stuff I say, conveniently accessible on the internet.
Read my opinions via the internet.
div.blog
each post in posts
.imbox(style=`background: ${post.bgcol}`)
@@ -13,12 +13,12 @@ block content
div
div
a.title(href=`/${post.slug}/`)= post.title
small= renderDate(post.updated)
span.deemph= `${renderDate(post.created)} / ${metricPrefix(post.wordCount, "")} words`
div.description!= post.description
h2 Experiments
p.
Various random somewhat useless web projects I have put together over many years. Made with at least four different JS frameworks.
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}`)
@@ -30,8 +30,11 @@ block content
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 (and whatever else) at
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.")
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

View File

@@ -25,13 +25,23 @@ html(lang="en")
+nav-item(`https://i.${domain}/`, "Images")
+nav-item("https://github.com/osmarks/website", "Contribute")
+nav-item(`https://b.${domain}`, "Microblog")
+nav-item(`https://status.${domain}`, "Status")
+nav-item(`https://r.${domain}/login`, "Login")
block nav-items
.header
h1.page-title= title
if updated
h3= `Updated ${renderDate(updated)}`
if created
h3= `Created ${renderDate(created)}`
block under-title
h3.deemph
if updated
span= `Updated ${renderDate(updated)}`
if created || wordCount
span= " / "
if created
span= `Created ${renderDate(created)}`
if wordCount
span= " / "
if wordCount
span= `${metricPrefix(wordCount, "")} words`
if description
em.description!= description
block content