nodebb-theme-persona 13.3.1 → 13.3.3
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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<link itemprop="url" content="{config.relative_path}/topic/{../slug}" />
|
|
5
5
|
<meta itemprop="name" content="{function.stripTags, ../title}" />
|
|
6
6
|
<meta itemprop="itemListOrder" content="descending" />
|
|
7
|
-
<meta itemprop="position" content="{
|
|
7
|
+
<meta itemprop="position" content="{increment(./index, "1")}" />
|
|
8
8
|
<a id="{../index}" data-index="{../index}" component="topic/anchor"></a>
|
|
9
9
|
|
|
10
10
|
<div class="col-md-6 col-sm-9 col-10 content">
|
package/templates/topic.tpl
CHANGED
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
{{{end}}}
|
|
5
5
|
</div>
|
|
6
6
|
<div class="row mb-5">
|
|
7
|
-
<div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
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="datePublished" content="{timestampISO}">
|
|
9
|
+
<meta itemprop="dateModified" content="{lastposttimeISO}">
|
|
10
|
+
<meta itemprop="author" itemscope itemtype="https://schema.org/Person" itemref="topicAuthorName{{{ if author.userslug }}} topicAuthorUrl{{{ end }}}">
|
|
11
|
+
<meta id="topicAuthorName" itemprop="name" content="{author.username}">
|
|
12
|
+
{{{ if author.userslug }}}<meta id="topicAuthorUrl" itemprop="url" content="{config.relative_path}/user/{author.userslug}">{{{ end }}}
|
|
8
13
|
<div class="topic-header sticky-top">
|
|
9
14
|
<h1 component="post/header" class="" itemprop="name">
|
|
10
15
|
<span class="topic-title">
|