jekyll-theme-endless 0.2.0 → 0.2.1
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 +4 -4
- data/README.adoc +9 -2
- data/_config.yml +3 -31
- data/_layouts/default.html +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c19bee690c687736343b7d545f9c7b8e994b0c9907aa3273402b9d5c31654e3
|
|
4
|
+
data.tar.gz: 9425bec97a21c570d01d62ecdf3d6fb1eaffc8aaf0436cc1b7029e4690562f06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52ee40cadee608ea61388beffe2268e8e434a595595685f449916bbea110880660e62a64b61765606e8f54d96bbdc23ece8eab91eddb1eb5975826b458a9adae
|
|
7
|
+
data.tar.gz: 78b2b5793063628a4c5e7510b39d649c0ae1aa0fa9fd2705b03d37c306acca73a16b3feb7256c75d7b4f467584bb99e9d4f9e97bd50f02cf695d7b26f27ff386
|
data/README.adoc
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
= jekyll-theme-endless
|
|
2
|
+
:page-menu_label: Documentation
|
|
3
|
+
:page-menu_position: 300
|
|
2
4
|
|
|
3
5
|
|
|
4
6
|
|
|
@@ -223,9 +225,14 @@ To set up your environment to develop this theme:
|
|
|
223
225
|
. clone this repository
|
|
224
226
|
. run `bundle install`
|
|
225
227
|
|
|
226
|
-
|
|
227
|
-
To test
|
|
228
|
+
The theme is setup just like a normal Jekyll site!
|
|
229
|
+
To test the theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
|
|
228
230
|
This starts a Jekyll server using your theme.
|
|
231
|
+
To test the theme *with example-data*, run `bundle exec jekyll serve --config _config.yml,_data.yml`.
|
|
232
|
+
Values for theme specific configurations are stored in `_data.yml` and not in the themes `_config.yml`.
|
|
233
|
+
Since the `_config.yml` is shipped with the gem,
|
|
234
|
+
the users of your theme would otherwise have to unset the values in their own `config.yml`.
|
|
235
|
+
|
|
229
236
|
Add pages, documents, data, etc. like normal to test your theme's contents.
|
|
230
237
|
As you make modifications to your theme and to your content, your site will regenerate and
|
|
231
238
|
you should see the changes in the browser after a refresh, just like normal.
|
data/_config.yml
CHANGED
|
@@ -22,37 +22,10 @@ baseurl: "" # the subpath of your site, e.g. /blog
|
|
|
22
22
|
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
# Theme specific settings
|
|
26
|
-
# Language. Is overriden by value of page.lang.
|
|
27
|
-
lang: en
|
|
28
|
-
# Brand is not escaped in the layout.
|
|
29
|
-
# Thus, HTML-commands can be used.
|
|
30
|
-
brand: '"<i>endless</i>"-Theme'
|
|
31
|
-
|
|
32
|
-
# Title and subtile of the page
|
|
33
|
-
title: jekyll-theme-endless
|
|
34
|
-
subtitle: A Jekyll theme ready for AsciiDoc
|
|
35
|
-
|
|
36
|
-
author: Sven Boekhoff
|
|
37
|
-
copydate: 2020
|
|
38
|
-
disclaimer: >- # this means to ignore newlines until the next entry
|
|
39
|
-
I'm creating this Jekyll theme because I want to use it myself.
|
|
40
|
-
Therefore, many things (e.g. the support of AsciiDoc) are based on personal requirements.
|
|
41
|
-
You are welcome to use the theme (at your own risk) and contribute to the development.
|
|
42
|
-
|
|
43
|
-
# eMail address
|
|
44
|
-
email: your-email@example.com
|
|
45
|
-
# Username on https://gitlab.com/
|
|
46
|
-
username_gitlab: XXXX
|
|
47
|
-
# Username on https://github.com/
|
|
48
|
-
username_github: XXXX
|
|
49
|
-
# Username on https://www.xing.com/
|
|
50
|
-
username_xing: XXXX
|
|
51
|
-
# Username on https://linkedin.com/
|
|
52
|
-
username_linkedin: XXXX
|
|
53
|
-
|
|
54
|
-
|
|
55
25
|
|
|
26
|
+
# Theme specific settings
|
|
27
|
+
# Find example data in _data.yml of the theme repository.
|
|
28
|
+
# Run `bundle exec jekyll serve --config _config.yml,_data.yml`
|
|
56
29
|
|
|
57
30
|
|
|
58
31
|
# Build settings
|
|
@@ -71,7 +44,6 @@ username_linkedin: XXXX
|
|
|
71
44
|
exclude:
|
|
72
45
|
- '*.gemspec'
|
|
73
46
|
- LICENSE.txt
|
|
74
|
-
- README.adoc
|
|
75
47
|
# - .sass-cache/
|
|
76
48
|
# - .jekyll-cache/
|
|
77
49
|
# - gemfiles/
|
data/_layouts/default.html
CHANGED
|
@@ -8,7 +8,9 @@ layout: html
|
|
|
8
8
|
<div class="container">
|
|
9
9
|
|
|
10
10
|
<!-- Brand Icon -->
|
|
11
|
+
{% if site.brand %}
|
|
11
12
|
<a class="navbar-brand" href="{{ "/" | relative_url}}">{{ site.brand }}</a>
|
|
13
|
+
{% endif %}
|
|
12
14
|
|
|
13
15
|
<!-- Burger menu -->
|
|
14
16
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
@@ -79,9 +81,11 @@ layout: html
|
|
|
79
81
|
|
|
80
82
|
<div class="col-md-3 text-left py-3">
|
|
81
83
|
<h4>Note:</h4>
|
|
84
|
+
{% if site.copydate and site.author %}
|
|
82
85
|
<p>
|
|
83
86
|
© {{ site.copydate }} by <em>{{ site.author }}</em>
|
|
84
87
|
</p>
|
|
88
|
+
{% endif %}
|
|
85
89
|
<p>
|
|
86
90
|
Powered by <a href="https://jekyll-theme-endless.gitlab.io/">jekyll-theme-endless</a>.
|
|
87
91
|
</p>
|