nodebb-theme-persona 13.3.22 → 13.3.24
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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<span class="timeline-text">
|
|
6
6
|
{./text}
|
|
7
7
|
</span>
|
|
8
|
-
{{{ if privileges.isAdminOrMod }}}
|
|
8
|
+
{{{ if (privileges.isAdminOrMod && ./id) }}}
|
|
9
9
|
<span component="topic/event/delete" data-topic-event-id="{./id}" data-topic-event-type="{./type}" class="timeline-text pointer" title="[[topic:delete-event]]"><i class="fa fa-trash"></i></span>
|
|
10
10
|
{{{ end }}}
|
|
11
11
|
</li>
|
|
@@ -16,8 +16,10 @@
|
|
|
16
16
|
|
|
17
17
|
<small class="d-flex">
|
|
18
18
|
<div class="d-flex align-items-center gap-1 flex-wrap w-100">
|
|
19
|
-
<strong class="text-nowrap">
|
|
20
|
-
<
|
|
19
|
+
<strong class="text-nowrap" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
|
20
|
+
<meta itemprop="name" content="{./user.username}">
|
|
21
|
+
{{{ if ./user.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{./user.userslug}">{{{ end }}}
|
|
22
|
+
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
|
|
21
23
|
</strong>
|
|
22
24
|
|
|
23
25
|
{{{ each posts.user.selectedGroups }}}
|
package/templates/topic.tpl
CHANGED
|
@@ -5,11 +5,16 @@
|
|
|
5
5
|
</div>
|
|
6
6
|
<div class="row mb-5">
|
|
7
7
|
<div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
|
|
8
|
+
<meta itemprop="headline" content="{escape(titleRaw)}">
|
|
9
|
+
<meta itemprop="text" content="{escape(titleRaw)}">
|
|
10
|
+
<meta itemprop="url" content="{url}">
|
|
8
11
|
<meta itemprop="datePublished" content="{timestampISO}">
|
|
9
12
|
<meta itemprop="dateModified" content="{lastposttimeISO}">
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
<div itemprop="author" itemscope itemtype="https://schema.org/Person">
|
|
14
|
+
<meta itemprop="name" content="{author.username}">
|
|
15
|
+
{{{ if author.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{author.userslug}">{{{ end }}}
|
|
16
|
+
</div>
|
|
17
|
+
|
|
13
18
|
<div class="topic-header sticky-top mb-3">
|
|
14
19
|
<h1 component="post/header" itemprop="name">
|
|
15
20
|
<div class="topic-title d-flex">
|