Merge pull request #16 from mvrilo/rss

RSS support
This commit is contained in:
Nishanth Shanmugham
2016-10-01 22:42:45 -05:00
committed by GitHub
2 changed files with 11 additions and 0 deletions

View File

@@ -46,6 +46,11 @@
{{ end }}
>
<!-- RSS -->
{{ if .RSSlink }}
<link href="{{ .RSSlink }}" rel="alternate" 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>