Skip to content

fix: filter draft files in production#2648

Merged
farnabaz merged 1 commit intomainfrom
fix/draft-production
Jun 7, 2024
Merged

fix: filter draft files in production#2648
farnabaz merged 1 commit intomainfrom
fix/draft-production

Conversation

@farnabaz
Copy link
Copy Markdown
Member

@farnabaz farnabaz commented May 31, 2024

🔗 Linked issue

resolves #1523 #2621

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying nuxt-content with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed85c16
Status: ✅  Deploy successful!
Preview URL: https://698edaa2.nuxt-content-1il.pages.dev
Branch Preview URL: https://fix-draft-production.nuxt-content-1il.pages.dev

View logs

@farnabaz farnabaz merged commit 1787d8b into main Jun 7, 2024
@farnabaz farnabaz deleted the fix/draft-production branch June 7, 2024 11:30
@duncandejong
Copy link
Copy Markdown

duncandejong commented Jul 11, 2024

@farnabaz is this filtering of drafts fixed in document mode?

Example of my frontmatter:

title: "Case Study 1"
description: "Case study 1 about building your first API"
draft: true (Does NOT work)
_draft: true (DOES work)
slug: "case-study-1"
img: "/images/resources/case-studies/company-logo.png"
layout: article

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drafts are not being automatically excluded

2 participants