jekyll-materialdocs 1.2.1 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f234e1f0641c6e958b8e88578047521a6cd8039
4
- data.tar.gz: 8b06cc184dca42bab8e9c0a89de1764b807cd3d6
3
+ metadata.gz: 5c4b95bea3a1e5bcbfa2b83a15de90bbe64047c2
4
+ data.tar.gz: 673f0cac184a312de11f323c480e0d13f0247605
5
5
  SHA512:
6
- metadata.gz: 6013753a4cd5ebc665b37011f4f3c4095c75c4107d9102ed5bffa81ed5462aeda7052559ef4e2bdc5db514bf82325f649833a988209d413d31c4b7487770f62f
7
- data.tar.gz: 5ba132c3d2ba17afbe7c11389960de27c28c567b7db989f1881c33d3cdf1c92a9d00764dd41f97a5466545a5fb21d38c65e859daa3c5275564f55908b3b8a08d
6
+ metadata.gz: 822d85a87abd2cfa38849adf5eb622f84b2e213688635cbdf2fccc800546d7ea4602beae6a2f142f91d1285e3e571c7acf9567d2827304cae156c9f8fad4f8a1
7
+ data.tar.gz: 5008cec8d925049659803136a07be557a8e38184df09f68ffe88d4091e0341dcce944a1113ec3f3d125a11b6775653ba7257d90f993661e29b8555dd78b2333f
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **View this theme on [ThemeJekyll](https://themejekyll.github.io/theme/materialdocs/)**
4
4
 
5
- ![MaterialDocs Screenshot](https://themejekyll.github.io/assets/screenshots/materialdocs/materialdocs-screenshot-2.jpg)
5
+ ![MaterialDocs Screenshot](screenshot.png)
6
6
 
7
7
  MaterialDocs is a material two-column Jekyll theme designed for documentation websites. It is built with [Material Design Lite](https://getmdl.io).
8
8
 
data/_includes/head.html CHANGED
@@ -11,5 +11,5 @@
11
11
  {% assign mdl_colors = page.mdl_colors %}
12
12
  {% endif %}
13
13
  <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.{{ mdl_colors }}.min.css" />
14
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/jekyll-materialdocs.css">
14
+ <link rel="stylesheet" href="{{ '/assets/jekyll-materialdocs.css' | absolute_url }}">
15
15
  <title>{{ page.title }} | {{ site.title }}</title>
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </header>
22
22
  <div class="mdl-layout__drawer">
23
- <span class="mdl-layout-title"><a id="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a></span>
23
+ <span class="mdl-layout-title"><a id="site-title" href="{{ '/' | absolute_url }}">{{ site.title }}</a></span>
24
24
  <nav class="mdl-navigation">
25
25
  {% include menu.html %}
26
26
  </nav>
data/assets/search.html CHANGED
@@ -2,6 +2,8 @@
2
2
  layout: page
3
3
  title: Search
4
4
  menu: false
5
+ search: false
6
+ permalink: /search
5
7
  ---
6
8
  {% if site.search != false %}
7
9
  <div id="search-container">
@@ -13,12 +15,12 @@ menu: false
13
15
  </form>
14
16
  <ul class="demo-list-item mdl-list" id="results"></ul>
15
17
  </div>
16
- <script src="{{ site.baseurl }}/assets/simple-jekyll-search.min.js"></script>
18
+ <script src="{{ '/assets/simple-jekyll-search.min.js' | absolute_url }}"></script>
17
19
  <script>
18
20
  SimpleJekyllSearch({
19
21
  searchInput: document.getElementById('search'),
20
22
  resultsContainer: document.getElementById('results'),
21
- json: '{{ site.baseurl }}/assets/search.json',
23
+ json: "{{ '/assets/search.json' | absolute_url }}",
22
24
  searchResultTemplate: '<li class="mdl-list__item"><a href="{url}"><span class="mdl-list__item-primary-content">{title}</span></a></li>'
23
25
  })
24
26
  </script>
data/assets/search.json CHANGED
@@ -6,7 +6,7 @@ layout: null
6
6
  {% for node in site.pages %}{% if node.title and node.content and node.search != false %}
7
7
  {
8
8
  "title" : "{{ node.title | escape }}",
9
- "url" : "{{ site.baseurl }}{{ node.url }}",
9
+ "url" : "{{ node.url | absolute_url }}",
10
10
  "content" : {{ node.content | newlines_to_br | strip_html | jsonify }}
11
11
  },
12
12
  {% endif %}{% endfor %}{}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-materialdocs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James King