-
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
a45fcfd
commit fd2160c
Showing
8 changed files
with
38 additions
and
7 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,12 +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 spot = i => i.getFilteredByGlob("./src/content/posts/*.md").reverse().slice(0, 1); | ||
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, | ||
spot, | ||
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
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
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