academic 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +28 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1db649ed61dfe7bafb4b0b6307d81c90ff0662b4
4
- data.tar.gz: 0d253319ac809f4796a59ae1b273099d4622500b
3
+ metadata.gz: b43caa05cb35ece8b235ce341de611d5cf16dc8a
4
+ data.tar.gz: f3ca61215a0af1e16d6a52013bad1203045bb324
5
5
  SHA512:
6
- metadata.gz: 43425ec42ce271a032163595d3a59bea88a5aebad467e346efdb9454a1cde3711451be451a77cf903cf305e75e536fe93e66920f518b8d04cfea376e9ce054b0
7
- data.tar.gz: 4dbc8bd5dd83419aa7f622b83db56f7a6ad4b32a218f1175dd375d8d9f745d026b9bc4007b60125daa10fd8c2e89c0f6c63ad67cbe343bc528e112ae84d4c781
6
+ metadata.gz: 5584782702404ffd011f57de7d400d8fb2d84b946cc0d401b6e89f90dac566511a21140c53a266fb16af5f2a7cab2034ae32e454ec2c7a3ab0636b5de39680aa
7
+ data.tar.gz: c3b9533dff4ade6ca6ee3ceb9b58d613ccab3ed62631dcec1846f3adcf649d036fce293935381cc2e15b86002e9dce1c422892d291bb0d68d87e6275b7b01b5c
@@ -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" %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: academic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaalcaras