Update head.html
This commit is contained in:
parent
4796b6129c
commit
be2e6bc932
@ -13,35 +13,18 @@
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
|
||||
|
||||
<!-- everything has to be repeated twice because on 2016-02-01 GitHub pages migrated to jekyll 3; see bug https://github.com/jekyll/jekyll/issues/4439 -->
|
||||
|
||||
{% if page.common-ext-css %}
|
||||
{% for css in page.common-ext-css %}
|
||||
<link rel="stylesheet" href="{{ css }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.common-ext-css %}
|
||||
{% for css in layout.common-ext-css %}
|
||||
<link rel="stylesheet" href="{{ css }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.common-css %}
|
||||
{% for css in page.common-css %}
|
||||
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.common-css %}
|
||||
{% for css in layout.common-css %}
|
||||
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.common-googlefonts %}
|
||||
{% for font in page.common-googlefonts %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.common-googlefonts %}
|
||||
{% for font in layout.common-googlefonts %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
||||
@ -53,33 +36,18 @@
|
||||
<link rel="stylesheet" href="{{ css }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.ext-css %}
|
||||
{% for css in layout.ext-css %}
|
||||
<link rel="stylesheet" href="{{ css }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.css %}
|
||||
{% for css in page.css %}
|
||||
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.css %}
|
||||
{% for css in layout.css %}
|
||||
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.googlefonts %}
|
||||
{% for font in page.googlefonts %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if layout.googlefonts %}
|
||||
{% for font in layout.googlefonts %}
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Facebook OpenGraph tags -->
|
||||
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
||||
|
Loading…
Reference in New Issue
Block a user