-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
25 changed files
with
115 additions
and
50 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
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,10 +1,12 @@ | ||
// 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 featured = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse().slice(0, 1); | ||
const feed = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse(); | ||
|
||
module.exports = { | ||
posts, | ||
feed, | ||
latest, | ||
featured, | ||
}; |
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,8 +8,8 @@ module.exports = { | |
? "http://localhost:8080" | ||
: "https://recipe.polente.de", | ||
robots: "index, follow", | ||
themeColor: "#FFFFFF", | ||
backgroundColor: "#FFFFFF", | ||
themeColor: "#fefbdc", | ||
backgroundColor: "#fefbdc", | ||
author: { | ||
name: "Holger Hellinger", | ||
email: "[email protected]", | ||
|
@@ -25,7 +25,7 @@ module.exports = { | |
type: "website", | ||
image: { | ||
rel: "/og-default.png", | ||
alt: "Default OG image displayed here", | ||
alt: "A nice AI generated Dish", | ||
}, | ||
}, | ||
}; |
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
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
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 |
---|---|---|
|
@@ -23,6 +23,7 @@ h1 { | |
|
||
h2 { | ||
@extend %heading-2; | ||
margin-bottom: 0.25em; | ||
} | ||
|
||
h3 { | ||
|
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ul.recipe-ul { | ||
display: grid; | ||
grid-gap: 1em; | ||
grid-template-columns: 1fr; | ||
|
||
@extend %list-reset; | ||
|
||
time { | ||
display: block; | ||
font-style: italic; | ||
text-align: right; | ||
margin-top: 0.25em; | ||
} | ||
|
||
li { | ||
border-bottom: 1px solid var(--color-border-default); | ||
padding-bottom: 0.25em; | ||
} | ||
} | ||
@media only screen and (min-width: 480px) { | ||
ul.recipe-ul { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
aside ul.recipe-ul { | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 960px) { | ||
ul.recipe-ul { | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
} | ||
aside ul.recipe-ul { | ||
grid-template-columns: 1fr 1fr 1fr; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1100px) { | ||
aside ul.recipe-ul { | ||
grid-template-columns: 1fr; | ||
} | ||
} |
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
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
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
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
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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