crane-theme 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 6bc247df498e2e457b9be8a68d582bbbe80c94afc3704e2e0f451e00c9270643
4
- data.tar.gz: 260ca317878fa2e59ba04b6bf6701edde3cc648de95ee40d194254f9df7fc63d
3
+ metadata.gz: 3c548db22a71138b6074d92c3b8a670a327b3288703748c00686c2dd69d55935
4
+ data.tar.gz: 447bbb4193853f0294835f77c1fddc29422ed85fb3c6fc0f8a4113d53311f6ff
5
5
  SHA512:
6
- metadata.gz: bdb98057a29a233bb4a1bfecf95c4882143a79c39cb59defe49ccfd4012306f0189c9b626611d043af76141c8a01eab32f4e3201be9e5bd6cb8f58b393e7f33c
7
- data.tar.gz: 47d65d077e00f19eed02b8d45d530a1b76e9a5d005a406da980c893557e3ad1b10c90e596a7b497ceb3d22ec7782ce2e2a90ff846f488a6ae72bc0f53a3e4c98
6
+ metadata.gz: d81c9c60258504c69fd896ad2963e40c894d10a6057ebbefa8b7f428594e982808c46678af95b87c456c2a7b09bef2336215eaf5bc4cede10b5548abd1eda3d1
7
+ data.tar.gz: 06ff314b3920b0b62dd002899309d4a4e17893aa86c00d8da285d3effc6b8ededae06bae369ce1b2222d75eb58f41e93268358784a8fd8874aec8cee7d7d81b2
data/README.md CHANGED
@@ -4,14 +4,19 @@ This is a Jekyll theme for my personal website. You can use or fork it if you'd
4
4
 
5
5
 
6
6
  ## Installation
7
+ ### GitHub Pages
8
+ 1. add [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme)
9
+ 2. add `remote_theme: "garzaa/crane-theme"` to your `_config.yml`
10
+ 3. follow steps below
7
11
 
12
+ ### Other
8
13
  Add this line to your Jekyll site's `Gemfile`:
9
14
 
10
15
  ```ruby
11
16
  gem "crane-theme"
12
17
  ```
13
18
 
14
- And add this line to your Jekyll site's `_config.yml`:
19
+ And add this line to your Jekyll site's `_config.yml` (if not using GitHub Pages):
15
20
 
16
21
  ```yaml
17
22
  theme: crane-theme
@@ -29,8 +34,8 @@ Or install it yourself as:
29
34
 
30
35
  This theme supports an archive and a home page link. They'll be populated automatically if supplied. Just add these to your `_config.yml`:
31
36
  ```yaml
32
- archive_page: index
33
- home_page: index
37
+ archive_page: /archive
38
+ home_page: /index
34
39
  ```
35
40
 
36
41
  ## Contributing
data/_config.yml CHANGED
@@ -10,5 +10,5 @@ kramdown:
10
10
  plugins:
11
11
  - jekyll-seo-tag
12
12
 
13
- archive_page: index
14
- home_page: index
13
+ archive_page: /index
14
+ home_page: /index
@@ -5,11 +5,11 @@
5
5
  {%- assign page_paths = site.header_pages | default: default_paths -%}
6
6
  {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
7
7
  {% if site.home_page %}
8
- <a class="home-link" href="{{ "/"+site.home_page | relative_url }}">home</a>
8
+ <a class="home-link" href="{{ site.home_page | relative_url }}">home</a>
9
9
  {% endif %}
10
10
  &nbsp;
11
11
  {% if site.archive_page %}
12
- <a class="archive-link" href="{{ "/"+site.archive_page | relative_url }}">all posts</a>
12
+ <a class="archive-link" href="{{ site.archive_page | relative_url }}">all posts</a>
13
13
  {% endif %}
14
14
  </div>
15
15
  </header>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crane-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Garza