Describe the bug
Explicit publish will publish the page if there is anything in the publish portion in the frontmatter. The only way it will not publish is if the field is blank. Given the private pages of the documentation, I believe that it should only publish the page when publish is set to true.
To Reproduce
Changed config file to filters: [Plugin.ExplicitPublish()],
Added publish property to docs.
Added false to the field (since I thought it was a true/false thing)
Started a local server to test.
Found page as published even with a false property.
Changed publish to 9.
Refreshed the local website.
Page was still published.
Deleted the contents of publish.
Refreshed website.
Page was not published.
Expected behavior
The page should only publish if the publish property is set to true.
Desktop (please complete the following information):
Describe the bug Explicit publish will publish the page if there is anything in the
publish
portion in the frontmatter. The only way it will not publish is if the field is blank. Given the private pages of the documentation, I believe that it should only publish the page whenpublish
is set totrue
.To Reproduce
filters: [Plugin.ExplicitPublish()],
publish
property to docs.false
to the field (since I thought it was a true/false thing)false
property.publish
to9
.publish
.Expected behavior The page should only publish if the
publish
property is set totrue
.Desktop (please complete the following information):
Additional context N/A