Remove vernum

This commit is contained in:
Jeremy Thomas
2017-11-06 13:44:58 +00:00
parent bc33ace128
commit 67117ffed9
7 changed files with 49 additions and 68 deletions

View File

@@ -21,8 +21,7 @@ mdi: https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicon
# Variables # Variables
documentation: "/documentation/overview/start/" documentation: "/documentation/overview/start/"
download: https://github.com/jgthms/bulma/releases/download/0.6.0/bulma-0.6.0.zip download: https://github.com/jgthms/bulma/releases/download/0.6.1/bulma-0.6.1.zip
github: https://github.com/jgthms/bulma github: https://github.com/jgthms/bulma
twitter: https://twitter.com/jgthms twitter: https://twitter.com/jgthms
version: 0.6.0 version: 0.6.1
vernum: 60

View File

@@ -52,15 +52,9 @@
<a class="navbar-item {% if page.doc-tab == 'elements' %}is-active{% endif %}" href="{{ site.url }}/documentation/elements/box/"> <a class="navbar-item {% if page.doc-tab == 'elements' %}is-active{% endif %}" href="{{ site.url }}/documentation/elements/box/">
Elements Elements
</a> </a>
{% if site.vernum >= 43 %}
<a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/"> <a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/breadcrumb/">
Components Components
</a> </a>
{% else %}
<a class="navbar-item {% if page.doc-tab == 'components' %}is-active{% endif %}" href="{{ site.url }}/documentation/components/card/">
Components
</a>
{% endif %}
<hr class="navbar-divider"> <hr class="navbar-divider">
<div class="navbar-item"> <div class="navbar-item">
<div> <div>

View File

@@ -47,11 +47,7 @@ route: documentation
<a href="{{ site.url }}/documentation/elements/box/">Elements</a> <a href="{{ site.url }}/documentation/elements/box/">Elements</a>
</li> </li>
<li {% if page.doc-tab == 'components' %}class="is-active"{% endif %}> <li {% if page.doc-tab == 'components' %}class="is-active"{% endif %}>
{% if site.vernum >= 43 %}
<a href="{{ site.url }}/documentation/components/breadcrumb/">Components</a> <a href="{{ site.url }}/documentation/components/breadcrumb/">Components</a>
{% else %}
<a href="{{ site.url }}/documentation/components/card/">Components</a>
{% endif %}
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -9,10 +9,9 @@ doc-subtab: nav
<section class="section"> <section class="section">
<div class="container"> <div class="container">
{% if site.vernum >= 43 %}
<div class="message is-danger"> <div class="message is-danger">
<div class="message-body"> <div class="message-body">
<p>This component has been <strong>deprecated</strong> and will be deleted soon.</p> <p>This component has been <strong>deprecated</strong>.</p>
</div> </div>
</div> </div>
@@ -21,7 +20,6 @@ doc-subtab: nav
<p>While both <code>.nav</code> and <code>.navbar</code> currently co-exist to ensure backwards compatibility, the <code>.nav</code> will probably be deleted in an upcoming update, so you should start using <a href="{{ site.url }}/documentation/components/navbar/">the new navbar</a> instead.</p> <p>While both <code>.nav</code> and <code>.navbar</code> currently co-exist to ensure backwards compatibility, the <code>.nav</code> will probably be deleted in an upcoming update, so you should start using <a href="{{ site.url }}/documentation/components/navbar/">the new navbar</a> instead.</p>
</div> </div>
</div> </div>
{% endif %}
<h1 class="title">Nav</h1> <h1 class="title">Nav</h1>
<h2 class="subtitle"> <h2 class="subtitle">

View File

@@ -341,7 +341,6 @@ variables_keys:
</div> </div>
</div> </div>
{% if site.vernum >= 43 %}
<div class="columns"> <div class="columns">
<div class="column is-half"> <div class="column is-half">
<div class="content"> <div class="content">
@@ -355,7 +354,6 @@ variables_keys:
{% highlight html %}{{loading_sizes_example}}{% endhighlight %} {% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div> </div>
</div> </div>
{% endif %}
<h4 class="subtitle">Disabled</h4> <h4 class="subtitle">Disabled</h4>
<div class="columns"> <div class="columns">

View File

@@ -296,7 +296,6 @@ doc-subtab: select
</div> </div>
</div> </div>
{% if site.vernum >= 44 %}
<hr> <hr>
<h3 class="title">Multiple select</h3> <h3 class="title">Multiple select</h3>
@@ -314,7 +313,6 @@ doc-subtab: select
{% highlight html %}{{select_multiple_example}}{% endhighlight %} {% highlight html %}{{select_multiple_example}}{% endhighlight %}
</div> </div>
</div> </div>
{% endif %}
{% include anchor.html name="Colors" %} {% include anchor.html name="Colors" %}

View File

@@ -176,7 +176,6 @@ doc-subtab: textarea
{% include snippet.html content=loading_example %} {% include snippet.html content=loading_example %}
{% if site.vernum >= 43 %}
<div class="columns"> <div class="columns">
<div class="column is-half"> <div class="column is-half">
<div class="content"> <div class="content">
@@ -190,7 +189,6 @@ doc-subtab: textarea
{% highlight html %}{{loading_sizes_example}}{% endhighlight %} {% highlight html %}{{loading_sizes_example}}{% endhighlight %}
</div> </div>
</div> </div>
{% endif %}
<h4 class="subtitle">Disabled</h4> <h4 class="subtitle">Disabled</h4>