jekyll-lab-notebook 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: '084173494e1639a2b46c2ed388c393f06235ebae'
4
- data.tar.gz: 703ced5ec3f0a792197763d592fe26799bebd13b
3
+ metadata.gz: 3c7c38de7c5a4529b3a0305747a1f57f409eaab2
4
+ data.tar.gz: c36d23ebd814bd411f65cb38c1712cc466abea91
5
5
  SHA512:
6
- metadata.gz: 15c967f43b76bc9ae677f9b7c5dc6b7b05b870bc1daad92975101fda17aa2b3838b32845b3c5fa836c997bc7fbf4d6d4d40c085391975ef73c12f8509ecc322c
7
- data.tar.gz: 16704a7a8cd8a25a8dfeaff5e3b5981b58c627df45e3b9b704bea16c7dac64ffc859740e60085ba1cbda8bd29dd17449bbca8fd4682be948f3b9f24324cc82e8
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/[USERNAME]/hello. 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.
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
 
@@ -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>
@@ -5,7 +5,9 @@
5
5
 
6
6
  <nav class="site-nav">
7
7
  <div class="trigger">
8
- {% for page in site.header-pages %}
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>
@@ -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" }}&nbsp;&raquo;</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>&laquo;&nbsp;{{ 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" }}&nbsp;&raquo;</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>&laquo;&nbsp;{{ page.previous.date | date: "%B %Y" }}</span></a>
35
38
  {% endif %}
36
39
  </div>
40
+ {% endif %}
37
41
  </article>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: page
3
+ title: Projects
4
+ ---
5
+
6
+ <p>All log entries organized by project</p>
7
+ <ul>
8
+ {% for project in site.data.tagmap %}
9
+ <li>
10
+ <a href="{{ page.url }}/{{ project[0] }}">{{ project[0] }}</a>
11
+ </li>
12
+ {% endfor %}
13
+ </ul>
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.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-19 00:00:00.000000000 Z
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