Add external feed URL conditional to <head>

This commit is contained in:
Michael Rose 2016-07-26 15:34:21 -04:00
parent 1c6b42484d
commit d238a0de83

View file

@ -4,7 +4,7 @@
{% include seo.html %}
<link href="{{ base_path }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ base_path }}/feed.xml{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">