From 0cb04d1205233fbcc5a1a481baeadd4b8c0f426b Mon Sep 17 00:00:00 2001 From: Bun Date: Tue, 1 Jul 2025 22:48:48 -0400 Subject: [PATCH] finally make tagging clickable, add blank content folders i will fill out later --- content/_index.md | 3 ++- content/blog/_index.md | 2 +- content/blog/defense.md | 2 +- content/hardware/_index.md | 6 ++++++ content/images/_index.md | 6 ++++++ content/software/_index.md | 6 ++++++ sass/style.scss | 8 ++++---- templates/blog-page.html | 7 ++++++- templates/blog.html | 4 +++- templates/tags/list.html | 1 + templates/tags/single.html | 9 +++++++-- 11 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 content/hardware/_index.md create mode 100644 content/images/_index.md create mode 100644 content/software/_index.md diff --git a/content/_index.md b/content/_index.md index f55b2e5..0c4c1a2 100644 --- a/content/_index.md +++ b/content/_index.md @@ -7,4 +7,5 @@ nixfox.ca is the home for both my personal projects as well as 'foss' services i if you'd like to suggest anything for my site, have any problems with the services, or would like to get in contact with me for any reason, check out my contact page! -this website is still under heavy construction, as I hope to introduce tagging and paging to my blog segment. +forgive me if the content seems barren! +this website is still under heavy construction, as i continue to add more content to each tag. diff --git a/content/blog/_index.md b/content/blog/_index.md index 48a9bc3..2ddb644 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,5 +1,5 @@ +++ -title = "the bunblogs" +title = "the personal bunblogs" sort_by = "date" template = "blog.html" page_template = "blog-page.html" diff --git a/content/blog/defense.md b/content/blog/defense.md index d5c6745..cd4c410 100644 --- a/content/blog/defense.md +++ b/content/blog/defense.md @@ -6,7 +6,7 @@ date = 2025-06-26 description = "a little rant about my own defense mechanisms" [taxonomies] -tags = [ "blog", "rants" ] +tags = [ "rants" ] +++ i have spent a lot of years playing both active and preemptive emotional defense. diff --git a/content/hardware/_index.md b/content/hardware/_index.md new file mode 100644 index 0000000..6a5fb48 --- /dev/null +++ b/content/hardware/_index.md @@ -0,0 +1,6 @@ ++++ +title = "my hardware chicanery" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/content/images/_index.md b/content/images/_index.md new file mode 100644 index 0000000..7a69d4e --- /dev/null +++ b/content/images/_index.md @@ -0,0 +1,6 @@ ++++ +title = "silly little images" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/content/software/_index.md b/content/software/_index.md new file mode 100644 index 0000000..47e484d --- /dev/null +++ b/content/software/_index.md @@ -0,0 +1,6 @@ ++++ +title = "software and such" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/sass/style.scss b/sass/style.scss index 94c5298..81fbf18 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,15 +1,15 @@ // Setup stuff * { font-family: 'IBM Plex Mono', monospace; - background-attachment: fixed; - background-repeat: no-repeat; - background-size: cover; top: 0; } +html { + background-color: #DDE1E9; +} + body { color: #141414; - background-color: #DDE1E9; padding-bottom: 5em; } diff --git a/templates/blog-page.html b/templates/blog-page.html index 680b5c4..9121479 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -4,6 +4,11 @@

{{ page.title }}

-

{{ page.date }} {{ page.taxonomies.tags }}

+

+ {{ page.date }}, + tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %} + + {% endfor -%} +

{{ page.content | safe }} {% endblock content %} diff --git a/templates/blog.html b/templates/blog.html index 009f200..1a1af3d 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -18,7 +18,9 @@
written: {{ page.date }}
- tags: {{ page.taxonomies.tags }} + tags: {%- for tag in page.taxonomies.tags | sort | unique(case_sensitive=false) %} + #{{ tag }} + {% endfor -%} {% endfor %} diff --git a/templates/tags/list.html b/templates/tags/list.html index d21e608..b69e2bb 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -7,6 +7,7 @@ {% block content %}

all tags

+

return to all blogs.