Update dependencies; fix bugs

liquid → njk
This commit is contained in:
Starbeamrainbowlabs 2022-07-05 02:33:26 +01:00
parent de8f3435cf
commit 3ada698336
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
5 changed files with 4548 additions and 3554 deletions

8178
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,13 +4,13 @@
"description": "Pepperminty Wiki website",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no tests implemented yet\" && exit 1"
},
"author": "Starbeamrainbowlabs",
"license": "CC-BY-SA-4.0",
"private": true,
"devDependencies": {
"@11ty/eleventy": "^0.10.0",
"clean-css": "^4.2.3"
"@11ty/eleventy": "^1.0.1",
"clean-css": "^5.3.0"
}
}

View file

@ -29,7 +29,7 @@
{{ title }}
</h1>
{{ content }}
{{ content | safe }}
<!---------------->
<link rel="stylesheet" href="static/main.css" />

View file

@ -1,5 +1,5 @@
---
layout: layouts/main
layout: main.njk
title: Pepperminty Wiki
---

View file

@ -1,8 +1,8 @@
---
permalink: "static/main.css"
---
{% capture css %}
{% include css/main.css %}
{% endcapture %}
{% set css %}
{% include "static/css/main.css" %}
{% endset %}
{{ css | cssmin | safe }}