mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 10:40:09 +01:00 
			
		
		
		
	Change frontmatter fields
This commit is contained in:
		@@ -11,7 +11,7 @@ module.exports = async (graphql, actions) => {
 | 
			
		||||
  const result = await graphql(`
 | 
			
		||||
    {
 | 
			
		||||
      allMarkdownRemark(
 | 
			
		||||
        filter: { frontmatter: { layout: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
        filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
      ) {
 | 
			
		||||
        group(field: frontmatter___category) {
 | 
			
		||||
          fieldValue
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ module.exports = async (graphql, actions) => {
 | 
			
		||||
  const result = await graphql(`
 | 
			
		||||
    {
 | 
			
		||||
      allMarkdownRemark(
 | 
			
		||||
        filter: { frontmatter: { layout: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
        filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
      ) { totalCount }
 | 
			
		||||
    }
 | 
			
		||||
  `);
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ module.exports = async (graphql, actions) => {
 | 
			
		||||
  const result = await graphql(`
 | 
			
		||||
    {
 | 
			
		||||
      allMarkdownRemark(
 | 
			
		||||
        filter: { frontmatter: { layout: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
        filter: { frontmatter: { template: { eq: "post" }, draft: { ne: true } } }
 | 
			
		||||
      ) {
 | 
			
		||||
        group(field: frontmatter___tags) {
 | 
			
		||||
          fieldValue
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user