This commit is contained in:
parent
eece2926cc
commit
7fed4dbcdd
@ -28,10 +28,18 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
linkToMore: "/tags/blog" as SimpleSlug,
|
linkToMore: "/tags/blog" as SimpleSlug,
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
Component.DesktopOnly(
|
||||||
|
Component.RecentNotes({
|
||||||
|
title: "🌲 Evergreen",
|
||||||
|
limit: 2,
|
||||||
|
filter: f => f.frontmatter?.tags?.includes('evergreen') && !['now', 'contact', 'uses'].includes(f.slug),
|
||||||
|
linkToMore: "/tags/evergreen" as SimpleSlug,
|
||||||
|
}),
|
||||||
|
),
|
||||||
Component.DesktopOnly(
|
Component.DesktopOnly(
|
||||||
Component.RecentNotes({
|
Component.RecentNotes({
|
||||||
title: "ls -al /var/log/public",
|
title: "ls -al /var/log/public",
|
||||||
limit: 3,
|
limit: 1,
|
||||||
filter: f => f.slug!.startsWith("log/") && f.slug! !== "log/index" && !f.frontmatter?.noindex,
|
filter: f => f.slug!.startsWith("log/") && f.slug! !== "log/index" && !f.frontmatter?.noindex,
|
||||||
linkToMore: "/tags/log" as SimpleSlug,
|
linkToMore: "/tags/log" as SimpleSlug,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user