Версия 1.2.9 Подпись под статьей об авторах перенесена - теперь до галереи.

This commit is contained in:
anibilag 2025-11-05 16:51:03 +03:00
parent 4497c5895e
commit 1abdd57f8f
2 changed files with 36 additions and 30 deletions

View File

@ -1,9 +1,15 @@
User-agent: * User-agent: *
Allow: / Allow: /
Allow: /article/
# Disallow admin routes
Disallow: /admin/ Disallow: /admin/
Disallow: /admin/* Disallow: /admin/*
Disallow: /search
Disallow: /search*
Disallow: /*?page=
Disallow: /*?category=
# Sitemap # Sitemap
Sitemap: https://xn--80aefrggdxongffce6aw8g.xn--p1ai/sitemap.xml Sitemap: https://xn--80aefrggdxongffce6aw8g.xn--p1ai/sitemap.xml
Host: https://xn--80aefrggdxongffce6aw8g.xn--p1ai

View File

@ -205,22 +205,6 @@ export function ArticlePage() {
</div> </div>
</div> </div>
{/* Photo Gallery */}
{articleData.gallery && articleData.gallery.length > 0 && (
<div className="mb-8">
<h2 className="text-2xl font-bold text-gray-900 mb-4">Фото галерея</h2>
<PhotoGallery images={articleData.gallery} />
</div>
)}
{/* Article Footer */}
<div className="border-t pt-4">
{error && (
<div className="mb-4 text-sm text-red-600">
{error}
</div>
)}
{/* Авторы */} {/* Авторы */}
<div className="text-sm text-gray-600 text-right"> <div className="text-sm text-gray-600 text-right">
{(() => { {(() => {
@ -249,6 +233,22 @@ export function ArticlePage() {
})()} })()}
</div> </div>
{/* Photo Gallery */}
{articleData.gallery && articleData.gallery.length > 0 && (
<div className="mb-8">
<h2 className="text-2xl font-bold text-gray-900 mb-4">Фото галерея</h2>
<PhotoGallery images={articleData.gallery} />
</div>
)}
{/* Article Footer */}
<div className="border-t pt-4">
{error && (
<div className="mb-4 text-sm text-red-600">
{error}
</div>
)}
<ReactionButtons <ReactionButtons
likes={articleData.likes} likes={articleData.likes}
dislikes={articleData.dislikes} dislikes={articleData.dislikes}