academic 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/head.html +28 -1
- 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: b43caa05cb35ece8b235ce341de611d5cf16dc8a
|
|
4
|
+
data.tar.gz: f3ca61215a0af1e16d6a52013bad1203045bb324
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5584782702404ffd011f57de7d400d8fb2d84b946cc0d401b6e89f90dac566511a21140c53a266fb16af5f2a7cab2034ae32e454ec2c7a3ab0636b5de39680aa
|
|
7
|
+
data.tar.gz: c3b9533dff4ade6ca6ee3ceb9b58d613ccab3ed62631dcec1846f3adcf649d036fce293935381cc2e15b86002e9dce1c422892d291bb0d68d87e6275b7b01b5c
|
data/_includes/head.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{% if page.seo.title %}
|
|
8
8
|
<title>{{ page.seo.title }}</title>
|
|
9
9
|
{% else %}
|
|
10
|
-
<title>{{ page.title | append: "|" | default:"" }}{% include _i18n/i18n.html value=site.title %}</title>
|
|
10
|
+
<title>{{ page.title | append: " | " | default:"" }}{% include _i18n/i18n.html value=site.title %}</title>
|
|
11
11
|
{% endif %}
|
|
12
12
|
|
|
13
13
|
{% if page.seo.description %}
|
|
@@ -22,6 +22,33 @@
|
|
|
22
22
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
|
23
23
|
<link rel="alternate" type="application/rss+xml" title="{% include _i18n/i18n.html value=site.title %}" href="{{ "/feed.xml" | relative_url }}">
|
|
24
24
|
|
|
25
|
+
{% capture favicons %}
|
|
26
|
+
{% for file in site.static_files %}
|
|
27
|
+
{% if file.path contains "apple-touch-icon.png" %}
|
|
28
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ file.path }}">
|
|
29
|
+
{% endif %}
|
|
30
|
+
|
|
31
|
+
{% if file.path contains "favicon-16x16.png" %}
|
|
32
|
+
<link rel="icon" type="image/png" href="{{ file.path }}" sizes="16x16">
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{% if file.path contains "favicon-32x32.png" %}
|
|
36
|
+
<link rel="icon" type="image/png" href="{{ file.path }}" sizes="32x32">
|
|
37
|
+
{% endif %}
|
|
38
|
+
|
|
39
|
+
{% if file.path contains "manifest.json" %}
|
|
40
|
+
<link rel="manifest" href="{{ file.path }}">
|
|
41
|
+
{% endif %}
|
|
42
|
+
|
|
43
|
+
{% if file.path contains "safari-pinned-tab.svg" %}
|
|
44
|
+
<link rel="mask-icon" href="{{ file.path }}" color="#{{ site.favicon_color | default:"ffffff" }}">
|
|
45
|
+
{% endif %}
|
|
46
|
+
|
|
47
|
+
{% endfor %}
|
|
48
|
+
{% endcapture %}
|
|
49
|
+
{{ favicons | strip_newlines | lstrip }}
|
|
50
|
+
<meta name="theme-color" content="#{{ site.theme_color | default:"ffffff" }}">
|
|
51
|
+
|
|
25
52
|
{% assign pagename = page.path | split:"." | first %}
|
|
26
53
|
|
|
27
54
|
{% if page.layout == "post" %}
|