waschinski / photo-stream

Self-hosted, super simple photo stream
https://github.com/waschinski/photo-stream
MIT License
449 stars 70 forks source link

Option to prevent crawler / smaller fixes #22

Closed boerniee closed 2 years ago

boerniee commented 2 years ago

This pull request contains one new feature and some smaller fixes.

The new feature allows the user to add a meta tag to the page, preventing the photo-stream being indexed by crawlers. It can be turned on by setting the environment variable ALLOW_INDEXING to 0 and adds the meta tag named robots to the header section of the html document. This options defaults to 1, so crawlers are allowed.

Fixes:

waschinski commented 2 years ago

Bernhard, thanks for the new feature as well as fixing some general problems!