Skip to content

Commit

Permalink
Smaller fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rawsta committed Aug 2, 2024
1 parent 914f54f commit 9201576
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"printWidth": 90,
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": false,
"bracketSpacing": true,
"quoteProps": "consistent",
"trailingComma": "none",
"arrowParens": "avoid",
Expand Down
4 changes: 4 additions & 0 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const {
// module import collections
const {
getAllPosts,
getAllSnippets,
onlyMarkdown,
tagList
} = require( './config/collections/index.js' );
Expand Down Expand Up @@ -71,6 +72,8 @@ module.exports = eleventyConfig => {
eleventyConfig.addLayoutAlias( 'page', 'page.njk' );
eleventyConfig.addLayoutAlias( 'blog', 'blog.njk' );
eleventyConfig.addLayoutAlias( 'post', 'post.njk' );
eleventyConfig.addLayoutAlias( 'snippet', 'snippet.njk' );
eleventyConfig.addLayoutAlias( 'snippets', 'snippets.njk' );
eleventyConfig.addLayoutAlias( 'tags', 'tags.njk' );


Expand Down Expand Up @@ -112,6 +115,7 @@ module.exports = eleventyConfig => {

// --- [ CUSTOM COLLECTIONS ] ---
eleventyConfig.addCollection( 'posts', getAllPosts );
eleventyConfig.addCollection( 'snippets', getAllSnippets );
eleventyConfig.addCollection( 'onlyMarkdown', onlyMarkdown );
eleventyConfig.addCollection( 'tagList', tagList );

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dev:11ty": "eleventy --serve --watch",
"build:11ty": "eleventy",
"start": "run-p dev:*",
"start:debug": "DEBUG=Eleventy* npm start",
"start:debug": "DEBUG=Eleventy* npm @11ty/eleventy",
"build": "run-s clean build:*"
},
"keywords": [
Expand Down
11 changes: 10 additions & 1 deletion src/pages/legal.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ description: 'Mein eigenes kleines Impressum'
layout: page
---

Edit your details in `_data/personal.yaml`
## Angaben gemäß § 5 TMG:

{{ personal.address }}

### Kontakt

E-Mail: `rawsta [at] rawsta [dot] de`


## Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV:

{{ personal.address }}

0 comments on commit 9201576

Please sign in to comment.