From 2089a6e05de0fa49617994c14265329e9a141767 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Tue, 3 Jun 2025 16:22:08 +0300 Subject: [PATCH] fix author color --- templates/blogPage.html | 2 +- templates/partials/featuredBlog.html | 6 ++++-- templates/partials/featuredNews.html | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/templates/blogPage.html b/templates/blogPage.html index 9c171eaf2..ae4d2cbee 100644 --- a/templates/blogPage.html +++ b/templates/blogPage.html @@ -55,7 +55,7 @@ -
+
{% if author %} {{ author.title }} diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html index 5875b4c84..2ffc7aaeb 100644 --- a/templates/partials/featuredBlog.html +++ b/templates/partials/featuredBlog.html @@ -27,7 +27,8 @@ {% set author_path = 'people/' ~ author ~ '/index.md' %} {% set author = get_page(path=author_path) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %} - --> + {{ author.title }} {{ author.title }} + " /> {{ author.title }} + {% endfor %} diff --git a/templates/partials/featuredNews.html b/templates/partials/featuredNews.html index 50e03c627..2cd7f8f75 100644 --- a/templates/partials/featuredNews.html +++ b/templates/partials/featuredNews.html @@ -19,7 +19,8 @@ {% set author_path = 'people/' ~ author ~ '/index.md' %} {% set author = get_page(path=author_path) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %} - --> + {{ author.title }} {{ author.title }} + " /> {{ author.title }} + {% endfor %}