1
0
mirror of https://github.com/osmarks/website synced 2025-09-08 13:25:58 +00:00

new graphics demos, fix a bug, minor post updates, add opengraph

This commit is contained in:
2024-10-11 18:42:05 +01:00
parent 626608939b
commit 908422beec
11 changed files with 403 additions and 9 deletions

View File

@@ -24,6 +24,11 @@ html(lang="en")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
if description
meta(name="description", content=description)
meta(property="og:description", content=description)
meta(property="og:title", content=title)
meta(property="og:type", content="website")
meta(property="og:url", content=`https://${domain}`)
meta(property="og:site_name", content=name)
link(rel="manifest", href="/assets/manifest.webmanifest")
link(rel="shortcut icon", href="/assets/images/logo256.png", type="image/png")
meta(content=`https://${domain}/assets/images/logo256.png`, property="og:image")
@@ -60,7 +65,7 @@ html(lang="en")
span= `Created ${renderDate(created)}`
if wordCount
span= " / "
if wordCount
if wordCount
span= `${metricPrefix(wordCount, "")} words`
if description
em.description!= description