瀏覽代碼

Add rel=me to links

Brendan Abolivier 1 年之前
父節點
當前提交
51bfac369d
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 8 行新增8 行删除
  1. 8
    8
      layouts/partials/sidebar.html

+ 8
- 8
layouts/partials/sidebar.html 查看文件

@@ -9,13 +9,13 @@
9 9
 
10 10
     <nav>
11 11
         <ul class="sidebar-nav">
12
-          <li><i class="fas fa-home"></i> <a href="{{ .Site.BaseURL }}">Home</a> </li>
13
-          <li><i class="fas fa-rss-square"></i> <a href="{{ .Site.RSSLink }}">RSS Feed</a></li>
14
-          <li><i class="fab fa-twitter-square"></i> <a href="https://twitter.com/{{ .Site.Params.twitter }}">{{ .Site.Params.twitter }}</a></li>
15
-          <li><i class="fab fa-mastodon"></i> <a href="https://{{ .Site.Params.mastodon.instance }}/@{{ .Site.Params.mastodon.username }}">{{ .Site.Params.mastodon.username }}</a></li>
16
-          <li><i class="fab fa-github"></i> <a href="{{ .Site.Params.git.url }}">{{ .Site.Params.git.username }}</a></li>
17
-          <li><i class="fas fa-envelope"></i> <a href=mailto:{{ .Site.Params.email }}>{{ .Site.Params.email }}</a></li>
18
-          <li><i class="fas fa-key"></i> <a href="https://{{ .Site.Params.keyserver }}/pks/lookup?op=get&search=0x{{ replace .Site.Params.pgp " " "" }}">{{ .Site.Params.pgp }}</a></li>
12
+          <li><i class="fas fa-home"></i> <a rel="me" href="{{ .Site.BaseURL }}">Home</a> </li>
13
+          <li><i class="fas fa-rss-square"></i> <a rel="me" href="{{ .Site.RSSLink }}">RSS Feed</a></li>
14
+          <li><i class="fab fa-twitter-square"></i> <a rel="me" href="https://twitter.com/{{ .Site.Params.twitter }}">{{ .Site.Params.twitter }}</a></li>
15
+          <li><i class="fab fa-mastodon"></i> <a rel="me" href="https://{{ .Site.Params.mastodon.instance }}/@{{ .Site.Params.mastodon.username }}">{{ .Site.Params.mastodon.username }}</a></li>
16
+          <li><i class="fab fa-github"></i> <a rel="me" href="{{ .Site.Params.git.url }}">{{ .Site.Params.git.username }}</a></li>
17
+          <li><i class="fas fa-envelope"></i> <a rel="me" href=mailto:{{ .Site.Params.email }}>{{ .Site.Params.email }}</a></li>
18
+          <li><i class="fas fa-key"></i> <a rel="me" href="https://{{ .Site.Params.keyserver }}/pks/lookup?op=get&search=0x{{ replace .Site.Params.pgp " " "" }}">{{ .Site.Params.pgp }}</a></li>
19 19
           {{ range .Site.Menus.main -}}
20 20
             <li><a href="{{.URL}}"> {{ .Name }} </a></li>
21 21
           {{- end }}
@@ -24,6 +24,6 @@
24 24
 
25 25
     <p><a href="https://creativecommons.org/licenses/{{ .Site.Params.creativeCommons }}/4.0/"><img src="{{ .Site.BaseURL}}images/cc/{{ .Site.Params.creativeCommons }}.png" alt="CC {{ .Site.Params.creativeCommons }}" class="inline" /></a> {{ .Site.Params.author }}</p>
26 26
 
27
-    <p class="small">Built with <a href="https://gohugo.io/">Hugo</a>, powered by <a href="https://git.abolivier.bzh/babolivier/hyde">Hyde</a></p>
27
+    <p class="small">Built with <a href="https://gohugo.io/">Hugo</a>, powered by <a href="https://github.com/babolivier/hyde">Hyde</a></p>
28 28
   </div>
29 29
 </aside>