mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 03:44:31 -07:00
Add versions
This commit is contained in:
8
docs/_includes/deprecated.html
Normal file
8
docs/_includes/deprecated.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if site.deprecated %}
|
||||
<div class="notification is-info" style="border-radius: 0; margin-bottom: 0;">
|
||||
<p>
|
||||
You are viewing the deprecated <strong>{{site.version}}</strong> version of the website.
|
||||
<a href="/">Click here to view the latest version</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -62,7 +62,14 @@
|
||||
</a>
|
||||
<hr class="navbar-divider">
|
||||
<div class="navbar-item">
|
||||
<div>version <p class="has-text-info is-size-6-desktop">{{ site.version }}</p></div>
|
||||
<div>
|
||||
<p class="has-text-info is-size-6-desktop"><strong>{{ site.version }}</strong></p>
|
||||
{{#unless site.deprecated}}
|
||||
<small>
|
||||
<a class="view-all-versions" href="/versions">View all versions</a>
|
||||
</small>
|
||||
{{/unless}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user