From 753fb2baeb1d46953fd10806c0ca0d64e9a72107 Mon Sep 17 00:00:00 2001 From: Ava Gaiety W Date: Sun, 24 Mar 2024 11:35:37 -0500 Subject: [PATCH] styled categories and content --- .eleventy.js | 4 ++-- _includes/category.njk | 29 ++++++++++++----------------- _includes/content.njk | 20 ++++++++++---------- community/index.md | 3 ++- uses/index.md | 14 +++----------- 5 files changed, 29 insertions(+), 41 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index b392692..5181779 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -10,7 +10,7 @@ const markdownClassMapping = { h3: ['text-2xl', 'mt-4', 'text-text'], h4: ['text-xl', 'mt-2', 'text-text'], h5: ['text-lg', 'mt-2', 'text-text'], - h6: ['font-bold', 'mt-2', 'text-text'], + h6: ['mt-2', 'text-text'], blockquote: ['border-l-2', 'border-lavender', 'px-4', 'pt-4', 'pb-px', 'my-8', 'bg-base'], a: ['link'], s: ['text-red'], @@ -18,7 +18,7 @@ const markdownClassMapping = { strong: ['font-normal', 'text-yellow'], em: ['italic', 'text-green'], img: ['max-w-full', 'rounded-lg', 'max-h-600px'], - ul: ['list-disc', 'ml-4'], + ul: ['list-disc', 'ml-4', 'text-subtext0'], }; module.exports = function(eleventyConfig) { diff --git a/_includes/category.njk b/_includes/category.njk index 48825e5..325622f 100644 --- a/_includes/category.njk +++ b/_includes/category.njk @@ -1,35 +1,30 @@ {% include "base-header.html" %}
-
+
-

+

{{ page.fileSlug | capitalize }} -

-
- {{ description | safe }} + +
+ {{ description | markdown | safe }}
diff --git a/_includes/content.njk b/_includes/content.njk index 2c68f54..c66ed35 100644 --- a/_includes/content.njk +++ b/_includes/content.njk @@ -1,21 +1,21 @@ {% include "base-header.html" %} -
+
-
-

+
+

{{ title }} - - in {{ tags[0] | capitalize }} - + + in {{ tags[0] | capitalize }} +

-
-

{{description}}

-
+

+ {{description | markdown | safe}} +

-
+
{{ content | safe }}
diff --git a/community/index.md b/community/index.md index 39ce21b..fcbb0ff 100644 --- a/community/index.md +++ b/community/index.md @@ -1,6 +1,7 @@ --- layout: category.njk -description: 🤝 Trying to do a little good in the world — View my public speaking profile on notist +description: + 🤝 Trying to do a little good in the world — [View my public speaking profile on notist](https://noti.st/gaiety) eleventyExcludeFromCollections: true --- diff --git a/uses/index.md b/uses/index.md index 68ea71d..2663ba5 100644 --- a/uses/index.md +++ b/uses/index.md @@ -2,7 +2,7 @@ layout: content.njk tags: uses title: About -description: 🐕 Canine pretending to be a web engineer addicted to design 💻 Fae/She +description: 🐕 Someone taught a dog to code and now it's everyone's ~~problem~~ fortune 💻 ([Fae/Femme/Faer](https://pronoun.monster/fae/faer/faer/femme/femmeself) or [She/Her](https://pronoun.monster/she/her/her/hers/herself)) date: 2020-01-14 --- @@ -49,16 +49,8 @@ _Also running a personal home server for side projects, offline data storage and * [Blackwing Pencils](https://blackwing602.com/) ✏️ * Spray Paint -* Acrylics - -#### YouTube - -[Channel: Faetale](https://faetale.com/) - -* Adobe Premiere +* Acrylics 🖌️ * [EOS M50 Mark II Content Creator Kit](https://shop.usa.canon.com/shop/en/catalog/eos-m50-mark-ii-content-creator-kit) ---- - -Curious what other developers use? Check out [wesbos/awesome-uses](https://github.com/wesbos/awesome-uses) +_Curious what other developers use? Check out [wesbos/awesome-uses](https://github.com/wesbos/awesome-uses)_