# Discourse Web Page Watermark

**URL:** https://meta.discourse.org/t/discourse-web-page-watermark/214108
**Category:** Theme component
**Created:** [January 7, 2022, 3:15am UTC](https://meta.discourse.org/t/discourse-web-page-watermark/214108 "2022-01-07T03:15:45Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 11, 2022, 6:25pm UTC](https://meta.discourse.org/t/discourse-web-page-watermark/214108/5 "2022-01-11T18:25:57Z")

</div>

I just submitted a PR: [skip display if title matches by pfaffman · Pull Request #1 · megothss/discourse-watermark · GitHub](https://github.com/megothss/discourse-watermark/pull/1)

This adds a theme setting `include_if_title_matches`, which is empty by default. If the setting is empty, then nothing is changed.

If the setting has a value, `SiteSetting.title` must match in order for the watermark to display.

Use case is to have the watermark display on a staging site, but not production without requiring changes to the database. Setting `include_if_title_matches` to “staging” and having “staging” in `SiteSetting.title` of the staging site (set in an ENV variable so it persists when the production database is restored to it), the watermark displays on staging site but not on production.

With this change, I’ll install this on every site that has a staging site.

---

_[View the full topic](https://meta.discourse.org/t/discourse-web-page-watermark/214108)._
