add aileron font
This commit is contained in:
parent
5cdcab9907
commit
383ba50d67
|
@ -10,6 +10,7 @@ eleventyComputed:
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
|
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
|
||||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||||
|
<link rel="stylesheet" href="/fonts/aileron.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include 'header.njk' %}
|
{% include 'header.njk' %}
|
||||||
|
|
|
@ -20,6 +20,9 @@ module.exports = function(eleventyConfig) {
|
||||||
return value.filter(item => item.page.lang === this.page.lang)
|
return value.filter(item => item.page.lang === this.page.lang)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
eleventyConfig.addPassthroughCopy({'./node_modules/@fontsource/aileron/latin.css': 'fonts/aileron.css'})
|
||||||
|
eleventyConfig.addPassthroughCopy({'./node_modules/@fontsource/aileron/files': 'fonts/files'})
|
||||||
|
|
||||||
// copy german start page to root url
|
// copy german start page to root url
|
||||||
eleventyConfig.on(
|
eleventyConfig.on(
|
||||||
"eleventy.after",
|
"eleventy.after",
|
||||||
|
|
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -11,7 +11,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^2.0.1",
|
||||||
"@11ty/eleventy-navigation": "^0.3.5",
|
"@11ty/eleventy-navigation": "^0.3.5",
|
||||||
"@11ty/eleventy-plugin-bundle": "^1.0.5"
|
"@11ty/eleventy-plugin-bundle": "^1.0.5",
|
||||||
|
"@fontsource/aileron": "^5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@11ty/dependency-tree": {
|
"node_modules/@11ty/dependency-tree": {
|
||||||
|
@ -221,6 +222,13 @@
|
||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@fontsource/aileron": {
|
||||||
|
"version": "5.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fontsource/aileron/-/aileron-5.1.0.tgz",
|
||||||
|
"integrity": "sha512-w204VNAH1a6VdKDn0vi7u8VAnTRH8tme485inHFYH0hUgnaRhY6Us8V75/10AqH8sCW3SuoTMbfg4/6B8y2jWQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "CC0-1.0"
|
||||||
|
},
|
||||||
"node_modules/@iarna/toml": {
|
"node_modules/@iarna/toml": {
|
||||||
"version": "2.2.5",
|
"version": "2.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz",
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^2.0.1",
|
||||||
"@11ty/eleventy-navigation": "^0.3.5",
|
"@11ty/eleventy-navigation": "^0.3.5",
|
||||||
"@11ty/eleventy-plugin-bundle": "^1.0.5"
|
"@11ty/eleventy-plugin-bundle": "^1.0.5",
|
||||||
|
"@fontsource/aileron": "^5.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue