some fixes and some more improvements
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
22274eed29
commit
8c05d5d97b
13 changed files with 34 additions and 29 deletions
|
@ -7,7 +7,8 @@ module.exports = function (eleventyConfig) {
|
|||
eleventyConfig.setUseGitIgnore(false);
|
||||
eleventyConfig.addPassthroughCopy({
|
||||
"src/img": "img",
|
||||
"src/font": "font"
|
||||
"src/font": "font",
|
||||
"src/favicon.*": "",
|
||||
});
|
||||
eleventyConfig.addShortcode("translatedUrl", function (currentLocale, newLocale) {
|
||||
return this.page.url.replace(new RegExp(`\/${currentLocale}\/`), `/${newLocale}/`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue