plan-b 1.0.12 → 1.0.13
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/_layouts/default.html +100 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd4402e49f0e2797e77584a88814878afc5d105c2fa75677896490d549617fe8
|
|
4
|
+
data.tar.gz: 3a00f0c91c3d95be1705e0a5040ed121340c5535f138300e9bf6d7d84ec4af92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26c67627ecb526c2f670eb49d217c79b79dc028167c81be5983e9c6c57872e1c157b645bfb379572462868a4c192509261a435aac931c7f15fe01e64019f9b29
|
|
7
|
+
data.tar.gz: 6ac4520d2313db4105d25a3c9e165af55d0217271cd1cec2a4be8c4415489315b321b573eec15dfb353751f9baf28d94b1fbfe759642485ed6dd410358cf91a1
|
data/_layouts/default.html
CHANGED
|
@@ -1,7 +1,105 @@
|
|
|
1
|
-
{% include variables.html %}
|
|
2
1
|
<!DOCTYPE html>
|
|
3
2
|
<html lang="{{site.locale}}">
|
|
4
|
-
<head>
|
|
3
|
+
<head>
|
|
4
|
+
{% assign url = site.url | append: site.baseurl | append: page.url %}
|
|
5
|
+
|
|
6
|
+
{% if page.description %}
|
|
7
|
+
{% assign desc = page.description %}
|
|
8
|
+
{% else %}
|
|
9
|
+
{% if site.description %}
|
|
10
|
+
{% assign desc = site.description %}
|
|
11
|
+
{% else %}
|
|
12
|
+
{% assign desc = site.data.default.description %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
{% if page.title %}
|
|
17
|
+
{% assign title = page.title %}
|
|
18
|
+
{% else %}
|
|
19
|
+
{% if site.title %}
|
|
20
|
+
{% assign title = site.title %}
|
|
21
|
+
{% else %}
|
|
22
|
+
{% assign title = site.data.default.title %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
{% if site.favicon %}
|
|
27
|
+
{% assign favicon = site.favicon %}
|
|
28
|
+
{% else %}
|
|
29
|
+
{% assign favicon = site.data.default.favicon %}
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% if site.author %}
|
|
33
|
+
{% assign author = site.author %}
|
|
34
|
+
{% else %}
|
|
35
|
+
{% assign author = site.data.default.author %}
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
{% if site.header.container %}
|
|
39
|
+
{% assign header = site.header.container %}
|
|
40
|
+
{% else %}
|
|
41
|
+
{% assign header = site.data.default.header.container %}
|
|
42
|
+
{% endif %}
|
|
43
|
+
|
|
44
|
+
{% if site.header.navigation %}
|
|
45
|
+
{% assign header_navigation = site.header.navigation %}
|
|
46
|
+
{% else %}
|
|
47
|
+
{% assign header_navigation = site.data.default.header.navigation %}
|
|
48
|
+
{% endif %}
|
|
49
|
+
|
|
50
|
+
{% if site.footer.container %}
|
|
51
|
+
{% assign footer = site.footer.container %}
|
|
52
|
+
{% else %}
|
|
53
|
+
{% assign footer = site.data.default.footer.container %}
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
{% if site.footer.navigation %}
|
|
57
|
+
{% assign footer_navigation = site.footer.navigation %}
|
|
58
|
+
{% else %}
|
|
59
|
+
{% assign footer_navigation = site.data.default.footer.navigation %}
|
|
60
|
+
{% endif %}
|
|
61
|
+
|
|
62
|
+
{% if site.footer.copyright %}
|
|
63
|
+
{% assign copyright = site.footer.copyright %}
|
|
64
|
+
{% else %}
|
|
65
|
+
{% assign copyright = site.data.default.footer.copyright %}
|
|
66
|
+
{% endif %}
|
|
67
|
+
|
|
68
|
+
{% if site.google_analytics %}
|
|
69
|
+
{% assign google_analytics = site.google_analytics %}
|
|
70
|
+
{% else %}
|
|
71
|
+
{% assign google_analytics = site.data.default.google_analytics %}
|
|
72
|
+
{% endif %}
|
|
73
|
+
|
|
74
|
+
<meta charset="utf-8">
|
|
75
|
+
<title>{{title}}</title>
|
|
76
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
77
|
+
<meta name="keywords" content="blog, accent, {{author}}, {{title}}, jekyll">
|
|
78
|
+
<meta name="description" content="{{description}}">
|
|
79
|
+
<meta name="author" content="{{author}}">
|
|
80
|
+
<!-- {% if page.url == "/404.html" %}
|
|
81
|
+
<meta http-equiv="refresh" content="5; url=/">
|
|
82
|
+
{% endif %} -->
|
|
83
|
+
|
|
84
|
+
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
|
|
85
|
+
<link rel="stylesheet" type="text/css" href="{{"/assets/css/main.css" | relative_url}}">
|
|
86
|
+
|
|
87
|
+
{% if favicon %}
|
|
88
|
+
<link rel="icon" type="image/ico" href="{{favicon}}">
|
|
89
|
+
<link rel="shortcut-icon" type="image/ico" href="{{favicon}}">
|
|
90
|
+
{% endif %}
|
|
91
|
+
|
|
92
|
+
<meta name="og:description" content="{{description}}">
|
|
93
|
+
<meta name="og:title" content="{{title}}">
|
|
94
|
+
<meta name="og:url" content="{{url}}">
|
|
95
|
+
<meta name="og:type" content="article">
|
|
96
|
+
|
|
97
|
+
<meta name="twitter:card" content="summary">
|
|
98
|
+
<meta name="twitter:title" content="{{title}}">
|
|
99
|
+
<meta name="twitter:description" content="{{description}}">
|
|
100
|
+
<meta name="twitter:url" content="{{url}}">
|
|
101
|
+
|
|
102
|
+
</head>
|
|
5
103
|
<body class="{{page.url|slugify}}">
|
|
6
104
|
<div class="page-wrapper">
|
|
7
105
|
{% if header %}
|