academic 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/_i18n/i18n.html +3 -0
- data/_includes/head.html +10 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1db649ed61dfe7bafb4b0b6307d81c90ff0662b4
|
4
|
+
data.tar.gz: 0d253319ac809f4796a59ae1b273099d4622500b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43425ec42ce271a032163595d3a59bea88a5aebad467e346efdb9454a1cde3711451be451a77cf903cf305e75e536fe93e66920f518b8d04cfea376e9ce054b0
|
7
|
+
data.tar.gz: 4dbc8bd5dd83419aa7f622b83db56f7a6ad4b32a218f1175dd375d8d9f745d026b9bc4007b60125daa10fd8c2e89c0f6c63ad67cbe343bc528e112ae84d4c781
|
data/_includes/_i18n/i18n.html
CHANGED
data/_includes/head.html
CHANGED
@@ -4,12 +4,19 @@
|
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
6
|
|
7
|
-
{% if page.title %}
|
8
|
-
|
7
|
+
{% if page.seo.title %}
|
8
|
+
<title>{{ page.seo.title }}</title>
|
9
9
|
{% else %}
|
10
|
-
|
10
|
+
<title>{{ page.title | append: "|" | default:"" }}{% include _i18n/i18n.html value=site.title %}</title>
|
11
11
|
{% endif %}
|
12
|
+
|
13
|
+
{% if page.seo.description %}
|
14
|
+
<meta name="description" content="{{ page.seo.description | truncate: 160 }}">
|
15
|
+
{% elsif page.summary %}
|
16
|
+
<meta name="description" content="{{ page.summary | truncate: 160 }}">
|
17
|
+
{% else %}
|
12
18
|
<meta name="description" content="{% include _i18n/i18n.html value=site.description %}">
|
19
|
+
{% endif %}
|
13
20
|
|
14
21
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
15
22
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|