1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-09-28 14:57:30 +00:00

Actually use the font

This commit is contained in:
Cadence Fish 2020-02-16 18:38:52 +13:00
parent 811fb623ee
commit b10432aa38
No known key found for this signature in database
GPG Key ID: 81015DF9AA8607E1
2 changed files with 9 additions and 1 deletions

View File

@ -7,8 +7,12 @@ $main-theme-link-color: #085cae
@font-face
font-family: "Bariol"
font-display: swap
src: url(/static/fonts/bariol.woff2) format("woff2"), url(/static/fonts/bariol.ttf) format("truetype")
body, input, button, textarea
font-family: "Bariol", sans-serif
body
margin: 0
padding: 0

View File

@ -6,7 +6,11 @@ const passthrough = require("./passthrough")
const pinski = new Pinski({
port: 10407,
relativeRoot: __dirname
relativeRoot: __dirname,
basicCacheControl: {
exts: ["ttf", "woff2", "png", "jpg", "jpeg", "svg", "gif", "webmanifest", "ico"],
seconds: 604800
},
})
subdirs("pug", async (err, dirs) => {