beautifulSA-jekyll/_includes/head.html

48 lines
1.5 KiB
HTML
Raw Normal View History

2015-03-02 21:06:05 +01:00
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
2015-03-03 10:03:01 +01:00
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
2015-03-02 21:06:05 +01:00
<meta name="author" content="{{ site.author.name }}" />
<meta name="description" content="{{ site.description }}">
2015-03-03 10:03:01 +01:00
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
{% if page.common-ext-css %}
{% for css in page.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 %}
2015-03-02 21:06:05 +01:00
{% if page.common-googlefonts %}
{% for font in page.common-googlefonts %}
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
{% endfor %}
2015-03-02 21:06:05 +01:00
{% endif %}
{% if page.ext-css %}
{% for css in page.ext-css %}
<link rel="stylesheet" href="{{ css }}" />
{% endfor %}
{% endif %}
2015-03-02 21:06:05 +01:00
{% if page.css %}
{% for css in page.css %}
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
2015-03-02 21:06:05 +01:00
{% endfor %}
{% endif %}
{% if page.googlefonts %}
{% for font in page.googlefonts %}
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
{% endfor %}
{% endif %}
2015-03-02 21:06:05 +01:00
</head>