jekyll-theme-hydeout 3.6.0 → 3.7.0

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: 86db42b3e551238805c6650a0f12bc706e36f2d0
4
- data.tar.gz: c0407cfff5cc0a9fa5d4aae0c0d9ba119e16545f
3
+ metadata.gz: 19684fabd8b8f17b1a35ad048fb68dd7d0a9b7e7
4
+ data.tar.gz: 1d3fb2fff14537e5195ae7174d36e75cc40dd3c7
5
5
  SHA512:
6
- metadata.gz: d138cfcd130442912572794a4a7d03178fd9c015434332a74ee577d744451f363a7be7397acbee39c80c70974aceae616514080a254ed5fbe612e211145707e2
7
- data.tar.gz: 8f52bb32cb8613b07d751a0b72987d272ffb18f287e5e09e9ca31bcea6212ae9a9c4a2d920afee6e5c4a7b07e4a6c3e0a19b1ee1c21fa1c7bdc65f259b5e12cd
6
+ metadata.gz: 11f693116901653e7621c4ab8b6b4ffdb1e11c87d9f5dc2138ab9092f4078fea631c09d58e4811f7c8a57d57e3050b1aeb89590c8df4b8b312a3e12f0ea1ad12
7
+ data.tar.gz: 1dcb46959a14523f3fcc6eb7f6387138e6dd551061f39ec26a6fce81321443e31d5d0ab6bd11883c652becbe36c4ded9c30031afca1cf78025d7e4d089a43ff7
data/README.md CHANGED
@@ -23,6 +23,9 @@ title: Home
23
23
  ---
24
24
  ```
25
25
 
26
+ You'll also need to add a setting to `config.yml` telling Jekyll how many posts
27
+ to include per page (e.g. `paginate: 5`).
28
+
26
29
  ### Keep It Simple
27
30
 
28
31
  In keeping with the original Hyde theme, Hydeout aims to keep the overall
@@ -116,6 +119,22 @@ You can see the full set of partials you can replace in the
116
119
  Description of "My Category"
117
120
  ```
118
121
 
122
+ * You can control how pages are sorted by using the `sidebar_sort_order`
123
+ parameter in the front matter. This works for both category and non-category
124
+ pages, although non-category pages will always come first. Take a look at
125
+ [`_includes/sidebar-nav-links.html`](./_includes/sidebar-nav-links.html) if
126
+ you want to customize this behavior.
127
+
128
+ ```
129
+ ---
130
+ layout: page
131
+ title: My page
132
+ sort_order: 123
133
+ ---
134
+
135
+ Some content.
136
+ ```
137
+
119
138
  * A simple redirect-to-Google search is available. Just create a page with
120
139
  the `search` layout.
121
140
 
@@ -1,7 +1,7 @@
1
1
  {% comment %}
2
2
  Dynamically generate list of links to all category pages
3
3
  {% endcomment %}
4
- {% assign pages_list = site.pages %}
4
+ {% assign pages_list = site.pages|sort:"sidebar_sort_order" %}
5
5
  {% for node in pages_list %}
6
6
  {% if node.title != null %}
7
7
  {% if node.layout == "category" %}
@@ -24,7 +24,7 @@
24
24
  {% include favicons.html %}
25
25
 
26
26
  <!-- RSS -->
27
- <link rel="alternate" type="application/rss+xml" title="RSS" href="/feed.xml" />
27
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/{{ site.feed.path | default: 'feed.xml' }}" />
28
28
 
29
29
  {% include custom-head.html %}
30
30
  </head>
@@ -2,7 +2,7 @@
2
2
  The code below dynamically generates a sidebar nav of pages with
3
3
  `sidebar_link: true` in the front-matter. See readme for usage.
4
4
  {% endcomment %}
5
- {% assign pages_list = site.pages %}
5
+ {% assign pages_list = site.pages|sort:"sidebar_sort_order" %}
6
6
  {% for node in pages_list %}
7
7
  {% if node.title != null %}
