eleven-theme 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f5b41eeca5106e8af474d206bd45761192cb8f62abecb19afbb6e5a5af4e688
4
- data.tar.gz: a100a1bc869e5a823be178ab0cb422e45ebe80410e2df23e65483a0b86f53c1c
3
+ metadata.gz: 47d32a889d6b61b02ea4d9bf7951782d99683383a0d7b090783ec021985993a1
4
+ data.tar.gz: b5d4c0d60b1bdd5631d92317797b0768539bdfffa576426fca0d513aac07de7c
5
5
  SHA512:
6
- metadata.gz: b88f8ee46546ae3a0a09e0b3ccc9608e92459314c1033e70e0ddd697101a17da40b33a7d35fd688ecc15dc39f8a201f2f23a4c7729e0041ff4c8529992d3f96e
7
- data.tar.gz: 1d5d497e9e0be6afbef01ef514787837fc302f6bd8317cec68a761dacb425b00ebd1c4f4fb6dd8c60e922774db08a3046786eca7a866b247b45f8b5ba44910b5
6
+ metadata.gz: c4e99d59256ea82984e2f20f31ce545a3078befb62ae985afb27773db9cf786eb71439f658258ac7faea15bb081b6efb81514be568c618badfd45dcd5b82588e
7
+ data.tar.gz: 17622beae35066b9e0f6fe5217d2fae342b2d19dce23883dbe688911f210329890ad59615684e808158c7e66c8721242cb5f3eaba1ff8adff2a9979b8c9b371b
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # eleven
2
- a very simple, clean & customizable jekyll theme
3
- The theme is inspired by [no-style-please](https://github.com/riggraz/no-style-please) and [elly.town](https://elly.town/).
2
+ a very simple, clean & customizable jekyll theme.
3
+
4
+ Take a look at the [demo website](https://paulst.github.io/eleven/). The theme is inspired by [no-style-please](https://github.com/riggraz/no-style-please) and [elly.town](https://elly.town/).
4
5
 
5
6
  ## Installation
6
7
 
8
+ ### Local installation
7
9
  Add this line to your Jekyll site's `Gemfile`:
8
10
 
9
11
  ```ruby
@@ -23,10 +25,17 @@ And then execute:
23
25
  Or install it yourself as:
24
26
 
25
27
  $ gem install eleven-theme
28
+
29
+ Run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using the theme.
30
+
31
+ ### Deploying with github-pages
32
+ To get the best out of this template jekyll v4.2 is required. Since github pages runs on Jekyll 3, the easiest way is to use github actions to deploy the site.
33
+ Instructions can be found [here](https://jekyllrb.com/docs/continuous-integration/github-actions/).
34
+ Also the github-pages part of the github actions [here](https://github.com/PaulSt/eleven/blob/main/.github/workflows/ci.yml) can simply be reused.
26
35
 
27
- ## Usage
36
+ ## Layouts
28
37
 
29
- So far there are layouts for
38
+ Check iut the [demo website](https://paulst.github.io/eleven/) to see the different layouts. So far there are layouts for
30
39
  * home - should be used in for the index.md
31
40
  * block - used to show content directly in the home layout in a seperate block
32
41
  * post - used to create posts, which will be listed in the home layout.
@@ -35,15 +44,6 @@ So far there are layouts for
35
44
 
36
45
  Bug reports and pull requests are welcome on GitHub at https://github.com/PaulSt/eleven. 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.
37
46
 
38
- ## Development
39
-
40
- To set up your environment to develop this theme, run `bundle install`.
41
-
42
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
43
-
44
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
45
- To add a custom directory to your theme-gem, please edit the regexp in `eleven.gemspec` accordingly.
46
-
47
47
  ## License
48
48
 
49
49
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml CHANGED
@@ -11,3 +11,6 @@ title: "eleven"
11
11
  description: "simple & clean jekyll theme"
12
12
  excerpt_separator: <!--more-->
13
13
  page_excerpts: true
14
+
15
+ # for github subpage
16
+ baseurl: /eleven
data/_layouts/block.html CHANGED
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="w">
7
- <a href="\">^</a>
7
+ <a href="{{ '/' | relative_url }}">^</a>
8
8
  </div>
9
9
 
10
10
  <div class="box">
data/_layouts/home.html CHANGED
@@ -5,7 +5,7 @@ layout: default
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="w">
7
7
  <div style="display: inline-block">
8
- <img src="{{ site.eleven.logo }}" class="rounded">
8
+ <img src="{{ site.eleven.logo | relative_url }}" class="rounded">
9
9
  </div>
10
10
  <div style="display: inline-block; vertical-align: top; margin: 0 10px">
11
11
  {{ content }}
@@ -33,7 +33,7 @@ layout: default
33
33
  <h2>Posts</h2>
34
34
  <ul>
35
35
  {% for post in site.posts %}
36
- <li>{{ post.date | date: date_format }} - <a href="{{ post.url }}">{{ post.title }}</a></li>
36
+ <li>{{ post.date | date: date_format }} - <a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
37
37
  {% endfor %}
38
38
  </ul>
39
39
  </div>
data/_layouts/post.html CHANGED
@@ -4,9 +4,9 @@ layout: default
4
4
 
5
5
  <main class="page-content" aria-label="Content">
6
6
  <div class="w">
7
- <a href="{{ page.previous.url }}">&lt;</a>
8
- <a href="\">^</a>
9
- <a href="{{ page.next.url }}">&gt;</a>
7
+ <a href="{{ page.previous.url | relative_url }}">&lt;</a>
8
+ <a href="{{ '/' | relative_url }}">^</a>
9
+ <a href="{{ page.next.url | relative_url }}">&gt;</a>
10
10
  </div>
11
11
 
12
12
  <div class="box">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eleven-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul