update tags page style

This commit is contained in:
2025-06-03 16:58:38 +03:00
parent 2089a6e05d
commit c470feb3cd
8 changed files with 17 additions and 17 deletions

View File

@@ -6,12 +6,12 @@ title = "ThreeFold"
description = "Our global digital backbone" description = "Our global digital backbone"
# When set to "true", a feed is automatically generated. # 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. # 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. # 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. # 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 # The number of articles to include in the feed. All items are included if
# this limit is not set (the default). # this limit is not set (the default).
@@ -51,8 +51,8 @@ external_links_no_referrer = true
# For example, `...` into `…`, `"quote"` into `“curly”` etc # For example, `...` into `…`, `"quote"` into `“curly”` etc
smart_punctuation = true smart_punctuation = true
[build] #[build]
not_found = "404.md" #not_found = "404.md"
[[taxonomies]] [[taxonomies]]
name = "categories" name = "categories"

View File

@@ -1,8 +1,8 @@
--- ---
title: "ThreeFold" 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 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 #date: 2018-09-14T21:00:00-05:00
updated: 2021-02-20T14:40:00-06:00 #updated: 2021-02-20T14:40:00-06:00
draft: false draft: false
extra: extra:
author: ThreeFold author: ThreeFold

View File

@@ -12,7 +12,7 @@ insert_anchor_links: "left"
template: "layouts/blog.html" template: "layouts/blog.html"
page_template: "blogPage.html" page_template: "blogPage.html"
#transparent: true #transparent: true
generate_feed: true #generate_feed: true
extra: extra:
imgPath: tf.png imgPath: tf.png
--- ---

View File

@@ -12,7 +12,7 @@ insert_anchor_links: "left"
template: "layouts/newsroom.html" template: "layouts/newsroom.html"
page_template: "newsPage.html" page_template: "newsPage.html"
#transparent: true #transparent: true
generate_feed: true #generate_feed: true
extra: extra:
imgPath: newsroom.png imgPath: newsroom.png
--- ---

View File

@@ -1,4 +1,4 @@
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden"> <div class="flex flex-col rounded-lg shadow-lg overflow-hidden border border-gray-600">
<div class="flex-1"> <div class="flex-1">
<a href={{ post.permalink }} class="block"> <a href={{ post.permalink }} class="block">
<div class="flex-shrink-0"> <div class="flex-shrink-0">
@@ -6,13 +6,13 @@
<img class="h-48 w-full mx-auto object-cover" src={{ post.permalink }}{{post.extra.imgPath}} alt="" /> <img class="h-48 w-full mx-auto object-cover" src={{ post.permalink }}{{post.extra.imgPath}} alt="" />
{%endif %} {%endif %}
</div> </div>
<div class="flex-1 bg-white p-6 flex flex-col justify-between"> <div class="flex-1 p-6 flex flex-col justify-between">
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-900 text-left not-italic"> <h3 class="mt-2 text-xl leading-7 font-medium text-gray-100 text-left not-italic">
{{ post.title }} {{ post.title }}
</h3> </h3>
{% if post.description %} {% if post.description %}
<p class="mt-3 text-sm font-normal leading-6 text-gray-500 text-left"> <p class="mt-3 text-sm font-normal leading-6 text-gray-300 text-left">
{{ post.description }} {{ post.description }}
</p> </p>
{% endif %} {% endif %}

View File

@@ -18,7 +18,7 @@
{% include "partials/tagCard.html" %} {% include "partials/tagCard.html" %}
{%endif%} {%- endfor %} {%endif%} {%- endfor %}
</div> </div>
<hr class="mt-6" /> <hr class="my-10 border-gray-700" />
<p class="text-center text-sm mt-2 mb-16"> <p class="text-center text-sm mt-2 mb-16">
{% if paginator.previous %} {% if paginator.previous %}
<a <a

View File

@@ -1,12 +1,12 @@
<div class="mx-8 md:mx-4 flex flex-col"> <div class="mx-8 md:mx-4 flex flex-col">
<div class="flex flex-col mb-12 mr-8 lg:mr-24"> <div class="flex flex-col mb-12 mr-8 lg:mr-24">
<h4 class="text-base not-italic font-medium leading-6 text-gray-600 mb-6"> FILTER BY</h4> <h4 class="text-base not-italic font-medium leading-6 text-white mb-6"> FILTER BY</h4>
{% set taxonomy = get_taxonomy(kind="tags") %} {% set taxonomy = get_taxonomy(kind="tags") %}
{% set tags = taxonomy.items %} {% set tags = taxonomy.items %}
{% for tag in tags %} {% for tag in tags %}
{% set path = tag.name | slugify %} {% set path = tag.name | slugify %}
{% set fullpath = "/tags/" ~ path %} {% set fullpath = "/tags/" ~ path %}
<a id="{{path}}" class="mb-3 text-black font-normal" href={{fullpath}}> #{{tag.name}} </a> <a id="{{path}}" class="mb-3 text-gray-300 font-normal" href={{fullpath}}> #{{tag.name}} </a>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
@@ -16,7 +16,7 @@
let activeCategory = window.location.pathname.split("/")[2] let activeCategory = window.location.pathname.split("/")[2]
if (typeof activeCategory === "undefined") { activeLink = document.getElementById("all") } if (typeof activeCategory === "undefined") { activeLink = document.getElementById("all") }
else { activeLink = document.getElementById(activeCategory) } 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() setActiveCategory()

View File

@@ -4,7 +4,7 @@
<main class="pt-16"> <main class="pt-16">
<div class="flex flex-col md:flex-row"> <div class="flex flex-col md:flex-row container mx-auto my-6">
{% include "partials/tagsCards.html" %} {% include "partials/tagsCards.html" %}
{% include "partials/tagsSidebar.html" %} {% include "partials/tagsSidebar.html" %}
</div> </div>