ed. 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ad0bc6735e305539c4a3b69db7293f87dd8916633cbcc06aa09a6a4a75e12bf
4
- data.tar.gz: 1dcde27f9e590f14a6dc8731672c3978fbb4836103edfb62a51f9d3bcdde3fc1
3
+ metadata.gz: 740b0bc12b2f73dd66e72117eec1db8fe16b77c07cfb7b62be7b2c350ea94615
4
+ data.tar.gz: 75f95a21d665c8a2c6148da4d9e2afaa3004c047a21df19fee43c979801b2834
5
5
  SHA512:
6
- metadata.gz: 80397358158dd8593665b109eaafa516170dc71f1e8feb00635f6e81d467057b73446997a5490850199618ef52e4960a83ba8b7929cce98bc3a9dc1359c058bd
7
- data.tar.gz: 647181a35ac1933fb2b51944ca5df5477125700634e87fa8ce744808a827bdd5e0fd8d75f20ea1838a1743ac19f6c0ff8adafc05a0664ff663087f91369e5997
6
+ metadata.gz: 81f9683b88b4f89795953f82015bfdbb17a41912d87ed46682a535527cf5600e5eaf54b39d8f127faf1de9e2a8dc16193cd3536dbd53b81cf7f3c7a318ad2928
7
+ data.tar.gz: b6e948b47d7ab9da581adfcb1bdea7bb6a9554dbf77758763ade1a926839b6bfb76f6e04f14046706429227f3b53c2e1fc5df0f98f0cd55cd34c714b4ceec7a8
@@ -1,45 +1,14 @@
1
- <head>
1
+ <head prefix="og: http://ogp.me/ns#; dc: http://purl.org/dc/terms/#">
2
+ {% capture resource_url %}{{ site.url }}{{ site.baseurl }}{{ page.url }}{% endcapture %}
3
+ {% capture directory_url %}{{ site.url }}{{ site.baseurl }}{% endcapture %}
2
4
  <!-- Canonical link to help search engines -->
3
- <link rel="canonical" href="{{ site.baseurl }}{{ page.url }}" />
5
+ <link rel="canonical" href="{{ resource_url }}" />
4
6
 
5
7
  <!-- Basic meta elements -->
6
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
8
+ <meta charset="utf-8" />
8
9
 
9
10
  <!-- Enable responsiveness on mobile devices -->
10
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
11
-
12
- <!-- Dublin Core metadata for Zotero -->
13
- <meta name="DC.title" content="{{ page.title }}" />
14
- <meta name="DC.creator" content="{{ page.author }}" />
15
- <meta name="DC.contributor" content="{{ page.editor }}" />
16
- <meta name="DC.date" content="{{ page.publication-date }}" />
17
- <meta name="DC.rights" content="{{ page.rights }}" />
18
- <meta name="DC.source" content="{{ site.title }}" />
19
-
20
- <!-- Open Graph metadata -->
21
- {% if page.layout == "default" %}
22
- <meta property="og:title" content="{{page.title}}" />
23
- <meta property="og:description" content="{{site.description}}">
24
- <meta property="fb:admins" content="elotroalex" />
25
- <meta property="og:type" content="website" />
26
- <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}" />
27
- <meta property="fb:app_id" content="589495744558280" />
28
- <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png" />
29
- <meta property="og:image:width" content="200" />
30
- <meta property="og:image:height" content="200" />
31
-
32
- {% else %}
33
- <meta property="og:title" content="{{page.title}}" />
34
- <meta property="og:description" content="An Ed edition">
35
- <meta property="fb:admins" content="elotroalex" />
36
- <meta property="og:type" content="article" />
37
- <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}" />
38
- <meta property="fb:app_id" content="589495744558280" />
39
- <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png" />
40
- <meta property="og:image:width" content="200" />
41
- <meta property="og:image:height" content="200" />
42
- {% endif %}
11
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no" />
43
12
 
44
13
  <title>
45
14
  {% if page.title == "Home" %}
@@ -49,6 +18,32 @@
49
18
  {% endif %}
50
19
  </title>
51
20
 
21
+ <!-- Dublin Core metadata for Zotero -->
22
+ <meta property="dc:title" content="{{ page.title }}" />
23
+ <meta property="dc:creator" content="{{ page.author }}" />
24
+ <meta property="dc:identifier" content="{{ resource_url }}" />
25
+ {% if page.editor %}<meta property="dc:contributor" content="{{ page.editor }}" />{% endif %}
26
+ {% if page.publication-date %}<meta property="dc:date" content="{{ page.publication-date }}" />{% endif %}
27
+ {% if page.rights %}<meta property="dc:rights" content="{{ page.rights }}" />{% endif %}
28
+ <meta property="dc:source" content="{% if page.source %}{{ page.source }}{% else %}{{ site.title }}{% endif %}" />
29
+
30
+ <!-- Open Graph metadata -->
31
+ <meta property="og:title" content="{{page.title}}" />
32
+ <meta property="og:url" content="{{ resource_url }}" />
33
+ <meta property="og:image" content="{{ directory_url }}/assets/open-graph-logo.png" />
34
+ <meta property="og:image:width" content="200" />
35
+ <meta property="og:image:height" content="200" />
36
+ <meta property="fb:admins" content="elotroalex" />
37
+ <meta property="fb:app_id" content="589495744558280" />
38
+
39
+ {% if page.layout == "default" %}
40
+ <meta property="og:description" content="{{site.description}}">
41
+ <meta property="og:type" content="website" />
42
+ {% else %}
43
+ <meta property="og:description" content="An Ed edition">
44
+ <meta property="og:type" content="article" />
45
+ {% endif %}
46
+
52
47
  <!-- CSS link -->
53
48
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
54
49
 
@@ -57,5 +52,5 @@
57
52
  <link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicon.ico" />
58
53
 
59
54
  <!-- RSS -->
60
- <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml" />
55
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ directory_url }}/atom.xml" />
61
56
  </head>
@@ -22,5 +22,8 @@
22
22
  <p>
23
23
  Edited by {{ page.editor }}, {{ site.time | date: '%Y' }}.
24
24
  </p>
25
+ <p>
26
+ Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
27
+ </p>
25
28
  </div>
26
29
  </div>
@@ -41,6 +41,8 @@
41
41
  </nav>
42
42
 
43
43
  <div class="sidebar-item">
44
- <p>Currently v1.0 Distributed with an MIT license.</p>
44
+ <p>
45
+ Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
46
+ </p>
45
47
  </div>
46
48
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ed.
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Gil
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-10 00:00:00.000000000 Z
12
+ date: 2019-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll