_layouts: deprecated warning to user-guide template
Some checks are pending
gh-actions/site / Ruby 2.7 (push) Waiting to run
gh-actions/site / Ruby 3.0.1 (push) Waiting to run

This commit is contained in:
plowsof 2024-10-15 21:55:26 +01:00 committed by GitHub
parent 8a622d9beb
commit 47d7995a0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,12 @@ layout: base
<!-- FULL WIDTH BLOCK -->
<section class="container full guides">
<div class="info-block text-adapt">
{% if page.deprecated_url %}
<div class="info-block center-xs">
<h3 style="padding: 0;">⚠️ This page is deprecated</h3>
<p>The latest version of this document is available at <a href="{{ page.deprecated_url }}">docs.getmonero.org</a>.</p>
</div>
{% endif %}
<div>
{{content}}
<p style="text-align: right;">
@ -15,4 +21,4 @@ layout: base
</div>
</section>
<!-- END FULL WIDTH BLOCK -->
</div>
</div>