jekyll-lab-notebook 0.1.2 → 0.1.3
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 +18 -3
- data/_layouts/home.html +35 -29
- data/_sass/lab-notebook/_base.scss +0 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ea9aece042cf6986ba0adf3967d14d1b9a50578
|
|
4
|
+
data.tar.gz: 0f1a18ae83887cf682386b18213009283cdeaa20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f754ab130d3d72b56ea51bd5fbef3042e9f92ea70dfc131df1232d32997f9f161a3e6a62fc7ac3b4f4159d60d724876e337964d7f58ed3ee5131db2331bad5e0
|
|
7
|
+
data.tar.gz: 8f546e1dfc9e5649bd06cdd04ee9d6e5671ebb618a0aea64e483ec0066571f1f6f4e2fdb2bdf8a27a7717b75c15518c3f846c3739ef17da8eb484b1ddf940aa5
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# jekyll-lab-notebook
|
|
1
|
+
# 📓 jekyll-lab-notebook
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/jekyll-lab-notebook)
|
|
4
4
|
|
|
@@ -12,13 +12,28 @@ whatever; think of this as your springboard.
|
|
|
12
12
|
|
|
13
13
|

|
|
14
14
|
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
## Features
|
|
18
|
+
|
|
19
|
+
- Take simple markdown notes in your favorite text editor (I recommend [Atom](https://atom.io/))
|
|
20
|
+
- Easily embed images, CSVs, or PDFs in your protocols/logs/wherever
|
|
21
|
+
- Interactive calendar to show you when you had log entries
|
|
22
|
+
- Enter your log entries chronologically, but then tag them so they show up with other entries on the same project (Multi-project tags supported too!)
|
|
23
|
+
- Add highlighted sections (note or thought bubbles) to draw attention to important things
|
|
24
|
+
|
|
15
25
|
## Installation and Usage
|
|
16
26
|
|
|
17
|
-
|
|
27
|
+
See the [eln-example](https://github.com/tlnagy/eln-example) repo.
|
|
18
28
|
|
|
19
29
|
## Contributing
|
|
20
30
|
|
|
21
|
-
|
|
31
|
+
This project is split into two main reports
|
|
32
|
+
|
|
33
|
+
- The one you're on, which is where all the layout and design stuff happens
|
|
34
|
+
- The [plugins](https://github.com/tlnagy/jekyll-lab-notebook-plugins) repo, this where the heavy lifting happens.
|
|
35
|
+
|
|
36
|
+
Bug reports and pull requests are welcome on GitHub at <https://github.com/tlnagy/jekyll-lab-notebook> and at <https://github.com/tlnagy/jekyll-lab-notebook-plugins>. 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
37
|
|
|
23
38
|
## Development
|
|
24
39
|
|
data/_layouts/home.html
CHANGED
|
@@ -3,6 +3,8 @@ layout: default
|
|
|
3
3
|
---
|
|
4
4
|
<head>
|
|
5
5
|
{% include calheader.html %}
|
|
6
|
+
{% assign home-items = site.jekyll-lab-notebook.home-page %}
|
|
7
|
+
|
|
6
8
|
<script type="text/javascript">
|
|
7
9
|
|
|
8
10
|
// stolen from here: https://stackoverflow.com/questions/688196/how-to-use-a-link-to-call-javascript
|
|
@@ -19,8 +21,19 @@ layout: default
|
|
|
19
21
|
return false;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
{% if home-items %}
|
|
25
|
+
{% for item in home-items %}
|
|
26
|
+
{% assign button_id = item.name | slugify | append: '-link' %}
|
|
27
|
+
button = document.getElementById("{{ button_id }}")
|
|
28
|
+
button.onclick = f;
|
|
29
|
+
target = document.getElementById(button.dataset.target)
|
|
30
|
+
{% if item.hidden %}
|
|
31
|
+
target.style.display = 'none'
|
|
32
|
+
{% else %}
|
|
33
|
+
target.style.display = 'block'
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% endfor %}
|
|
36
|
+
{% endif %}
|
|
24
37
|
}
|
|
25
38
|
</script>
|
|
26
39
|
</head>
|
|
@@ -33,33 +46,26 @@ layout: default
|
|
|
33
46
|
</div>
|
|
34
47
|
</div>
|
|
35
48
|
<div id="home">
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
{% if home-items %}
|
|
50
|
+
{% for item in home-items %}
|
|
51
|
+
<h1><a href="#" id="{{ item.name | slugify | append: '-link'}}"
|
|
52
|
+
data-target="{{ item.name | slugify | append: '-list'}}">{{ item.name }}</h1>
|
|
53
|
+
<div id="{{ item.name | slugify | append: '-list' }}">
|
|
54
|
+
<ul class="posts">
|
|
55
|
+
{% if item.is_posts %}
|
|
56
|
+
{% for post in site.posts %}
|
|
57
|
+
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.date | date: "%B %Y" }}</a></li>
|
|
58
|
+
{% endfor %}
|
|
59
|
+
{% elsif item.dir %}
|
|
60
|
+
{% for page in site.pages %}
|
|
61
|
+
{% if page.url contains item.dir %}
|
|
62
|
+
<li><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title | escape }}</a></li>
|
|
63
|
+
{% endif %}
|
|
64
|
+
{% endfor %}
|
|
49
65
|
{% endif %}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<h1><a id="misc-link" href="#" data-target="misc-list">Miscellaneous</a></h1>
|
|
55
|
-
<div id="misc-list">
|
|
56
|
-
<ul class="posts">
|
|
57
|
-
{% for page in site.pages %}
|
|
58
|
-
{% if page.url contains 'random/' %}
|
|
59
|
-
<li><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title | escape }}</a></li>
|
|
60
|
-
{% endif %}
|
|
61
|
-
{% endfor %}
|
|
62
|
-
</ul>
|
|
63
|
-
</div>
|
|
66
|
+
</ul>
|
|
67
|
+
</div>
|
|
68
|
+
{% endfor %}
|
|
69
|
+
{% endif %}
|
|
64
70
|
</div>
|
|
65
71
|
{% include calfooter.html %}
|
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.3
|
|
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-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|