Browse Source

refactor(layouts/partials): add bookmark link type to page summary

Josh Habdas 10 months ago
parent
commit
5fa658f30a
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/partials/page-summary.html

+ 2
- 2
layouts/partials/page-summary.html View File

@@ -1,7 +1,7 @@
1 1
 <article itemscope itemtype="http://schema.org/CreativeWork">
2 2
   <header>
3 3
     <h2 itemprop="name">
4
-      <a href="{{ .RelPermalink }}">{{ .Title }}</a>
4
+      <a href="{{ .RelPermalink }}" rel="bookmark">{{ .Title }}</a>
5 5
     </h2>
6 6
     {{ if eq .Type "post" }}
7 7
       <p class="muted">{{ partial "post/meta.html" . }}</p>
@@ -15,7 +15,7 @@
15 15
   </div>
16 16
   {{ if .Truncated }}
17 17
     <nav class="readmore"><p>
18
-      <a itemprop="url" href="{{ .RelPermalink }}">Read More&nbsp;&raquo;</a>
18
+      <a itemprop="url" href="{{ .RelPermalink }}" rel="bookmark">Read More&nbsp;&raquo;</a>
19 19
     </p></nav>
20 20
   {{ end }}
21 21
   <meta itemprop="inLanguage" content="{{ .Site.LanguageCode }}">

Loading…
Cancel
Save