@anyblades/blades 3.0.0-alpha.1 → 3.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -82,9 +82,7 @@ Live example using <i class="fa-brands fa-tailwind-css"></i> Tailwind: https://g
82
82
 
83
83
  ---
84
84
 
85
- ## Base HTML
86
-
87
- ### Static HTML template <!-- from /index.html -->
85
+ ## Starter HTML template <!-- from /index.html -->
88
86
 
89
87
  ```html
90
88
  <!doctype html>
@@ -104,9 +102,9 @@ Live example using <i class="fa-brands fa-tailwind-css"></i> Tailwind: https://g
104
102
  </html>
105
103
  ```
106
104
 
107
- ### Dynamic HTML template
105
+ ### Dynamic templates
108
106
 
109
- [Available for Nunjucks, Twig or Liquid ↗](https://blades.ninja/html/base/)<!--{role=button .outline}-->
107
+ [Available for Nunjucks, Twig and Liquid ↗](https://blades.ninja/tpl/)<!--{role=button .outline}-->
110
108
 
111
109
  <!--section:gh-only-->
112
110
 
@@ -5,7 +5,7 @@
5
5
  <meta charset="utf-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover" />
7
7
 
8
- <title>{{ title | striptags }}{{ ' | ' if title and site.title }}{{ site.title }}</title>
8
+ <title>{{ title | striptags | replace('&nbsp;', ' ') }}{{ ' | ' if title and site.title }}{{ site.title }}</title>
9
9
  <meta name="description" content="{{ description | striptags }}" />
10
10
 
11
11
  <link rel="icon" href="{{ site.favicon | d('/favicon.ico') }}" />
@@ -5,7 +5,7 @@
5
5
  <meta charset="utf-8" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover" />
7
7
 
8
- <title>{{ title|striptags }}{% if title and site.title %} | {% endif %}{{ site.title }}</title>
8
+ <title>{{ title|striptags|replace({'&nbsp;': ' '}) }}{% if title and site.title %} | {% endif %}{{ site.title }}</title>
9
9
  <meta name="description" content="{{ description|striptags }}" />
10
10
 
11
11
  <link rel="icon" href="{{ site.favicon|default('/favicon.ico') }}" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anyblades/blades",
3
- "version": "3.0.0-alpha.1",
3
+ "version": "3.0.0-alpha.2",
4
4
  "exports": {
5
5
  ".": "./src/blades.css",
6
6
  "./pico": "./src/pico.css",