Browse Source

Fix RSS <link> and add a link to it in the sidebar menu

Brendan Abolivier 1 year ago
parent
commit
7373a94f15
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      layouts/partials/head.html
  2. 1
    0
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/head.html View File

@@ -43,5 +43,5 @@
43 43
   <link rel="shortcut icon" type="image/png" href="/favicon.png">
44 44
 
45 45
   <!-- RSS -->
46
-  <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
46
+  <link href="{{ .Site.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
47 47
 </head>

+ 1
- 0
layouts/partials/sidebar.html View File

@@ -9,6 +9,7 @@
9 9
 
10 10
     <ul class="sidebar-nav">
11 11
       <li><i class="fas fa-home"></i> <a href="{{ .Site.BaseURL }}">Home</a> </li>
12
+      <li><i class="fas fa-rss-square"></i> <a href="{{ .Site.RSSLink }}">RSS Feed</a></li>
12 13
       <li><i class="fab fa-twitter-square"></i> <a href="https://twitter.com/{{ .Site.Params.twitter }}">{{ .Site.Params.twitter }}</a></li>
13 14
       <li><i class="fab fa-github-square"></i> <a href="https://github.com/{{ .Site.Params.github }}">{{ .Site.Params.github }}</a></li>
14 15
       <li><i class="fas fa-envelope"></i> <a href=mailto:{{ .Site.Params.email }}>{{ .Site.Params.email }}</a></li>