diff --git a/.eleventy.js b/.eleventy.js index 0a330c4..94a9f92 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -26,6 +26,7 @@ module.exports = (eleventyConfig) => { eleventyConfig.addGlobalData('layout', 'base'); eleventyConfig.addGlobalData('topbar', true); eleventyConfig.addGlobalData('include_prism', false); + eleventyConfig.addGlobalData('include_fontawesome', false); eleventyConfig.addGlobalData('fallbackcover', '/assets/images/fallback-cover.webp'); eleventyConfig.addGlobalData('sitemap', { 'priority': 0.5 @@ -38,6 +39,7 @@ module.exports = (eleventyConfig) => { // Passthrough copies eleventyConfig.addPassthroughCopy(config.dir.input + '/assets/stylesheets/application.min.css'); + eleventyConfig.addPassthroughCopy(config.dir.input + '/assets/stylesheets/fontawesome.min.css'); eleventyConfig.addPassthroughCopy(config.dir.input + '/assets/images'); eleventyConfig.addPassthroughCopy(config.dir.input + '/assets/fonts'); eleventyConfig.addPassthroughCopy(config.dir.input + '/assets/javascripts'); diff --git a/README.md b/README.md index 8347f64..61e5b3c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Personal website of Maximilian Boll. Feel free to look around. -![](https://img.shields.io/badge/version-v1.1.8-brightgreen?style=for-the-badge) +![](https://img.shields.io/badge/version-v1.1.9-brightgreen?style=for-the-badge) ![](https://img.shields.io/github/last-commit/MyXoToD/makkusu.dev?style=for-the-badge) ![](https://img.shields.io/github/actions/workflow/status/MyXoToD/makkusu.dev/deploy.yml?style=for-the-badge) @@ -30,3 +30,4 @@ Personal website of Maximilian Boll. Feel free to look around. - [Hobbies / Lock Picking @Nikhiel CS](https://www.pexels.com/de-de/foto/graustufenfotografie-des-zahlenschlosses-411227/) - [Hobbies / Neural Networks @Tara Winstead](https://www.pexels.com/de-de/foto/hand-finger-zukunft-roboter-8386440/) - [Fallback Cover for Blog Posts @Nick Kwan](https://www.pexels.com/de-de/foto/beleuchteter-turm-2614818/) + - [Light / Dark Mode Icons](https://www.svgrepo.com/) \ No newline at end of file diff --git a/package.json b/package.json index 3ccb489..bef164a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "watch:sass": "sass --style=compressed --watch src/assets/stylesheets/application.scss:src/assets/stylesheets/application.min.css", "build:sass": "sass --style=compressed src/assets/stylesheets/application.scss:src/assets/stylesheets/application.min.css", + "build:sass:fontawesome": "sass --style=compressed src/assets/stylesheets/fontawesome.scss:src/assets/stylesheets/fontawesome.min.css", "watch:eleventy": "npx @11ty/eleventy --serve", "build:eleventy": "npx @11ty/eleventy", "start": "npm-run-all build:sass --parallel watch:*", diff --git a/src/_includes/theme-toggle.njk b/src/_includes/theme-toggle.njk index ffb3eee..2d41998 100644 --- a/src/_includes/theme-toggle.njk +++ b/src/_includes/theme-toggle.njk @@ -1,4 +1,8 @@