From 7540ebb1805e008eb3f9398ed7645b9e8a023d00 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Tue, 18 Jun 2024 02:11:20 +0100 Subject: [PATCH] Add technologies page --- ssg/.eleventy.js | 9 +++++++++ ssg/src/_includes/footer.njk | 2 ++ ssg/src/technologies.md | 15 +++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 ssg/src/technologies.md diff --git a/ssg/.eleventy.js b/ssg/.eleventy.js index b628922..8d0c6c7 100644 --- a/ssg/.eleventy.js +++ b/ssg/.eleventy.js @@ -1,4 +1,6 @@ // const { eleventyImageTransformPlugin } = require("@11ty/eleventy-img"); +const markdownIt = require("markdown-it"); + module.exports = function (eleventyConfig) { eleventyConfig.setLiquidOptions({ @@ -10,6 +12,13 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy("src/css"); eleventyConfig.addPassthroughCopy("src/img"); eleventyConfig.addPassthroughCopy("src/assets"); + let options = { + html: true, + breaks: true, + linkify: true, + }; + + eleventyConfig.setLibrary("md", markdownIt(options)); return { dir: { input: "src", diff --git a/ssg/src/_includes/footer.njk b/ssg/src/_includes/footer.njk index a65364b..85fbee8 100644 --- a/ssg/src/_includes/footer.njk +++ b/ssg/src/_includes/footer.njk @@ -4,5 +4,7 @@ Built with 11ty | Source Code + | + I <3 FLOSS

\ No newline at end of file diff --git a/ssg/src/technologies.md b/ssg/src/technologies.md new file mode 100644 index 0000000..fc97998 --- /dev/null +++ b/ssg/src/technologies.md @@ -0,0 +1,15 @@ +--- +layout: layouts/base.njk +name: technologies +--- + +# Technologies + +Here's a list of technologies used in this website: + +* [FontAwesome provided some icons](https://fontawesome.com/) +* [SimpleIcons provided most of the icons under /img](https://simpleicons.org/) +* [11ty is now used for static-site generation with additional features](https://11ty.dev) +* [Caddy is used to actually host the site](https://caddyserver.com/) + +