Adding RSS link

This commit is contained in:
Murilo Santana
2016-10-01 17:47:03 -03:00
parent e4ac4c2c91
commit de20e56890
2 changed files with 12 additions and 0 deletions

View File

@@ -46,6 +46,12 @@
{{ end }}
>
<!-- RSS -->
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSlink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

View File

@@ -59,6 +59,12 @@
<i class="icon ion-ios-email larger"></i>
</a>
{{ end }}
{{ if .Site.RSSLink }}
<a href="{{ .Site.RSSLink }}">
<i class="icon ion-social-rss larger"></i>
</a>
{{ end }}
</div>
</div>
</section>