Skip to content

Commit

Permalink
Add alternative versions links
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Mar 21, 2024
1 parent 15e13c8 commit bbcab3a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/_data/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"title": "Bulma: Free, open source, and modern CSS framework based on Flexbox",
"description": "Bulma is a free, open source CSS framework based on Flexbox and built with Sass. It's 100% responsive, fully modular, and available for free.",
"documentation": "/documentation",
"download": "https://github.com/jgthms/bulma/releases/download/0.9.4/bulma-0.9.4.zip",
"release_notes": "https://github.com/jgthms/bulma/releases/tag/0.9.4",
"download": "https://github.com/jgthms/bulma/releases/download/1.0.0/bulma-1.0.0.zip",
"release_notes": "https://github.com/jgthms/bulma/releases/tag/1.0.0",
"github": "https://github.com/jgthms/bulma",
"twitter": "https://twitter.com/jgthms",
"version": "0.9.4",
"version": "1.0.0",
"book_url": "https://bleedingedgepress.com/creating-interfaces-bulma/",
"book_amazon": "https://www.amazon.com/Creating-Interfaces-Bulma-Jeremy-Thomas-ebook/dp/B079M1BJG4/",
"book_sample": "http://www.bleedingedgepress.com/book_excerpts/01E9D1/creating_interfaces_with_bulma_sample.pdf",
Expand Down
46 changes: 42 additions & 4 deletions docs/documentation/start/alternative-versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ <h1 class="bulma-title">
{{- html_normal -}}
{%- endhighlight %}
</td>
<td><a class="button is-primary">bulma.css</a></td>
<td>
<div class="buttons">
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/bulma.css">bulma.css</a>
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/bulma.min.css">bulma.min.css</a>
</div>
</td>
</tr>
<tr>
<td><strong>Prefixed</strong></td>
Expand All @@ -102,7 +107,12 @@ <h1 class="bulma-title">
{{- html_prefixed -}}
{%- endhighlight %}
</td>
<td><a class="button is-primary">bulma-prefixed.css</a></td>
<td>
<div class="buttons">
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-prefixed.css">bulma-prefixed.css</a>
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-prefixed.min.css">bulma-prefixed.min.css</a>
</div>
</td>
</tr>
<tr>
<td>
Expand All @@ -115,7 +125,12 @@ <h1 class="bulma-title">
{{- html_no_helpers -}}
{%- endhighlight %}
</td>
<td><a class="button is-primary">bulma-no-helpers.css</a></td>
<td>
<div class="buttons">
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-helpers.css">bulma-no-helpers.css</a>
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-helpers.min.css">bulma-no-helpers.min.css</a>
</div>
</td>
</tr>
<tr>
<td>
Expand All @@ -128,7 +143,30 @@ <h1 class="bulma-title">
{{- html_prefixed_no_helpers -}}
{%- endhighlight %}
</td>
<td><a class="button is-primary">bulma-no-helpers-prefixed.css</a></td>
<td>
<div class="buttons">
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-helpers-prefixed.css">bulma-no-helpers-prefixed.css</a>
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-helpers-prefixed.min.css">bulma-no-helpers-prefixed.min.css</a>
</div>
</td>
</tr>
<tr>
<td>
<strong>No Dark Mode</strong><br>
<em>Light Theme Only</em>
</td>
<td>None</td>
<td>
{% highlight html -%}
{{- html_normal -}}
{%- endhighlight %}
</td>
<td>
<div class="buttons">
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-dark-mode.css">bulma-no-dark-mode.css</a>
<a class="button is-primary" href="https://cdn.jsdelivr.net/npm/bulma@{{ site.data.meta.version }}/css/versions/bulma-no-dark-mode.min.css">bulma-no-dark-mode.min.css</a>
</div>
</td>
</tr>
</tbody>
</table>

0 comments on commit bbcab3a

Please sign in to comment.