jekyll-lab-notebook 0.1.5 → 0.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a63b383cc3478445b89425789b7c05176c5cb298
4
- data.tar.gz: dd4b4d9122ddaf0ca09599bbe44f336efebc3f5d
3
+ metadata.gz: 2aa7cba16feb26285af6ddbe386b34b1e36ecc5f
4
+ data.tar.gz: 8a82972fbb87e57770440b668a20e3acc9d7ee6e
5
5
  SHA512:
6
- metadata.gz: 1e08573bc258a173a268b3687bc7ce7fe0d0c0ca0734711e84111f7f2d242bce41a9dde434f1b0a9c3a718b09bb0a088c4211b0571e47ae9eb221c056c94b401
7
- data.tar.gz: dacc22394e33469d7360fc351664863869985bb6eeb359083b0867804bd1c694fdcf280ce56c52788bcb0aff847ffd329bb3d186972e2771be65c68655e071d0
6
+ metadata.gz: 8d5f0bc4ef9414df46dfeb04197f7e7fc183e9a2f1a8e395e0c64641010be62d78fdb27f9eebed4a988bb4b73d09d85dd9598edf5c293f8cc6bccdfde70e42f4
7
+ data.tar.gz: 9fc8286429cc26ed34e4df99854c24bf113c9b4bb071cff0a8bb08aee474f5248a2ec12b3e91a3ee360df6a31d5b9a289ff5e0613d4ac41585ef7119d7ec7242
data/README.md CHANGED
@@ -39,7 +39,7 @@ bundle update
39
39
  inside the `demo/` folder, which will install all the necessary packages. Then run
40
40
 
41
41
  ```
42
- jekyll serve -wi
42
+ bundle exec jekyll serve -wi
43
43
  ```
44
44
 
45
45
  to actually serve the ELN and navigate to the address listed using your browser to see your ELN. Edit the posts inside the `_posts/` subdirectory to add entries.
@@ -51,7 +51,7 @@ caloptions = {
51
51
  month = ("0"+(date.getMonth()+1)).slice(-2);
52
52
  day = ("0" + date.getDate()).slice(-2);
53
53
  if (nb > 0){
54
- window.location.href = "/log/" + year + "_" + month + "/#" + year + month + day;
54
+ window.location.href = "{{ site.baseurl }}/log/" + year + "_" + month + "/#" + year + month + day;
55
55
  }
56
56
  },
57
57
  legendColors: {
@@ -48,7 +48,7 @@
48
48
  window.simpleJekyllSearch = new SimpleJekyllSearch({
49
49
  searchInput: document.getElementById('search-input'),
50
50
  resultsContainer: document.getElementById('results-container'),
51
- json: '/search.json',
51
+ json: '{{ site.baseurl }}/search.json',
52
52
  searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>',
53
53
  noResultsText: 'No results found',
54
54
  limit: 10,
@@ -8,7 +8,7 @@
8
8
  {% assign static_pages = "Projects" | split: "," %}
9
9
  {% assign page_list = site.header-pages | concat: static_pages %}
10
10
  {% for page in page_list %}
11
- <a class="page-link" href="/{{ page | downcase }}">{{ page }}</a>
11
+ <a class="page-link" href="{{ site.baseurl }}/{{ page | downcase }}">{{ page }}</a>
12
12
  {% endfor %}
13
13
  <input type="text" id="search-input" placeholder="search...">
14
14
  </div>
@@ -7,7 +7,7 @@ title: Projects
7
7
  <ul>
8
8
  {% for project in site.data.tagmap %}
9
9
  <li>
10
- <a href="{{ page.url }}/{{ project[0] }}">{{ project[0] }}</a>
10
+ <a href="{{ site.baseurl }}{{ page.url }}{{ project[0] }}">{{ project[0] }}</a>
11
11
  </li>
12
12
  {% endfor %}
13
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamas Nagy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll