add main text styles
This commit is contained in:
parent
4a0551c731
commit
c1608f3df1
2 changed files with 38 additions and 2 deletions
|
@ -5,6 +5,7 @@ const fs = require('fs');
|
|||
|
||||
// update this :)
|
||||
const year = 2024;
|
||||
const eseColor = "#F221B7";
|
||||
|
||||
module.exports = function(eleventyConfig) {
|
||||
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
|
||||
|
@ -15,11 +16,13 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.addPlugin(bundlerPlugin);
|
||||
|
||||
eleventyConfig.addGlobalData("year", year);
|
||||
eleventyConfig.addGlobalData("eseColor", eseColor);
|
||||
|
||||
eleventyConfig.addFilter("pageLang", function(value) {
|
||||
return value.filter(item => item.page.lang === this.page.lang)
|
||||
});
|
||||
|
||||
// copy aileron font
|
||||
eleventyConfig.addPassthroughCopy({'./submodules/aileron/fonts/*.(ttf|woff|woff2)': 'fonts'})
|
||||
eleventyConfig.addPassthroughCopy({'./submodules/aileron/aileron.lite.min.css': 'aileron.lite.min.css'})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue