seperated system theme into its own css file, combined different page css to a main theme css
This commit is contained in:
parent
19b436ead1
commit
1945abd6ad
23 changed files with 938 additions and 958 deletions
|
|
@ -53,7 +53,7 @@ eleventyConfig.setLibrary("md", markdownLibrary);
|
|||
eleventyConfig.addWatchTarget(assets);
|
||||
eleventyConfig.addFilter("sortByFirstDate", items => items.sort((a, b) => new Date(b.data.images[0].date) - new Date(a.data.images[0].date)));
|
||||
eleventyConfig.addFilter("link", function(text, url) {
|
||||
return `<span class="link"><a href="${url}"><img src="https://www.google.com/s2/favicons?domain=${url}" alt=""/>${text}</a></span>`;
|
||||
return `<a href="${url}"><img src="https://www.google.com/s2/favicons?domain=${url}" alt=""/>${text}</a>`;
|
||||
});
|
||||
eleventyConfig.addFilter("ISO", (dateObj) => {
|
||||
return format(dateObj, ("yyyy-LL-dd"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue