Skip to content

rewire /blog and individual blogs #307

@jgravois

Description

@jgravois

for this one we'll need to create a mechanism for including blog drafts during local development but not in production builds.

{
"label": "Jekyll: Build Dev with Drafts",
"detail": "jekyll serve --force_polling --livereload --drafts",
"type": "shell",
"linux": {
"command": "bundle exec jekyll serve --force_polling --livereload --drafts"
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
}

luckily, the 11ty doc has a handy snippet we can use for that:
https://www.11ty.dev/docs/config-preprocessors/#example-drafts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions