nodebb-theme-persona 13.3.2 → 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 +1 -1
- package/templates/topic.tpl +6 -1
package/package.json
CHANGED
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">
|