We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1dc0e6 commit 036fb18Copy full SHA for 036fb18
src/partials/watermark.hbs
@@ -0,0 +1,12 @@
1
+{{#with page.attributes.watermark}}
2
+<div id="watermark">{{this}}</div>
3
+{{/with}}
4
+{{#if page.attributes.show-preview-banner}}
5
+<div class="article-banner">
6
+<i class="fas fa-cog"></i>
7
+<h2>{{#with page.attributes.watermark}}<tt>{{this}}</tt>
8
+{{else}}Preview{{/with}}</h2>
9
+<p>You are viewing a preview version of the documentation.</p>
10
+<p>Visit the <a href="{{ site.url }}/doctor/tree.html">preview landing page</a> for more details.</p>
11
+</div>
12
+{{/if}}
0 commit comments