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 +4 -4
- data/_includes/head.html +33 -38
- data/_includes/sidebar-toc.html +3 -0
- data/_includes/sidebar.html +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 740b0bc12b2f73dd66e72117eec1db8fe16b77c07cfb7b62be7b2c350ea94615
|
4
|
+
data.tar.gz: 75f95a21d665c8a2c6148da4d9e2afaa3004c047a21df19fee43c979801b2834
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81f9683b88b4f89795953f82015bfdbb17a41912d87ed46682a535527cf5600e5eaf54b39d8f127faf1de9e2a8dc16193cd3536dbd53b81cf7f3c7a318ad2928
|
7
|
+
data.tar.gz: b6e948b47d7ab9da581adfcb1bdea7bb6a9554dbf77758763ade1a926839b6bfb76f6e04f14046706429227f3b53c2e1fc5df0f98f0cd55cd34c714b4ceec7a8
|
data/_includes/head.html
CHANGED
@@ -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="{{
|
5
|
+
<link rel="canonical" href="{{ resource_url }}" />
|
4
6
|
|
5
7
|
<!-- Basic meta elements -->
|
6
|
-
<meta
|
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,
|
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="{{
|
55
|
+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ directory_url }}/atom.xml" />
|
61
56
|
</head>
|
data/_includes/sidebar-toc.html
CHANGED
data/_includes/sidebar.html
CHANGED
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
|
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-
|
12
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|