8
8
  {% if node.sidebar_link %}
@@ -19,11 +19,11 @@
19
19
 
20
20
  {% if category_page %}
21
21
  <a href="{{ site.baseurl }}{{ category_page.url }}">
22
- {{ category }}
22
+ {{ category_page.title | default: category_page.category }}
23
23
  </a>
24
24
  {% else %}
25
25
  {{ category }}
26
26
  {% endif %}
27
27
  {% endfor %}
28
28
  </span>
29
- </div>
29
+ </div>
@@ -14,7 +14,7 @@
14
14
 
15
15
  <a id="subscribe-link"
16
16
  class="icon" title="Subscribe" aria-label="Subscribe"
17
- href="{{ site.baseurl }}/feed.xml">
17
+ href="{{ site.baseurl }}/{{ site.feed.path | default: 'feed.xml' }}">
18
18
  {% include svg/feed.svg %}
19
19
  </a>
20
20
 
@@ -50,4 +50,4 @@
50
50
  {% endif %}
51
51
 
52
52
  {% include custom-icon-links.html %}
53
- </nav>
53
+ </nav>
@@ -1,2 +1,2 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 28"><path d="M12 2c6.625 0 12 5.375 12 12 0 5.297-3.437 9.797-8.203 11.391-0.609 0.109-0.828-0.266-0.828-0.578 0-0.391 0.016-1.687 0.016-3.297 0-1.125-0.375-1.844-0.812-2.219 2.672-0.297 5.484-1.313 5.484-5.922 0-1.313-0.469-2.375-1.234-3.219 0.125-0.313 0.531-1.531-0.125-3.187-1-0.313-3.297 1.234-3.297 1.234-0.953-0.266-1.984-0.406-3-0.406s-2.047 0.141-3 0.406c0 0-2.297-1.547-3.297-1.234-0.656 1.656-0.25 2.875-0.125 3.187-0.766 0.844-1.234 1.906-1.234 3.219 0 4.594 2.797 5.625 5.469 5.922-0.344 0.313-0.656 0.844-0.766 1.609-0.688 0.313-2.438 0.844-3.484-1-0.656-1.141-1.844-1.234-1.844-1.234-1.172-0.016-0.078 0.734-0.078 0.734 0.781 0.359 1.328 1.75 1.328 1.75 0.703 2.141 4.047 1.422 4.047 1.422 0 1 0.016 1.937 0.016 2.234 0 0.313-0.219 0.688-0.828 0.578-4.766-1.594-8.203-6.094-8.203-11.391 0-6.625 5.375-12 12-12zM4.547 19.234c0.031-0.063-0.016-0.141-0.109-0.187-0.094-0.031-0.172-0.016-0.203 0.031-0.031 0.063 0.016 0.141 0.109 0.187 0.078 0.047 0.172 0.031 0.203-0.031zM5.031 19.766c0.063-0.047 0.047-0.156-0.031-0.25-0.078-0.078-0.187-0.109-0.25-0.047-0.063 0.047-0.047 0.156 0.031 0.25 0.078 0.078 0.187 0.109 0.25 0.047zM5.5 20.469c0.078-0.063 0.078-0.187 0-0.297-0.063-0.109-0.187-0.156-0.266-0.094-0.078 0.047-0.078 0.172 0 0.281s0.203 0.156 0.266 0.109zM6.156 21.125c0.063-0.063 0.031-0.203-0.063-0.297-0.109-0.109-0.25-0.125-0.313-0.047-0.078 0.063-0.047 0.203 0.063 0.297 0.109 0.109 0.25 0.125 0.313 0.047zM7.047 21.516c0.031-0.094-0.063-0.203-0.203-0.25-0.125-0.031-0.266 0.016-0.297 0.109s0.063 0.203 0.203 0.234c0.125 0.047 0.266 0 0.297-0.094zM8.031 21.594c0-0.109-0.125-0.187-0.266-0.172-0.141 0-0.25 0.078-0.25 0.172 0 0.109 0.109 0.187 0.266 0.172 0.141 0 0.25-0.078 0.25-0.172zM8.937 21.438c-0.016-0.094-0.141-0.156-0.281-0.141-0.141 0.031-0.234 0.125-0.219 0.234 0.016 0.094 0.141 0.156 0.281 0.125s0.234-0.125 0.219-0.219z"></path>
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 28" height="24" width="28"><path d="M12 2c6.625 0 12 5.375 12 12 0 5.297-3.437 9.797-8.203 11.391-0.609 0.109-0.828-0.266-0.828-0.578 0-0.391 0.016-1.687 0.016-3.297 0-1.125-0.375-1.844-0.812-2.219 2.672-0.297 5.484-1.313 5.484-5.922 0-1.313-0.469-2.375-1.234-3.219 0.125-0.313 0.531-1.531-0.125-3.187-1-0.313-3.297 1.234-3.297 1.234-0.953-0.266-1.984-0.406-3-0.406s-2.047 0.141-3 0.406c0 0-2.297-1.547-3.297-1.234-0.656 1.656-0.25 2.875-0.125 3.187-0.766 0.844-1.234 1.906-1.234 3.219 0 4.594 2.797 5.625 5.469 5.922-0.344 0.313-0.656 0.844-0.766 1.609-0.688 0.313-2.438 0.844-3.484-1-0.656-1.141-1.844-1.234-1.844-1.234-1.172-0.016-0.078 0.734-0.078 0.734 0.781 0.359 1.328 1.75 1.328 1.75 0.703 2.141 4.047 1.422 4.047 1.422 0 1 0.016 1.937 0.016 2.234 0 0.313-0.219 0.688-0.828 0.578-4.766-1.594-8.203-6.094-8.203-11.391 0-6.625 5.375-12 12-12zM4.547 19.234c0.031-0.063-0.016-0.141-0.109-0.187-0.094-0.031-0.172-0.016-0.203 0.031-0.031 0.063 0.016 0.141 0.109 0.187 0.078 0.047 0.172 0.031 0.203-0.031zM5.031 19.766c0.063-0.047 0.047-0.156-0.031-0.25-0.078-0.078-0.187-0.109-0.25-0.047-0.063 0.047-0.047 0.156 0.031 0.25 0.078 0.078 0.187 0.109 0.25 0.047zM5.5 20.469c0.078-0.063 0.078-0.187 0-0.297-0.063-0.109-0.187-0.156-0.266-0.094-0.078 0.047-0.078 0.172 0 0.281s0.203 0.156 0.266 0.109zM6.156 21.125c0.063-0.063 0.031-0.203-0.063-0.297-0.109-0.109-0.25-0.125-0.313-0.047-0.078 0.063-0.047 0.203 0.063 0.297 0.109 0.109 0.25 0.125 0.313 0.047zM7.047 21.516c0.031-0.094-0.063-0.203-0.203-0.25-0.125-0.031-0.266 0.016-0.297 0.109s0.063 0.203 0.203 0.234c0.125 0.047 0.266 0 0.297-0.094zM8.031 21.594c0-0.109-0.125-0.187-0.266-0.172-0.141 0-0.25 0.078-0.25 0.172 0 0.109 0.109 0.187 0.266 0.172 0.141 0 0.25-0.078 0.25-0.172zM8.937 21.438c-0.016-0.094-0.141-0.156-0.281-0.141-0.141 0.031-0.234 0.125-0.219 0.234 0.016 0.094 0.141 0.156 0.281 0.125s0.234-0.125 0.219-0.219z"></path>
2
2
  </svg>
@@ -119,7 +119,6 @@ a[href^="#fnref:"] {
119
119
  // SVG Icons
120
120
  a svg, .icon svg {
121
121
  height: 1em;
122
- width: auto;
123
122
  }
124
123
  a svg { fill: $link-color; }
125
124
  .icon { vertical-align: middle; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Fong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-09 00:00:00.000000000 Z
11
+ date: 2018-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll