From 540fda985c75e4a6b29789cb56958dc30602987d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Demirel?= Date: Mon, 29 Jun 2026 21:23:28 +0300 Subject: [PATCH] fix: align English tag detail and article pages with Turkish versions - Fix tag detail page: remove orphan text, move article list inside container - Add missing Discussion component to English article pages --- src/pages/en/articles/[slug].astro | 3 +++ src/pages/en/tags/[slug].astro | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/en/articles/[slug].astro b/src/pages/en/articles/[slug].astro index e893efb..d36285e 100644 --- a/src/pages/en/articles/[slug].astro +++ b/src/pages/en/articles/[slug].astro @@ -6,6 +6,7 @@ import ReadingProgress from '../../../components/ReadingProgress.astro' import TableOfContents from '../../../components/TableOfContents.astro' import ArticleNav from '../../../components/ArticleNav.astro' import ArticleViews from '../../../components/ArticleViews.astro' +import Discussion from '../../../components/discussion/Discussion.tsx' import { getCollection, render } from 'astro:content' import { SITE } from '../../../config.mjs' import { t } from '../../../i18n/index.ts' @@ -155,6 +156,8 @@ const onThisPageLabel = t(labels, 'article.onThisPage') + + diff --git a/src/pages/en/tags/[slug].astro b/src/pages/en/tags/[slug].astro index eb34620..61afb26 100644 --- a/src/pages/en/tags/[slug].astro +++ b/src/pages/en/tags/[slug].astro @@ -37,12 +37,8 @@ const tagArticles = allArticles.filter( #{tag.slug}

{tag.description}

- {tagArticles.length} - {t(labels, 'tags.articlesTagged')} - #{tag.slug}. - -
+
{ tagArticles.length === 0 ? (
@@ -76,4 +72,5 @@ const tagArticles = allArticles.filter( ) }
+