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

8086
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

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