nodebb-theme-harmony 1.1.100 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.1.100",
3
+ "version": "1.1.102",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -16,6 +16,9 @@
16
16
 
17
17
  <div class="post-container d-flex flex-grow-1 flex-column w-100" style="min-width: 0;">
18
18
  <div class="d-flex align-items-center gap-1 flex-wrap w-100 post-header mt-1" itemprop="author" itemscope itemtype="https://schema.org/Person">
19
+ <meta itemprop="name" content="{./user.username}">
20
+ {{{ if ./user.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{./user.userslug}">{{{ end }}}
21
+
19
22
  <div class="icon bg-body d-sm-none">
20
23
  <a class="d-inline-block position-relative text-decoration-none" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">
21
24
  {buildAvatar(posts.user, "20px", true, "", "user/picture")}
@@ -24,7 +27,7 @@
24
27
  </div>
25
28
 
26
29
  <span class="text-nowrap">
27
- <a class="fw-bold" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" itemprop="name" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
30
+ <a class="fw-bold" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
28
31
  </span>
29
32
 
30
33
  {{{ each posts.user.selectedGroups }}}
@@ -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">