jekyll-lab-notebook 0.1.1 → 0.1.2
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/README.md +1 -1
- data/_includes/head.html +1 -5
- data/_includes/header.html +3 -1
- data/_layouts/log.html +4 -0
- data/_layouts/project-home.html +13 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7c38de7c5a4529b3a0305747a1f57f409eaab2
|
4
|
+
data.tar.gz: c36d23ebd814bd411f65cb38c1712cc466abea91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3de6b6b588c45d77315d45897dbbbd53206ea8b3dfb0efe569f5027e58b06ab781f49b05f9abf76976e98ed6178d6f123b0e9839b83796decada72df08d8dcd3
|
7
|
+
data.tar.gz: 3b379724337b51a1ec263cbc5eb6f62badfdd03730f211fd68f8b15ac4d32f11c2823e16fdc2bb4094c5074cd573ee0c28f28b16100459fc40f1cc4507ad86c8
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ TODO
|
|
18
18
|
|
19
19
|
## Contributing
|
20
20
|
|
21
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
21
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/tlnagy/jekyll-lab-notebook. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
22
22
|
|
23
23
|
## Development
|
24
24
|
|
data/_includes/head.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
|
6
6
|
<title>
|
7
|
-
{{ site.short-title}} |
|
7
|
+
{{ site.short-title}} |
|
8
8
|
{% if page.date %}{{ page.date | date: "%B %Y" }}
|
9
9
|
{% elsif page.title %}{{ page.title | escape }}
|
10
10
|
{% else %}{{ site.title | escape }}{% endif %}
|
@@ -14,8 +14,4 @@
|
|
14
14
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
15
15
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
16
16
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
17
|
-
|
18
|
-
{% if jekyll.environment == 'production' and site.google_analytics %}
|
19
|
-
{% include google-analytics.html %}
|
20
|
-
{% endif %}
|
21
17
|
</head>
|
data/_includes/header.html
CHANGED
@@ -5,7 +5,9 @@
|
|
5
5
|
|
6
6
|
<nav class="site-nav">
|
7
7
|
<div class="trigger">
|
8
|
-
{%
|
8
|
+
{% assign static_pages = "Projects" | split: "," %}
|
9
|
+
{% assign page_list = site.header-pages | concat: static_pages %}
|
10
|
+
{% for page in page_list %}
|
9
11
|
<a class="page-link" href="/{{ page | downcase }}">{{ page }}</a>
|
10
12
|
{% endfor %}
|
11
13
|
<a class="page-link" href="{{ site.website }}">{{ site.website | remove: "https://" | remove: "http://" }}</a>
|
data/_layouts/log.html
CHANGED
@@ -8,6 +8,7 @@ layout: default
|
|
8
8
|
<p class="post-meta">
|
9
9
|
</header>
|
10
10
|
|
11
|
+
{% if page.next.url or page.previous.url %}
|
11
12
|
<div class="postNav cf">
|
12
13
|
{% if page.next.url %}
|
13
14
|
<a class="next{% if page.next.image %} image{% endif %}" href="{{ page.next.url | prepend: site.baseurl }}"><span>{{ page.next.date | date: "%B %Y" }} »</span></a>
|
@@ -16,6 +17,7 @@ layout: default
|
|
16
17
|
<a class="prev{% if page.previous.image %} image{% endif %}" href="{{ page.previous.url | prepend: site.baseurl }}"><span>« {{ page.previous.date | date: "%B %Y" }}</span></a>
|
17
18
|
{% endif %}
|
18
19
|
</div>
|
20
|
+
{% endif %}
|
19
21
|
|
20
22
|
<div class="post-content" itemprop="articleBody">
|
21
23
|
{{ content | replace: '<li>[ ]',
|
@@ -26,6 +28,7 @@ layout: default
|
|
26
28
|
<input type="checkbox" class="task-list-item-checkbox" value="on" disabled checked>' }}
|
27
29
|
</div>
|
28
30
|
|
31
|
+
{% if page.next.url or page.previous.url %}
|
29
32
|
<div class="postNav cf">
|
30
33
|
{% if page.next.url %}
|
31
34
|
<a class="next{% if page.next.image %} image{% endif %}" href="{{ page.next.url | prepend: site.baseurl }}"><span>{{ page.next.date | date: "%B %Y" }} »</span></a>
|
@@ -34,4 +37,5 @@ layout: default
|
|
34
37
|
<a class="prev{% if page.previous.image %} image{% endif %}" href="{{ page.previous.url | prepend: site.baseurl }}"><span>« {{ page.previous.date | date: "%B %Y" }}</span></a>
|
35
38
|
{% endif %}
|
36
39
|
</div>
|
40
|
+
{% endif %}
|
37
41
|
</article>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-lab-notebook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tamas Nagy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -88,6 +88,7 @@ files:
|
|
88
88
|
- _layouts/home.html
|
89
89
|
- _layouts/log.html
|
90
90
|
- _layouts/page.html
|
91
|
+
- _layouts/project-home.html
|
91
92
|
- _sass/lab-notebook.scss
|
92
93
|
- _sass/lab-notebook/_base.scss
|
93
94
|
- _sass/lab-notebook/_log.scss
|