jekyll-theme-endless 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +13 -0
- data/_config.yml +10 -0
- data/_layouts/page-tag.html +4 -0
- data/_sass/rouge-highlight.scss +68 -0
- data/assets/css/main.scss +5 -0
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb31bb43fb78dd91b274a5f84a57176b0aea3699eab6b1d3c8a2b992f1e3b79f
|
4
|
+
data.tar.gz: 9f53070ae8f360023afa52c96a1d7207fffd392afc84b96a835ff329f5c2b809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b90be2a585639374d61333397b4deeacb34d243a75406de135882d8ec174bf43eefb8d9c1f67be8d5118d56dfe7cba863ba962863ae43052f52e48904a8a4b
|
7
|
+
data.tar.gz: 8ed8555b0301d77081320c5571d3a29aabe41de5127cfa209bf651b667a208c59687d9e233b4fb130c6ac3e062d07ca2f3b9b172888b5dfe8550191ae1f4c435
|
data/README.adoc
CHANGED
@@ -3,6 +3,19 @@
|
|
3
3
|
:page-menu_position: 300
|
4
4
|
|
5
5
|
|
6
|
+
|
7
|
+
`jekyll-theme-endless` is a theme for the static site generator https://jekyllrb.com/[Jekyll].
|
8
|
+
The theme is ready to be used with posts written in https://asciidoctor.org/[AsciiDoc] using the
|
9
|
+
https://github.com/asciidoctor/jekyll-asciidoc[Jekyll AsciiDoc plugin].
|
10
|
+
The syntax of source code is highlighted using https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers[Rouge].
|
11
|
+
|
12
|
+
The repository of this Jekyll theme is located at:
|
13
|
+
https://gitlab.com/jekyll-theme-endless/jekyll-theme-endless.gitlab.io.
|
14
|
+
An example page using this theme can be viewed at: https://jekyll-theme-endless.gitlab.io.
|
15
|
+
The gem is published on https://rubygems.org/gems/jekyll-theme-endless.
|
16
|
+
|
17
|
+
|
18
|
+
|
6
19
|
== Quicktstart for testing
|
7
20
|
|
8
21
|
* Clone the repository
|
data/_config.yml
CHANGED
@@ -23,6 +23,16 @@ url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
+
# AsciiDoc settings
|
27
|
+
asciidoctor:
|
28
|
+
attributes:
|
29
|
+
# Highlighting source code using rouge
|
30
|
+
# https://github.com/asciidoctor/jekyll-asciidoc#stylesheet-for-code-highlighting
|
31
|
+
# https://github.com/asciidoctor/jekyll-asciidoc/issues/221#issuecomment-526857488
|
32
|
+
source-highlighter: rouge
|
33
|
+
|
34
|
+
|
35
|
+
|
26
36
|
# Theme specific settings
|
27
37
|
# Find example data in _data.yml of the theme repository.
|
28
38
|
# Run `bundle exec jekyll serve --config _config.yml,_data.yml`
|
data/_layouts/page-tag.html
CHANGED
@@ -9,6 +9,10 @@ page.tag and page.title are set by the plugin `generate-taglist`.
|
|
9
9
|
<h1>{{ page.title }}</h1>
|
10
10
|
{% endif %}
|
11
11
|
|
12
|
+
<p>
|
13
|
+
Number of posts tagged with "<em>{{ page.tag }}</em>": <strong>{{ site.tags[ page.tag ] | size }}</strong>
|
14
|
+
</p>
|
15
|
+
|
12
16
|
<ul>
|
13
17
|
{% for post in site.tags[ page.tag ] %}
|
14
18
|
|
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
* Based on "Manni" from https://github.com/jwarby/jekyll-pygments-themes
|
3
|
+
*/
|
4
|
+
|
5
|
+
.highlight {
|
6
|
+
@at-root pre#{&} { background-color: #f8f8f8; padding: .5em 1em;}
|
7
|
+
.hll { background-color: #ffffcc }
|
8
|
+
.c { color: #080; font-style: italic } /* Comment */
|
9
|
+
.err { color: #AA0000; background-color: #FFAAAA } /* Error */
|
10
|
+
.k { color: #006699; font-weight: bold } /* Keyword */
|
11
|
+
.o { color: #555555 } /* Operator */
|
12
|
+
.cm { color: #080; font-style: italic } /* Comment.Multiline */
|
13
|
+
.cp { color: #08F } /* Comment.Preproc */
|
14
|
+
.c1 { color: #080; font-style: italic } /* Comment.Single */
|
15
|
+
.cs { color: #08F; font-weight: bold; font-style: italic } /* Comment.Special */
|
16
|
+
.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
|
17
|
+
.ge { font-style: italic } /* Generic.Emph */
|
18
|
+
.gr { color: #FF0000 } /* Generic.Error */
|
19
|
+
.gh { color: #003300; font-weight: bold } /* Generic.Heading */
|
20
|
+
.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
|
21
|
+
.go { color: #AAAAAA } /* Generic.Output */
|
22
|
+
.gp { color: #000099; font-weight: bold } /* Generic.Prompt */
|
23
|
+
.gs { font-weight: bold } /* Generic.Strong */
|
24
|
+
.gu { color: #003300; font-weight: bold } /* Generic.Subheading */
|
25
|
+
.gt { color: #99CC66 } /* Generic.Traceback */
|
26
|
+
.kc { color: #006699; font-weight: bold } /* Keyword.Constant */
|
27
|
+
.kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
|
28
|
+
.kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
|
29
|
+
.kp { color: #006699 } /* Keyword.Pseudo */
|
30
|
+
.kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
|
31
|
+
.kt { color: #007788; font-weight: bold } /* Keyword.Type */
|
32
|
+
.m { color: #FF6600 } /* Literal.Number */
|
33
|
+
.s { color: #CC3300 } /* Literal.String */
|
34
|
+
.na { color: #330099 } /* Name.Attribute */
|
35
|
+
.nb { color: #336666 } /* Name.Builtin */
|
36
|
+
.nc { color: #00AA88; font-weight: bold } /* Name.Class */
|
37
|
+
.no { color: #336600 } /* Name.Constant */
|
38
|
+
.nd { color: #9999FF } /* Name.Decorator */
|
39
|
+
.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
40
|
+
.ne { color: #CC0000; font-weight: bold } /* Name.Exception */
|
41
|
+
.nf { color: #CC00FF } /* Name.Function */
|
42
|
+
.nl { color: #9999FF } /* Name.Label */
|
43
|
+
.nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
|
44
|
+
.nt { color: #330099; font-weight: bold } /* Name.Tag */
|
45
|
+
.nv { color: #003333 } /* Name.Variable */
|
46
|
+
.ow { color: #000000; font-weight: bold } /* Operator.Word */
|
47
|
+
.w { color: #bbbbbb } /* Text.Whitespace */
|
48
|
+
.mf { color: #FF6600 } /* Literal.Number.Float */
|
49
|
+
.mh { color: #FF6600 } /* Literal.Number.Hex */
|
50
|
+
.mi { color: #FF6600 } /* Literal.Number.Integer */
|
51
|
+
.mo { color: #FF6600 } /* Literal.Number.Oct */
|
52
|
+
.sb { color: #CC3300 } /* Literal.String.Backtick */
|
53
|
+
.sc { color: #CC3300 } /* Literal.String.Char */
|
54
|
+
.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
|
55
|
+
.s2 { color: #CC3300 } /* Literal.String.Double */
|
56
|
+
.se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
|
57
|
+
.sh { color: #CC3300 } /* Literal.String.Heredoc */
|
58
|
+
.si { color: #AA0000 } /* Literal.String.Interpol */
|
59
|
+
.sx { color: #CC3300 } /* Literal.String.Other */
|
60
|
+
.sr { color: #33AAAA } /* Literal.String.Regex */
|
61
|
+
.s1 { color: #CC3300 } /* Literal.String.Single */
|
62
|
+
.ss { color: #FFCC33 } /* Literal.String.Symbol */
|
63
|
+
.bp { color: #336666 } /* Name.Builtin.Pseudo */
|
64
|
+
.vc { color: #003333 } /* Name.Variable.Class */
|
65
|
+
.vg { color: #003333 } /* Name.Variable.Global */
|
66
|
+
.vi { color: #003333 } /* Name.Variable.Instance */
|
67
|
+
.il { color: #FF6600 } /* Literal.Number.Integer.Long */
|
68
|
+
}
|
data/assets/css/main.scss
CHANGED
@@ -12,6 +12,11 @@
|
|
12
12
|
@import "tag-cloud";
|
13
13
|
@import "posts";
|
14
14
|
|
15
|
+
/*
|
16
|
+
* import styles for highlighting source code that was annotated using rouge.
|
17
|
+
*/
|
18
|
+
@import "rouge-highlight";
|
19
|
+
|
15
20
|
/*
|
16
21
|
* import SCSS-Code contributed by the user of the theme.
|
17
22
|
* imports from _scss/background.scss
|
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.
|
4
|
+
version: 0.5.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-11-
|
11
|
+
date: 2020-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- _sass/address.scss
|
51
51
|
- _sass/background.scss
|
52
52
|
- _sass/posts.scss
|
53
|
+
- _sass/rouge-highlight.scss
|
53
54
|
- _sass/tag-cloud.scss
|
54
55
|
- _sass/user.scss
|
55
56
|
- assets/css/main.scss
|