]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add alternative versions links
authorJeremy Thomas <bbxdesign@gmail.com>
Thu, 21 Mar 2024 18:01:41 +0000 (18:01 +0000)
committerJeremy Thomas <bbxdesign@gmail.com>
Thu, 21 Mar 2024 18:01:41 +0000 (18:01 +0000)
docs/_data/meta.json
docs/documentation/start/alternative-versions.html

index 2f65b0038ba80ec856e996b7d979ecd82df2020f..3fd43f09ac63f36c1cc8cf7d4f2b23f20ec51696 100644 (file)
@@ -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",
index 852d8975ab4041cf2c2a761adcddd7ddeba3d253..a6468d897fdfe6c1946fde41379bfc9f05d04bab 100644 (file)
@@ -92,7 +92,12 @@ breadcrumb:
         {{- 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>
@@ -102,7 +107,12 @@ breadcrumb:
         {{- 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>
@@ -115,7 +125,12 @@ breadcrumb:
         {{- 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>
@@ -128,7 +143,30 @@ breadcrumb:
         {{- 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>