wiki level

This commit is contained in:
notplants 2022-07-25 11:01:23 +02:00
parent 3b74286696
commit 0a242325b9
29 changed files with 30 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const IndexPage = ({
}) => {
edges.sort((edge1, edge2) => edge1.node.frontmatter.title.length > edge2.node.frontmatter.title.length)
const Posts = edges
.filter(edge => !!edge.node.frontmatter.date) // You can filter your posts based on some criteria
.filter(edge => !!edge.node.frontmatter.date && edge.node.frontmatter.level === "1") // You can filter your posts based on some criteria
.map(edge => <PostLink key={edge.node.id} post={edge.node} />)
return (
<Layout hideFooter={true}>
@ -49,6 +49,7 @@ export const pageQuery = graphql`
path
title
draft
level
}
}
}

View File

@ -133,6 +133,7 @@ export const pageQuery = graphql`
path
title
draft
level
}
}
}

View File

@ -3,6 +3,7 @@ path: "/posts/p4p"
date: "2022-07-19T23:19:51.246Z"
title: "P4P"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/alternative-epistemologies"
date: "2022-07-19T23:19:51.246Z"
title: "Alternative Epistemologies"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/cms"
date: "2022-07-19T23:19:51.246Z"
title: "CMS & Static Site Generators"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/collapse"
date: "2022-07-19T23:19:51.246Z"
title: "Collapse"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/disconnection-practices"
date: "2022-07-19T23:19:51.246Z"
title: "Disconnection Practices"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/flat-earth"
date: "2022-07-19T23:19:51.246Z"
title: "Flat Earth"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/flower-sticks"
date: "2022-07-19T23:19:51.246Z"
title: "Flower Sticks"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/herbalism"
date: "2022-07-19T23:19:51.246Z"
title: "Herbalism"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/low-energy-computing"
date: "2022-07-19T23:19:51.246Z"
title: "Low-Energy Computing"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/meta"
date: "2022-07-19T23:19:51.246Z"
title: "Meta"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/misc"
date: "2022-07-19T23:19:51.246Z"
title: "Misc"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/mycology"
date: "2022-07-19T23:19:51.246Z"
title: "Mycology"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/network-art"
date: "2022-07-19T23:19:51.246Z"
title: "Network Art"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/neurodivergence"
date: "2022-07-19T23:19:51.246Z"
title: "Neurodivergence"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/offgrid"
date: "2022-07-19T23:19:51.246Z"
title: "Offgrid"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/permaculture"
date: "2022-07-19T23:19:51.246Z"
title: "Permaculture"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/poemsforendtimes"
date: "2022-07-19T23:19:51.246Z"
title: "Poetry"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/reading"
date: "2022-07-19T23:19:51.246Z"
title: "Reading"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/recipes"
date: "2022-07-19T23:19:51.246Z"
title: "Recipes"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/scuttlebutt"
date: "2022-07-19T23:19:51.246Z"
title: "Scuttlebutt"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/solpunk"
date: "2022-07-19T23:19:51.246Z"
title: "Solpunk"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/spiritual-texts"
date: "2022-07-19T23:19:51.246Z"
title: "Svadhyaya (Spiritual Study)"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/technical"
date: "2022-07-19T23:19:51.246Z"
title: "Technical"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/tools"
date: "2022-07-19T23:19:51.246Z"
title: "Tools"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/trash"
date: "2022-07-19T23:19:51.246Z"
title: "Trash"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/trika"
date: "2022-07-19T23:19:51.246Z"
title: "Trika Shaivism"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""

View File

@ -3,6 +3,7 @@ path: "/posts/web-of-links"
date: "2022-07-19T23:19:51.246Z"
title: "Web Of Links"
type: "wiki"
level: "1"
style: "prose"
image: ""
description: ""