jekyll-theme-console 0.2 → 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.md +7 -1
- data/_layouts/blogroll.html +16 -0
- data/_layouts/default.html +2 -6
- data/_sass/jekyll-theme-console.scss +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18c74378d4cbc808398ec2ec988ad819e4c99f16e69142b5df77e24e6e21ba72
|
|
4
|
+
data.tar.gz: 239ebc569212740ed3d7b7b7801045905f798f021c94e1a3c8ea73a24fcc5c6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb885a05e8cd28c180a34b6cc2eac513bea8dfcce47dcf6196ff9d5fdbd1248bbc085b48f4787157921763a98df448288e6d2941bba5580dd769f36cc9c35927
|
|
7
|
+
data.tar.gz: 0aa03dc60714b561dbe098dbc8cab1d62673a0399d16d5ee40fdf97c79ec9e76722a387a85d7fe380aa35303e90b383ec5677552f4f24c9ab2a476779482620d
|
data/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A jekyll theme with inspiration from linux consoles for hackers, developers and script kiddies.
|
|
4
4
|
|
|
5
|
+

|
|
5
6
|
|
|
6
7
|
## Installation
|
|
7
8
|
|
|
@@ -27,7 +28,10 @@ Or install it yourself as:
|
|
|
27
28
|
|
|
28
29
|
## Usage
|
|
29
30
|
|
|
30
|
-
In addition to
|
|
31
|
+
In addition to jekyll's default configuration options, you can provide:
|
|
32
|
+
- `header_pages` to specify which pages should be displayed in navbar
|
|
33
|
+
- `footer` string, which will be inserted on the end of the page (doesn't support markup, but html)
|
|
34
|
+
- `google_analytics` tracking id (tracking will be enabled only in production environments)
|
|
31
35
|
|
|
32
36
|
```yaml
|
|
33
37
|
header_pages:
|
|
@@ -35,6 +39,8 @@ header_pages:
|
|
|
35
39
|
- about.md
|
|
36
40
|
|
|
37
41
|
footer: 'follow us on <a href="https://twitter.com/xxx">twitter</a>'
|
|
42
|
+
|
|
43
|
+
google_analytics: UA-NNNNNNNN-N
|
|
38
44
|
```
|
|
39
45
|
|
|
40
46
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
{{ content }}
|
|
6
|
+
|
|
7
|
+
{%- if site.posts.size > 0 -%}
|
|
8
|
+
<ul>
|
|
9
|
+
{%- for post in site.posts -%}
|
|
10
|
+
<li>
|
|
11
|
+
{%- assign date_format = site.minima.date_format | default: "%Y-%m-%d" -%}
|
|
12
|
+
[ {{ post.date | date: date_format }} ] <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
|
13
|
+
</li>
|
|
14
|
+
{%- endfor -%}
|
|
15
|
+
</ul>
|
|
16
|
+
{%- endif -%}
|
data/_layouts/default.html
CHANGED
|
@@ -20,7 +20,7 @@ h1, h2, h3, h4, h5, h6 { font-size: 13px; margin: 0px; margin-bottom: 3px; ma
|
|
|
20
20
|
p { margin: 0px; }
|
|
21
21
|
a { text-decoration: underline; color: #fff; }
|
|
22
22
|
a:hover { color: #000; background-color: #fff; }
|
|
23
|
-
.
|
|
23
|
+
.primary-text { color: $primary-color; }
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Layout
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-console
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- b2a3e8
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- _includes/google-analytics.html
|
|
80
80
|
- _includes/head.html
|
|
81
81
|
- _includes/header.html
|
|
82
|
+
- _layouts/blogroll.html
|
|
82
83
|
- _layouts/default.html
|
|
83
84
|
- _layouts/page.html
|
|
84
85
|
- _layouts/post.html
|