getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.62k stars 450 forks source link

Would be nice to set a gallery to `status: private` #3598

Closed vonshednob closed 2 years ago

vonshednob commented 2 years ago

Requested Feature: Would be nice to set a gallery to status: private, much like posts can be set to be private. The sitemap and the rss creation should respect that setting.

Related Area: Galleries plugin.

Do you want to contribute this yourself as a pull request?

Code is written, PR is coming. Discussion is appreciated though!

Does this feature affect backwards compatibility? If yes, in what way?

Probably not unless people use the status tag already and handle it in their own themes.

Rationale and full description:

Galleries are treated like posts, but cannot be set to private (nor draft/publish_later). And it would be a lovely feature – I mean to say: I need it :)

vonshednob commented 2 years ago

Pull request created. https://github.com/getnikola/nikola/pull/3599