diff --git a/assets/.htaccess b/assets/.htaccess index e29580d..11dcd49 100644 --- a/assets/.htaccess +++ b/assets/.htaccess @@ -1,14 +1,13 @@ RewriteEngine On - RewriteRule ^projekte.xml https://toolbox-bodensee.de/feed_projekte.xml - RewriteRule ^f33d.xml https://toolbox-bodensee.de/feed_projekte.xml - RewriteRule ^feed.xml https://toolbox-bodensee.de/feed_blog.xml + RewriteRule ^rezepte.xml https://c3woc.de/feed_rezepte.xml + RewriteRule ^feed.xml https://c3woc.de/feed_blog.xml ### Redirect certain domains to ffbsee.net RewriteCond %{HTTP_HOST} ^toolbox\.cyber\.yt [NC,OR] - RewriteCond %{HTTP_HOST} ^www\.toolbox-bodensee\.de [NC] - RewriteRule (.*) https://toolbox-bodensee.de/$1 [R=301,L] + RewriteCond %{HTTP_HOST} ^www\.c3woc\.de [NC] + RewriteRule (.*) https://c3woc.de/$1 [R=301,L] # COMPRESSION WITH MOD_DEFLATE diff --git a/templates/feed_projekte.xml b/templates/feed_projekte.xml index 22491b8..dd7f292 100644 --- a/templates/feed_projekte.xml +++ b/templates/feed_projekte.xml @@ -5,19 +5,18 @@ set search = "rezept" %} {% if bag('translate', this.alt, 'projectfeed') %}{{ bag('translate', this.alt, 'projectfeed') }}{% else %}Rezepte des C3WOC{% endif %} - {{ baseurl }}feed_projekte.xml + {{ baseurl }}feed_rezepte.xml {{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z - + {% if this.author %}{{ this.author }}{% else %}C3WOC{% endif %} {% - set pages = site.query('/projekte').include_undiscoverable(true).all() %}{% + set pages = site.query('/rezept').include_undiscoverable(true).all() %}{% for page in pages %}{% if not page._hidden %} {{ page.title }} {{ baseurl }}{{ search }}/{{ page._id }} - {{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z {% if page.author %}{{ page.author }}{% else %}C3WOC{% endif %}