chore: update to 11ty 1.0.0
@@ -86,7 +86,7 @@ module.exports = function (config) {
|
|||||||
layouts: 'layouts',
|
layouts: 'layouts',
|
||||||
output: 'dist',
|
output: 'dist',
|
||||||
},
|
},
|
||||||
templateFormats: ['njk', 'md', '11ty.js', 'jpg', 'png', 'svg'],
|
templateFormats: ['njk', 'md', '11ty.js'],
|
||||||
htmlTemplateEngine: 'njk',
|
htmlTemplateEngine: 'njk',
|
||||||
dataTemplateEngine: 'njk',
|
dataTemplateEngine: 'njk',
|
||||||
markdownTemplateEngine: 'njk',
|
markdownTemplateEngine: 'njk',
|
||||||
|
|||||||
1074
package-lock.json
generated
@@ -32,7 +32,7 @@
|
|||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"homepage": "https://hamburg.stefanimhoff.de",
|
"homepage": "https://hamburg.stefanimhoff.de",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@11ty/eleventy": "^0.12.1",
|
"@11ty/eleventy": "1.0.0",
|
||||||
"@11ty/eleventy-plugin-rss": "^1.1.1",
|
"@11ty/eleventy-plugin-rss": "^1.1.1",
|
||||||
"autoprefixer": "^10.2.5",
|
"autoprefixer": "^10.2.5",
|
||||||
"babelify": "^10.0.0",
|
"babelify": "^10.0.0",
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 358 KiB After Width: | Height: | Size: 358 KiB |
|
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 371 KiB |
|
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
@@ -7,7 +7,7 @@
|
|||||||
<li class="homepage-districts-item" {{ site.animation }}>
|
<li class="homepage-districts-item" {{ site.animation }}>
|
||||||
<a class="homepage-districts-item-link" href="{{ item.url }}">
|
<a class="homepage-districts-item-link" href="{{ item.url }}">
|
||||||
<div class="image-shadow">
|
<div class="image-shadow">
|
||||||
<img src="/assets/images/districts/thumbnails/hamburg-{{ item.data.title | slug }}-450px.jpg" class="homepage-districts-item-image" alt="#">
|
<img src="/assets/images/districts/thumbnails/hamburg-{{ item.data.title | slugify }}-450px.jpg" class="homepage-districts-item-image" alt="#">
|
||||||
</div>
|
</div>
|
||||||
<h3 class="homepage-districts-item-headline">
|
<h3 class="homepage-districts-item-headline">
|
||||||
{{ item.data.title }}
|
{{ item.data.title }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ css: district.css
|
|||||||
{% set nextPost = collections.districts | sortByTitle | getNextCollectionItem(page) %}
|
{% set nextPost = collections.districts | sortByTitle | getNextCollectionItem(page) %}
|
||||||
|
|
||||||
<div class="image-shadow district-hero-container">
|
<div class="image-shadow district-hero-container">
|
||||||
<img class="district-hero" src="/assets/images/hero/hamburg-{{ title | slug }}.jpg" alt="{{ title }}"/>
|
<img class="district-hero" src="/assets/images/hero/hamburg-{{ title | slugify }}.jpg" alt="{{ title }}"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="district-title">
|
<div class="district-title">
|
||||||
|
|||||||