1
0
Fork 0

Feed autodiscovery

This commit is contained in:
Luca Beltrame 2015-04-27 20:58:01 +02:00
parent 570e1ef6bd
commit 908e96dbd1

View file

@ -56,6 +56,9 @@
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/apple-touch-icon-144x144-precomposed.png">
<!-- Feeds -->
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="{% page_feed_url %}" />
{% if page.image.background or site.background %}
{% capture background %}{% if page.image.background %}{{ page.image.background }}{% else %}{{ site.background }}{% endif %}{% endcapture %}
{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ site.url }}/images/{{ background }}{% endcapture %}{% endunless %}