feat: add the RSS icon to the footer and make the news English only
- show the RSS icon in every footer, linked to /news/feed.xml - write news in English only: the Italian pages list the same posts and link to them - build a single feed instead of one per language - send the language switch of the news pages to the home page of the other language - document the English-only news in the README
This commit is contained in:
parent
7bc7b8789f
commit
8270863f9f
3 changed files with 30 additions and 36 deletions
|
|
@ -6,7 +6,7 @@ home_link = "/it/"
|
|||
url_manifesto = "/it/manifesto.html"
|
||||
url_people = "/it/persone.html"
|
||||
url_services = "/it/servizi.html"
|
||||
url_news = "/it/news/"
|
||||
url_news = "/news/"
|
||||
nav_manifesto = "Manifesto"
|
||||
nav_people = "Persone"
|
||||
nav_services = "Servizi"
|
||||
|
|
@ -16,6 +16,6 @@ nojs = "Questa pagina non usa JavaScript, cookie né tracker."
|
|||
back = "home"
|
||||
version = "Versione"
|
||||
toc = "Indice"
|
||||
news_p = "Novità da kmalloc.org."
|
||||
news_p = "Novità da kmalloc.org, scritte in inglese."
|
||||
news_all = "tutte le news"
|
||||
news_empty = "Ancora nessuna news."
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
id: news
|
||||
path: /it/news/
|
||||
nav: news
|
||||
title: kmalloc.org: News
|
||||
description: Novità da kmalloc.org.
|
||||
---
|
||||
<h1>News</h1>
|
||||
|
||||
<p>
|
||||
Novità da kmalloc.org.
|
||||
</p>
|
||||
|
||||
{{news_list}}
|
||||
|
||||
<p>
|
||||
<a href="{{url_news}}feed.xml">feed RSS</a>
|
||||
</p>
|
||||
Loading…
Reference in a new issue