@anydigital/blades 0.27.0-alpha.13 → 0.27.0-alpha.14
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/_includes/blades/html.njk +5 -1
- package/blades.gemspec +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover" />
|
|
7
7
|
<link rel="icon" href="{{ site.favicon | d('/favicon.ico') }}" />
|
|
8
8
|
<title>
|
|
9
|
-
{{- title | striptags ~ ' | ' if title -}}
|
|
9
|
+
{{- title | string | striptags ~ ' | ' if title -}}
|
|
10
10
|
{{- site.title -}}
|
|
11
11
|
</title>
|
|
12
12
|
<meta name="description" content="{{ description | d(site.description) }}" />
|
|
@@ -49,4 +49,8 @@
|
|
|
49
49
|
|
|
50
50
|
Living example: https://github.com/anydigital/build-awesome-starter/blob/main/_includes/default.njk
|
|
51
51
|
|
|
52
|
+
#### Tricks
|
|
53
|
+
|
|
54
|
+
- `title | string` avoids error with `| striptags` when you pass a pure number
|
|
55
|
+
|
|
52
56
|
<!--section--> #}
|
package/blades.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = "blades"
|
|
5
|
-
spec.version = "0.27.0-alpha.
|
|
5
|
+
spec.version = "0.27.0-alpha.14"
|
|
6
6
|
spec.authors = ["Anton Staroverov"]
|
|
7
7
|
|
|
8
8
|
spec.summary = "Framework-agnostic CSS utilities and single-file Liquid 'blades' for modern web development."
|
package/package.json
CHANGED