mirror of
https://github.com/kogakure/website-11ty-hamburg.stefanimhoff.de.git
synced 2026-02-03 20:25:30 +00:00
fix: wrong site url and sitemap
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = {
|
|||||||
buildTime: new Date(),
|
buildTime: new Date(),
|
||||||
title: 'Exploring Hamburg',
|
title: 'Exploring Hamburg',
|
||||||
description: 'Street by Street, District by District',
|
description: 'Street by Street, District by District',
|
||||||
url: 'https://www.kogakure.de',
|
url: 'https://hamburg.stefanimhoff.de',
|
||||||
author: 'Stefan Imhoff',
|
author: 'Stefan Imhoff',
|
||||||
twitter: '@kogakure',
|
twitter: '@kogakure',
|
||||||
faviconPath: '/assets/images/branding/favicons/',
|
faviconPath: '/assets/images/branding/favicons/',
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ eleventyExcludeFromCollections: true
|
|||||||
{%- for item in collections.all -%}
|
{%- for item in collections.all -%}
|
||||||
{%- if not item.data.excludeFromSitemap and item.url -%}
|
{%- if not item.data.excludeFromSitemap and item.url -%}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ item.url | url | absoluteUrl(meta.url) }}</loc>
|
<loc>{{ site.url }}{{ item.url | url | absoluteUrl(meta.url) }}</loc>
|
||||||
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
|
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user