jekyll-theme-endless 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c92dfedce5cc6880471ae7994859fd5b388634e4067407abd00daa28faf4ddb
4
- data.tar.gz: e8a8c5fe9a45b37e80442f091f0054f7600cd942e6c7886bdd69eede6ed46875
3
+ metadata.gz: 957d3391d580b9bd3160aecdae5ef1d1fc753a89f064d041e63daba2a56187dd
4
+ data.tar.gz: 905d9b727e40b1854c91b5f271eb1a04931ece3a48feae7c1c29a4125ae7733c
5
5
  SHA512:
6
- metadata.gz: 1712475fc0dcef617efb69fc282d8cf38e791e24355fbbb17b75bd7cc592d6806ec44bc6a8d335b8ad88ca7aa9a79edd113df6b297eef96ee68b7d68a5843404
7
- data.tar.gz: af48af0c6da7245c89385b9b34b83952ea12811f56f3fd016feca673b7f3083b0837da59e3a106bb135f9e3de9e89d931436a8c3a214034321354b01f968b4ed
6
+ metadata.gz: 505742088ffb87869f12dd0390021ae8dec70baf8627037717eeb2246d43cfa98f30e2ad1a1cbd58db6a4e8a6daaa02e9406914bc66a3b5f95b41368f55dcadd
7
+ data.tar.gz: 1fb13f4ffead3fc1a25ebe7cb98614c17c43f729397b634b746be19adab1cb114034a1dd21fd454523c5710e9a81881dc35beb1962704b957542495f4899e4d5
@@ -52,7 +52,7 @@ HTML boilerplate code used for all layouts.
52
52
  `_layouts/default.html`::
53
53
  Default website structure (menue, tag cloud, ...) used for pages and posts.
54
54
 
55
- Contains a navigation bar with a configurable brand-label.
55
+ Contains a *navigation bar* with a configurable brand-label.
56
56
  Set `brand` in your `_config.yml`, to determine what is shown on the left side of the navigation.
57
57
  Example:
58
58
 
@@ -61,6 +61,32 @@ Example:
61
61
  brand: '"<i>endless</i>"-Theme'
62
62
  ----
63
63
 
64
+ Contains a configurable *title bar*.
65
+ Set `title` and `subtitle` in your `_config.yml`, to determine what is shown below the navigation bar.
66
+ If none of the two values is set, the title bar is omitted.
67
+ Example:
68
+
69
+ [source, yaml]
70
+ ----
71
+ title: 'Brandname'
72
+ subtitle: 'Vision statement'
73
+ ----
74
+
75
+ Contains a configurable *footer*.
76
+ Includes `content_footer-usernames.html` to generate a list of contact options.
77
+ Configure values in `_config.yml`.
78
+ Example:
79
+
80
+ [source, yaml]
81
+ ----
82
+ author: Sven Boekhoff
83
+ copydate: 2020
84
+ disclaimer: >- # this means to ignore newlines until the next entry
85
+ I'm creating this Jekyll theme because I want to use it myself.
86
+ Therefore, many things (e.g. the support of AsciiDoc) are based on personal requirements.
87
+ You are welcome to use the theme (at your own risk) and contribute to the development.
88
+ ----
89
+
64
90
 
65
91
  `_layouts/page.html`::
66
92
  Layout of page-content.
@@ -145,6 +171,22 @@ This can be useful for your 404 page, which should be generated by Jekyll, but n
145
171
  Generates the code containing links to each blog-post.
146
172
  The text of the link is the title of the post.
147
173
 
174
+ `_includes/content_footer-usernames.html`::
175
+ Creates a list of contact options based on provided usernames and addresses.
176
+ The entries are preceded with the icons of (e.g.) the social network and are linked to the corresponding profile.
177
+
178
+ In your `_config.yml` use for example:
179
+
180
+ [source, YAML]
181
+ ----
182
+ email: your-email@example.com
183
+ username_gitlab: XXXX
184
+ username_github: XXXX
185
+ username_xing: XXXX
186
+ username_linkedin: XXXX
187
+ ----
188
+
189
+
148
190
 
149
191
  === Styles
150
192
 
@@ -18,17 +18,8 @@
18
18
  # You can create any custom variable you would like, and they will be accessible
19
19
  # in the templates via {{ site.myvariable }}.
20
20
 
21
- title: Your awesome title
22
- email: your-email@example.com
23
- description: >- # this means to ignore newlines until "baseurl:"
24
- Write an awesome description for your new site here. You can edit this
25
- line in _config.yml. It will appear in your document head meta (for
26
- Google search results) and in your feed.xml site description.
27
21
  baseurl: "" # the subpath of your site, e.g. /blog
28
22
  url: "" # the base hostname & protocol for your site, e.g. http://example.com
29
- #twitter_username: jekyllrb
30
- #github_username: jekyll
31
-
32
23
 
33
24
 
34
25
  # Theme specific settings
@@ -38,6 +29,30 @@ lang: en
38
29
  # Thus, HTML-commands can be used.
39
30
  brand: '"<i>endless</i>"-Theme'
40
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
+
41
56
 
42
57
 
43
58
  # Build settings
