add social links in head
This commit is contained in:
parent
52d9812439
commit
3a19124497
@ -16,10 +16,15 @@
|
||||
<link rel="icon" type="image/svg+xml" href="{{ SITEURL }}/{{ FAVICON }}" sizes="any" />
|
||||
{% endif %}
|
||||
{% if FEED_ALL_ATOM %}
|
||||
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" title="{{ SITENAME }} Atom Feed" />
|
||||
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" />
|
||||
{% endif %}
|
||||
{% if FEED_ALL_RSS %}
|
||||
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" title="{{ SITENAME }} RSS Feed" />
|
||||
<link rel="alternate" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" />
|
||||
{% endif %}
|
||||
{% if SOCIAL %}
|
||||
{% for name, link in SOCIAL %}
|
||||
<link rel="me" href="{{ link }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock head %}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user