fixed pagination, fixed cookiebar dark mode, fixed rendering issues during ssr, moved all test blog code to a test folder

This commit is contained in:
2022-09-17 23:16:13 +02:00
parent b82bef5e0f
commit 74082cd463
28 changed files with 176 additions and 237 deletions

View File

@@ -11,7 +11,9 @@ export interface PostsQueryResult {
const postsQuery = async (graphql: CreatePagesArgs["graphql"]) => {
const result = await graphql<PostsQueryResult>(`
{
allMarkdownRemark(filter: { frontmatter: { draft: { ne: true } } }) {
allMarkdownRemark(
filter: { frontmatter: { draft: { ne: true }, template: { eq: "post" } } }
) {
edges {
node {
fields {