@@ -0,0 +1,36 @@
1
+ {% comment %}
2
+ List of contacts in adress-bar.
3
+ {% endcomment %}
4
+
5
+ <ul class="list-unstyled">
6
+ {% if site.username_gitlab %}
7
+ <li>
8
+ <i class="fa fa-gitlab"></i>
9
+ <a href="https://gitlab.com/{{ site.username_gitlab }}">{{ site.username_gitlab }}</a>
10
+ </li>
11
+ {% endif %}
12
+ {% if site.username_github %}
13
+ <li>
14
+ <i class="fa fa-github"></i>
15
+ <a href="https://github.com/{{ site.username_github }}">{{ site.username_github }}</a>
16
+ </li>
17
+ {% endif %}
18
+ {% if site.username_xing %}
19
+ <li>
20
+ <i class="fa fa-xing"></i>
21
+ <a href="https://www.xing.com/profile/{{ site.username_xing }}">{{ site.username_xing }}</a>
22
+ </li>
23
+ {% endif %}
24
+ {% if site.username_linkedin %}
25
+ <li>
26
+ <i class="fa fa-linkedin"></i>
27
+ <a href="https://de.linkedin.com/in/{{ site.username_linkedin }}">{{ site.username_linkedin }}</a>
28
+ </li>
29
+ {% endif %}
30
+ {% if site.email %}
31
+ <li>
32
+ <i class="fa fa-at"></i>
33
+ <a href="mailto:{{ site.email }}">{{ site.email }}</a>
34
+ </li>
35
+ {% endif %}
36
+ </ul>
@@ -29,8 +29,27 @@ layout: html
29
29
 
30
30
 
31
31
 
32
+ <!-- Page title -->
33
+ {% if site.title or site.subtitle %}
34
+ <div class="jumbotron border-bottom bg-light py-4">
35
+ <div class="container">
36
+
37
+ {% if site.title %}
38
+ <div class="h1">{{ site.title }}</div>
39
+ {% endif %}
40
+
41
+ {% if site.subtitle %}
42
+ <div class="h2">{{ site.subtitle }}</div>
43
+ {% endif %}
44
+
45
+ </div>
46
+ </div>
47
+ {% endif %}
48
+
49
+
50
+
32
51
  <!-- Page content -->
33
- <main class="container" aria-label="Content">
52
+ <main class="container pt-4 pb-5" style="flex-grow: 1;" aria-label="Content">
34
53
 
35
54
  {{ content }}
36
55
 
@@ -39,5 +58,38 @@ layout: html
39
58
 
40
59
 
41
60
  <!-- Footer -->
61
+ <footer class="footer border-top bg-light">
62
+ <div class="container">
63
+
64
+ <div class="row">
65
+
66
+ <div class="col-lg-3 col-md-4 text-left py-3">
67
+ <address>
68
+ <div class="h4">Contact me:</div>
69
+ {% include content_footer-usernames.html %}
70
+ </address>
71
+ </div>
72
+
73
+ <div class="col-lg-6 col-md-5 text-left py-3">
74
+ {% if site.disclaimer %}
75
+ <h4>Disclaimer:</h4>
76
+ {{ site.disclaimer }}
77
+ {% endif %}
78
+ </div>
79
+
80
+ <div class="col-md-3 text-left py-3">
81
+ <h4>Note:</h4>
82
+ <p>
83
+ &copy; {{ site.copydate }} by <em>{{ site.author }}</em>
84
+ </p>
85
+ <p>
86
+ Powered by <a href="https://jekyll-theme-endless.gitlab.io/">jekyll-theme-endless</a>.
87
+ </p>
88
+ </div>
89
+
90
+ </div>
91
+
92
+ </div>
93
+ </footer>
42
94
 
43
95
 
@@ -11,8 +11,12 @@
11
11
  {{ page.title }}
12
12
  </title>
13
13
 
14
+ <!-- Font-awesome CSS: https://www.bootstrapcdn.com/fontawesome/ -->
15
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
14
16
  <!-- Bootstrap CSS -->
15
17
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha256-93wNFzm2GO3EoByj9rKZCwGjAJAwr0nujPaOgwUt8ZQ=" crossorigin="anonymous">
18
+
19
+ <!-- Theme CSS -->
16
20
  <link rel="stylesheet" href="/assets/css/main.css">
17
21
 
18
22
  </head>
@@ -1,5 +1,9 @@
1
1
  /*
2
- * Replaced by SCSS-file from the user.
2
+ Simple SCSS-file.
3
3
  */
4
+ $bg: #fff;
4
5
 
6
+ body {
7
+ background-color: $bg;
8
+ }
5
9
 
@@ -0,0 +1,12 @@
1
+
2
+ /**
3
+ * Icons in the adress bar should take the same space;
4
+ */
5
+ address li i {
6
+ display: inline-block;
7
+ padding: 2px 0;
8
+ margin: 2px 0;
9
+ vertical-align: top;
10
+ min-width: 15px;
11
+ }
12
+
@@ -1,10 +1,4 @@
1
1
  /*
2
- Simple SCSS-file.
2
+ * Replaced by SCSS-file from the user.
3
3
  */
4
- $bg: #fff;
5
-
6
- body {
7
- background-color: $bg;
8
- }
9
-
10
4
 
@@ -5,8 +5,10 @@
5
5
 
6
6
  /*
7
7
  * imports _scss/background.scss
8
+ * imports _scss/icons.scss
8
9
  */
9
10
  @import "background";
11
+ @import "icons";
10
12
 
11
13
  /*
12
14
  * import SCSS-Code contributed by the user of the theme.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-18 00:00:00.000000000 Z
11
+ date: 2020-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -34,6 +34,7 @@ files:
34
34
  - LICENSE.txt
35
35
  - README.adoc
36
36
  - _config.yml
37
+ - _includes/content_footer-usernames.html
37
38
  - _includes/function_list-pages.html
38
39
  - _includes/function_list-posts.html
39
40
  - _layouts/default.html
@@ -42,6 +43,7 @@ files:
42
43
  - _layouts/page.html
43
44
  - _layouts/post.html
44
45
  - _sass/background.scss
46
+ - _sass/icons.scss
45
47
  - _sass/user.scss
46
48
  - assets/css/main.scss
47
49
  homepage: https://gitlab.com/jekyll-theme-endless/jekyll-theme-endless.gitlab.io