feat(rss): полный текст и обложки в RSS-ленте, лимит 5 постов

- hugo.toml: ShowFullTextinRSS=true, [services.RSS] limit=5
- тема rDedInit rss.xml: prepend cover (figure.entry-cover, absURL) в content:encoded
- openspec change rss-full-feed (план A реализован)
This commit is contained in:
2026-09-08 20:04:44 +00:00
parent 827d40609e
commit cb4decb672
10 changed files with 261 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
# Tasks: RSS Full Feed
## 1. Конфигурация
- [x] 1.1 В `hugo.toml`, в секции `[params]`, добавить `ShowFullTextinRSS = true`
- [x] 1.2 В `hugo.toml`, в секции `[services]`, добавить `[services.RSS]` с `limit = 5`
- [x] 1.3 В `themes/rDedInit/layouts/_default/rss.xml` добавить prepend обложки
(figure.entry-cover с absURL) в `<content:encoded>`
## 2. Сборка и проверка
- [x] 2.1 Выполнить `hugo --minify` — сборка без ошибок
- [x] 2.2 Проверить `grep -c '<item>' public/index.xml` == 5
- [x] 2.3 Проверить `grep -c 'content:encoded' public/index.xml` == 5
- [x] 2.4 Проверить, что `<content:encoded>` начинается с `<figure class="entry-cover">`
и содержит абсолютную ссылку на hero.svg (скриптом из design.md)
## 3. Git
- [x] 3.1 Закоммитить изменения (`hugo.toml`, openspec-артефакты)
- [ ] 3.2 Запушить в origin (gitverse.ru) — после согласования с пользователем
## 4. Деплой (по согласованию с пользователем)
- [ ] 4.1 Выполнить `make deploy` (rsync на kpa39l.myjino.ru:2222)
- [ ] 4.2 Проверить `curl -s https://dedinit.ru/index.xml | grep -c '<item>'` == 5
и наличие `content:encoded`