Cache some semi-static data

This commit is contained in:
Cadence Ember
2020-05-04 23:50:54 +12:00
parent 8c2a4454f2
commit 12c02fd8af
7 changed files with 12 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ html
head
title= title
include includes/head
script(type="module" src="/static/js/post_overlay.js")
script(type="module" src=getStaticURL("html", "/static/js/post_overlay.js"))
meta(property="og:url" content=`${website_origin}/p/${post.data.shortcode}`)
meta(property="og:type" content="article")
- let firstEntry = post.children[0]