use better source for aileron font
the previous one had incorrect font weight variants
This commit is contained in:
parent
383ba50d67
commit
4a0551c731
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "submodules/aileron"]
|
||||
path = submodules/aileron
|
||||
url = https://github.com/reinhart1010/aileron
|
|
@ -6,6 +6,7 @@ This is the WIP rewrite of the ESE website.
|
|||
|
||||
To build the website, install the dependencies and run the build script:
|
||||
```sh
|
||||
git submodule update --init
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
|
|
@ -10,7 +10,7 @@ eleventyComputed:
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% if title %}{{ title }} | {% endif %}ESE {{ year }}</title>
|
||||
<link rel="stylesheet" href="{% getBundleFileUrl "css" %}">
|
||||
<link rel="stylesheet" href="/fonts/aileron.css">
|
||||
<link rel="stylesheet" href="/aileron.lite.min.css">
|
||||
</head>
|
||||
<body>
|
||||
{% include 'header.njk' %}
|
||||
|
|
|
@ -20,8 +20,8 @@ module.exports = function(eleventyConfig) {
|
|||
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'})
|
||||
eleventyConfig.addPassthroughCopy({'./submodules/aileron/fonts/*.(ttf|woff|woff2)': 'fonts'})
|
||||
eleventyConfig.addPassthroughCopy({'./submodules/aileron/aileron.lite.min.css': 'aileron.lite.min.css'})
|
||||
|
||||
// copy german start page to root url
|
||||
eleventyConfig.on(
|
||||
|
|
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -11,8 +11,7 @@
|
|||
"devDependencies": {
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"@11ty/eleventy-navigation": "^0.3.5",
|
||||
"@11ty/eleventy-plugin-bundle": "^1.0.5",
|
||||
"@fontsource/aileron": "^5.1.0"
|
||||
"@11ty/eleventy-plugin-bundle": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/dependency-tree": {
|
||||
|
@ -222,13 +221,6 @@
|
|||
"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": {
|
||||
"version": "2.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz",
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
"devDependencies": {
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"@11ty/eleventy-navigation": "^0.3.5",
|
||||
"@11ty/eleventy-plugin-bundle": "^1.0.5",
|
||||
"@fontsource/aileron": "^5.1.0"
|
||||
"@11ty/eleventy-plugin-bundle": "^1.0.5"
|
||||
}
|
||||
}
|
||||
|
|
1
submodules/aileron
Submodule
1
submodules/aileron
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 0b12b2b472f8f580b4807b3f5d3ac7bdde331497
|
Loading…
Reference in a new issue