upgrade to eleventy v3.x
This commit is contained in:
parent
170cce31ca
commit
0d6a0143c0
4 changed files with 576 additions and 1142 deletions
|
@ -41,11 +41,11 @@ setup(hljs);
|
||||||
const md = markdownit({
|
const md = markdownit({
|
||||||
linkify: true,
|
linkify: true,
|
||||||
html: true,
|
html: true,
|
||||||
highlight: function(str, lang) {
|
highlight: function (str, lang) {
|
||||||
if (lang && hljs.getLanguage(lang)) {
|
if (lang && hljs.getLanguage(lang)) {
|
||||||
try {
|
try {
|
||||||
return hljs.highlight(str, { language: lang }).value;
|
return hljs.highlight(str, { language: lang }).value;
|
||||||
} catch (__) {}
|
} catch (__) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
return ''; // use external default escaping
|
return ''; // use external default escaping
|
||||||
|
@ -53,7 +53,7 @@ const md = markdownit({
|
||||||
});
|
});
|
||||||
md.use(markdownitClass, markdownClassMapping);
|
md.use(markdownitClass, markdownClassMapping);
|
||||||
|
|
||||||
module.exports = function(eleventyConfig) {
|
module.exports = function (eleventyConfig) {
|
||||||
let nunjucksEnvironment = new Nunjucks.Environment(
|
let nunjucksEnvironment = new Nunjucks.Environment(
|
||||||
new Nunjucks.FileSystemLoader("_includes")
|
new Nunjucks.FileSystemLoader("_includes")
|
||||||
);
|
);
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<meta property="og:image:alt" content="Gaiety's visual representation as a fursona (an original furry fandom character) depicted as an animated gif falling downward with a controlled hand outstretched. Faer hair and tail waves in the wind while their floppy dog ears flop about as well. Fae are an anthromorphic canine like a german shepherd clothed like a human in a t-shirt and denim shorts. Art is by Lynte." />
|
<meta property="og:image:alt" content="Gaiety's visual representation as a fursona (an original furry fandom character) depicted as an animated gif falling downward with a controlled hand outstretched. Faer hair and tail waves in the wind while their floppy dog ears flop about as well. Fae are an anthromorphic canine like a german shepherd clothed like a human in a t-shirt and denim shorts. Art is by Lynte." />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<meta property="og:url" content="https://gaiety.me{{ page.url }}" />
|
<meta property="og:url" content="https://gaiety.me{{ page.url }}" />
|
||||||
|
<meta name="generator" content="Eleventy v3.0.0">
|
||||||
|
|
||||||
<link href="/styles.css" rel="stylesheet">
|
<link href="/styles.css" rel="stylesheet">
|
||||||
<link href="/catppuccin.variables.css" rel="stylesheet">
|
<link href="/catppuccin.variables.css" rel="stylesheet">
|
||||||
|
|
1709
package-lock.json
generated
1709
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -27,7 +27,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^3.0.0",
|
||||||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
|
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
|
||||||
"@catppuccin/highlightjs": "^0.1.4",
|
"@catppuccin/highlightjs": "^0.1.4",
|
||||||
"@catppuccin/tailwindcss": "^0.1.6",
|
"@catppuccin/tailwindcss": "^0.1.6",
|
||||||
|
|
Loading…
Add table
Reference in a new issue