nodebb-theme-harmony 2.1.19 → 2.1.21
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-harmony",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.21",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.0.0"
|
|
6
6
|
},
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"url": "https://github.com/NodeBB/nodebb-theme-harmony/issues"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@fontsource/inter": "5.2.
|
|
41
|
-
"@fontsource/poppins": "5.2.
|
|
40
|
+
"@fontsource/inter": "5.2.8",
|
|
41
|
+
"@fontsource/poppins": "5.2.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "9.
|
|
44
|
+
"eslint": "9.37.0",
|
|
45
45
|
"eslint-config-nodebb": "^1.1.4"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<ul class="list-unstyled category-children row row-cols-1 row-cols-md-2 g-2 my-1 w-100">
|
|
2
|
+
{{{ each ./children }}}
|
|
3
|
+
{{{ if !./isSection }}}
|
|
4
|
+
<li data-cid="{./cid}" class="category-children-item small">
|
|
5
|
+
<div class="d-flex gap-1">
|
|
6
|
+
<i class="fa fa-fw fa-caret-right text-primary" style="line-height: var(--bs-body-line-height);"></i>
|
|
7
|
+
<a href="{{{ if ./link }}}{./link}{{{ else }}}{config.relative_path}/category/{./slug}{{{ end }}}" class="text-reset fw-semibold flex-1">{./name}</a>
|
|
8
|
+
</div>
|
|
9
|
+
</li>
|
|
10
|
+
{{{ end }}}
|
|
11
|
+
{{{ end }}}
|
|
12
|
+
</ul>
|
|
@@ -31,18 +31,7 @@
|
|
|
31
31
|
{{{ end }}}
|
|
32
32
|
{{{ if !config.hideSubCategories }}}
|
|
33
33
|
{{{ if ./children.length }}}
|
|
34
|
-
|
|
35
|
-
{{{ each ./children }}}
|
|
36
|
-
{{{ if !./isSection }}}
|
|
37
|
-
<li data-cid="{./cid}" class="category-children-item small">
|
|
38
|
-
<div class="d-flex gap-1">
|
|
39
|
-
<i class="fa fa-fw fa-caret-right text-primary" style="line-height: var(--bs-body-line-height);"></i>
|
|
40
|
-
<a href="{{{ if ./link }}}{./link}{{{ else }}}{config.relative_path}/category/{./slug}{{{ end }}}" class="text-reset fw-semibold">{./name}</a>
|
|
41
|
-
</div>
|
|
42
|
-
</li>
|
|
43
|
-
{{{ end }}}
|
|
44
|
-
{{{ end }}}
|
|
45
|
-
</ul>
|
|
34
|
+
<!-- IMPORT partials/categories/children.tpl -->
|
|
46
35
|
{{{ end }}}
|
|
47
36
|
{{{ end }}}
|
|
48
37
|
</div>
|