nodebb-theme-harmony 1.2.31 → 2.0.0-pre.1
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/library.js +1 -1
- package/package-lock.json +2368 -0
- package/package.json +1 -1
- package/templates/partials/topic/post.tpl +1 -1
- package/templates/partials/topics_list.tpl +1 -1
- package/templates/world.tpl +36 -0
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
<div class="d-flex align-items-center gap-1 flex-grow-1 justify-content-end">
|
|
67
67
|
<span class="bookmarked opacity-0 text-primary"><i class="fa fa-bookmark-o"></i></span>
|
|
68
|
-
<a href="{
|
|
68
|
+
<a href="{generatePostUrl(@value)}" class="post-index text-muted d-none d-md-inline">#{increment(./index, "1")}</a>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
71
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{{{ if widgets.header.length }}}
|
|
2
|
+
<div data-widget-area="header">
|
|
3
|
+
{{{each widgets.header}}}
|
|
4
|
+
{{widgets.header.html}}
|
|
5
|
+
{{{end}}}
|
|
6
|
+
</div>
|
|
7
|
+
{{{ end }}}
|
|
8
|
+
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="world {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
11
|
+
<!-- IMPORT partials/topic-list-bar.tpl -->
|
|
12
|
+
|
|
13
|
+
<div class="category">
|
|
14
|
+
{{{ if !topics.length }}}
|
|
15
|
+
<div class="alert alert-info" id="category-no-topics">[[activitypub:no-topics]]</div>
|
|
16
|
+
{{{ end }}}
|
|
17
|
+
|
|
18
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
19
|
+
|
|
20
|
+
{{{ if config.usePagination }}}
|
|
21
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
22
|
+
{{{ end }}}
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
|
|
26
|
+
{{{ each widgets.sidebar }}}
|
|
27
|
+
{{widgets.sidebar.html}}
|
|
28
|
+
{{{ end }}}
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div data-widget-area="footer">
|
|
33
|
+
{{{each widgets.footer}}}
|
|
34
|
+
{{widgets.footer.html}}
|
|
35
|
+
{{{end}}}
|
|
36
|
+
</div>
|