diff --git a/public/robots.txt b/public/robots.txt index 78c643e..03a2b64 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,9 +1,15 @@ User-agent: * Allow: / +Allow: /article/ -# Disallow admin routes Disallow: /admin/ Disallow: /admin/* +Disallow: /search +Disallow: /search* +Disallow: /*?page= +Disallow: /*?category= # Sitemap -Sitemap: https://xn--80aefrggdxongffce6aw8g.xn--p1ai/sitemap.xml \ No newline at end of file +Sitemap: https://xn--80aefrggdxongffce6aw8g.xn--p1ai/sitemap.xml + +Host: https://xn--80aefrggdxongffce6aw8g.xn--p1ai \ No newline at end of file diff --git a/src/pages/ArticlePage.tsx b/src/pages/ArticlePage.tsx index d7b0b1e..d3f0d35 100644 --- a/src/pages/ArticlePage.tsx +++ b/src/pages/ArticlePage.tsx @@ -205,6 +205,34 @@ export function ArticlePage() { + {/* Авторы */} +
+ {writerAuthors.map((a, i) => ( + + {a.author.displayName} + {i < writerAuthors.length - 1 ? ', ' : ''} + + ))} +
+ )} + {photographer && ( ++ Фото:{' '} + {photographer.author.displayName} +
+ )} + > + ); + })()} +- {writerAuthors.map((a, i) => ( - - {a.author.displayName} - {i < writerAuthors.length - 1 ? ', ' : ''} - - ))} -
- )} - {photographer && ( -- Фото:{' '} - {photographer.author.displayName} -
- )} - > - ); - })()} -