@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 +3 -5
- package/_includes/blades/html.njk +1 -1
- package/_includes/blades/html.twig +1 -1
- package/package.json +1 -1
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
|
-
##
|
|
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
|
|
105
|
+
### Dynamic templates
|
|
108
106
|
|
|
109
|
-
[Available for Nunjucks, Twig
|
|
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(' ', ' ') }}{{ ' | ' 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({' ': ' '}) }}{% 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') }}" />
|