From c470feb3cd1f496bbd585b1d35ae4510aadf3db7 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Tue, 3 Jun 2025 16:58:38 +0300 Subject: [PATCH] update tags page style --- config.toml | 8 ++++---- content/_index.md | 4 ++-- content/blog/_index.md | 2 +- content/newsroom/_index.md | 2 +- templates/partials/tagCard.html | 8 ++++---- templates/partials/tagsCards.html | 2 +- templates/partials/tagsSidebar.html | 6 +++--- templates/tags/single.html | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/config.toml b/config.toml index 05ac2c06f..2398112bc 100644 --- a/config.toml +++ b/config.toml @@ -6,12 +6,12 @@ title = "ThreeFold" description = "Our global digital backbone" # When set to "true", a feed is automatically generated. -generate_feed = true +#generate_feed = true # The filename to use for the feed. Used as the template filename, too. # Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed. # There is also a built-in template "rss.xml" that renders an RSS 2.0 feed. -feed_filename = "atom.xml" +#feed_filename = "atom.xml" # The number of articles to include in the feed. All items are included if # this limit is not set (the default). @@ -51,8 +51,8 @@ external_links_no_referrer = true # For example, `...` into `…`, `"quote"` into `“curly”` etc smart_punctuation = true -[build] -not_found = "404.md" +#[build] +#not_found = "404.md" [[taxonomies]] name = "categories" diff --git a/content/_index.md b/content/_index.md index c0b1dada0..a3cd9ae76 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,8 +1,8 @@ --- title: "ThreeFold" description: "TF offers a secure, sovereign infrastructure layer for the Internet, delivering unparalleled scalability, incorruptible and permanent data storage, AI and Web2/Web3/Edge compatibility, and 100% uptime for a resilient digital future." # quotation marks to allow colons where used -date: 2018-09-14T21:00:00-05:00 -updated: 2021-02-20T14:40:00-06:00 +#date: 2018-09-14T21:00:00-05:00 +#updated: 2021-02-20T14:40:00-06:00 draft: false extra: author: ThreeFold diff --git a/content/blog/_index.md b/content/blog/_index.md index 1fa4f4927..d0c031738 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -12,7 +12,7 @@ insert_anchor_links: "left" template: "layouts/blog.html" page_template: "blogPage.html" #transparent: true -generate_feed: true +#generate_feed: true extra: imgPath: tf.png --- diff --git a/content/newsroom/_index.md b/content/newsroom/_index.md index 1c83d60ae..9c19f435a 100644 --- a/content/newsroom/_index.md +++ b/content/newsroom/_index.md @@ -12,7 +12,7 @@ insert_anchor_links: "left" template: "layouts/newsroom.html" page_template: "newsPage.html" #transparent: true -generate_feed: true +#generate_feed: true extra: imgPath: newsroom.png --- \ No newline at end of file diff --git a/templates/partials/tagCard.html b/templates/partials/tagCard.html index 934f9ab16..1ad890e75 100644 --- a/templates/partials/tagCard.html +++ b/templates/partials/tagCard.html @@ -1,4 +1,4 @@ -
+
@@ -6,13 +6,13 @@ {%endif %}
-
@@ -16,7 +16,7 @@ let activeCategory = window.location.pathname.split("/")[2] if (typeof activeCategory === "undefined") { activeLink = document.getElementById("all") } else { activeLink = document.getElementById(activeCategory) } - activeLink.className = activeLink.className.replace("text-black font-normal", "text-black font-semibold"); + activeLink.className = activeLink.className.replace("text-gray-300 font-normal", "text-gray-300 font-semibold"); } setActiveCategory() diff --git a/templates/tags/single.html b/templates/tags/single.html index 025e23ecd..cbadd8057 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -4,7 +4,7 @@
-
+
{% include "partials/tagsCards.html" %} {% include "partials/tagsSidebar.html" %}