Skip to content

Commit 5e4b82e

Browse files
committed
add warning to version 2 pages
1 parent f0d0c79 commit 5e4b82e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/_layouts/guide.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222

2323
<section class="col-lg-9 px-5 f4">
2424
<div class="container-md markdown-body mb-5">
25+
{% if page.version == 2 %}
26+
<div class="flash flash-warn">
27+
You are reading the documentation for the <strong>Alpha</strong> version of Catalyst. The API and documentation is subject to change.
28+
The documentation for the stable version can <a href="{{ site.baseurl }}/guide/introduction">be found here</a>.
29+
</div>
30+
{% endif %}
31+
2532
<h1 class="mb-4 f0-light">{{ page.title }}</h1>
2633
{{ content }}
2734
<div class="mt-4">

0 commit comments

Comments
 (0)