nodebb-theme-harmony 1.1.101 → 1.1.102
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 +5 -0
- package/package-lock.json +0 -2368
package/package.json
CHANGED
package/templates/topic.tpl
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
{{{ end }}}
|
|
9
9
|
|
|
10
10
|
<div class="d-flex flex-column gap-3" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
|
|
11
|
+
<meta itemprop="datePublished" content="{timestampISO}">
|
|
12
|
+
<meta itemprop="dateModified" content="{lastposttimeISO}">
|
|
13
|
+
<meta itemprop="author" itemscope itemtype="https://schema.org/Person" itemref="topicAuthorName{{{ if author.userslug }}} topicAuthorUrl{{{ end }}}">
|
|
14
|
+
<meta id="topicAuthorName" itemprop="name" content="{author.username}">
|
|
15
|
+
{{{ if author.userslug }}}<meta id="topicAuthorUrl" itemprop="url" content="{config.relative_path}/user/{author.userslug}">{{{ end }}}
|
|
11
16
|
<div class="d-flex flex-wrap">
|
|
12
17
|
<div class="d-flex flex-column gap-3 flex-grow-1">
|
|
13
18
|
<h1 component="post/header" class="tracking-tight fw-semibold fs-3 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}" itemprop="headline">
|