mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-20 13:24:35 -05:00
Deploy preview warning (#2104)
This commit is contained in:
parent
d25b4021d5
commit
77c073c602
@ -19,6 +19,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
|
context: !ENV [CONTEXT, "production"]
|
||||||
social:
|
social:
|
||||||
- icon: simple/mastodon
|
- icon: simple/mastodon
|
||||||
link: https://mastodon.neat.computer/@privacyguides
|
link: https://mastodon.neat.computer/@privacyguides
|
||||||
|
@ -60,4 +60,10 @@
|
|||||||
<a href="https://www.privacyguides.org/">
|
<a href="https://www.privacyguides.org/">
|
||||||
<strong>Visit privacyguides.org for the latest version.</strong>
|
<strong>Visit privacyguides.org for the latest version.</strong>
|
||||||
</a>
|
</a>
|
||||||
|
{% elif config.extra.context == "deploy-preview" %}
|
||||||
|
You're viewing an <strong>unreviewed preview</strong> of Privacy Guides built on {{ build_date_utc }}.
|
||||||
|
These previews are <strong>user-submitted</strong> and may not necessarily reflect the opinion of the site.
|
||||||
|
<a href="https://www.privacyguides.org/">
|
||||||
|
<strong>Visit privacyguides.org for current advice.</strong>
|
||||||
|
</a>
|
||||||
{% else %}{% endif %}{% endblock %}
|
{% else %}{% endif %}{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user