updated icons to custom font (icomoon)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-06-14 12:10:57 +02:00
parent bd591594e7
commit 22274eed29
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E
79 changed files with 453 additions and 192 deletions

View file

@ -7,9 +7,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.setUseGitIgnore(false);
eleventyConfig.addPassthroughCopy({
"src/img": "img",
"src/font": "font",
"node_modules/@fortawesome/fontawesome-free/webfonts/": "font",
"node_modules/flag-icon-css/flags/4x3/(de|us)*": "flags"
"src/font": "font"
});
eleventyConfig.addShortcode("translatedUrl", function (currentLocale, newLocale) {
return this.page.url.replace(new RegExp(`\/${currentLocale}\/`), `/${newLocale}/`);