-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Holger Hellinger
committed
Jan 19, 2024
1 parent
271d9cd
commit cd92b3e
Showing
7 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# Polente Recipes | ||
# Polente Recipes | ||
|
||
Find it here: [http://recipe.polente.de/](http://recipe.polente.de/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
// Collection for posts | ||
const posts = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse(); | ||
const latest = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse().slice(0, 3); | ||
const feed = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse(); | ||
const curated = i => | ||
i | ||
.getAllSorted() | ||
.filter(post => post.data.curated) | ||
.reverse(); | ||
|
||
module.exports = { | ||
posts, | ||
feed, | ||
curated, | ||
latest, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
<li><a href="{{ item.url }}">{{ item.data.title }}</a><time datetime="{{ item.date | dateToYYYYMMDD }}"> {{ item.date | dateToDMY }}</time></li> | ||
<li> | ||
<a href="{{ item.url }}"> | ||
{{ item.data.title }} | ||
</a> | ||
|
||
<time datetime="{{ item.date | dateToYYYYMMDD }}"> {{ item.date | dateToDMY }}</time> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,6 @@ pagination: | |
filter: | ||
- "all" | ||
- "posts" | ||
- "curated" | ||
- "latest" | ||
permalink: "/tag/{{ tag | slug }}/" | ||
--- |