jekyll-theme-console 0.2 → 0.2.1

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: 556d65a0af17cc908867a92348b79ce55a4a1ce8aa959d7d39ef15f1137172ca
4
- data.tar.gz: 446d7e2181f71ba8d2b054277a77f36e93af087655d53f89b2536c7103a00592
3
+ metadata.gz: 18c74378d4cbc808398ec2ec988ad819e4c99f16e69142b5df77e24e6e21ba72
4
+ data.tar.gz: 239ebc569212740ed3d7b7b7801045905f798f021c94e1a3c8ea73a24fcc5c6f
5
5
  SHA512:
6
- metadata.gz: 61492c8343e484cb6b8def274313d7d3783cb8d661ec9bba7f3f41e0c5f2393d979fe8d807c6471271df825869e9317584fb3672627bc9fc108c975f697c6aa0
7
- data.tar.gz: 62794aa90cfa69ad0677f6663c75b8410a5684f5837bce5bd62a2416f50da8509bec5a7847be2c456b5a56ceaf8b8d7910fc11fe2c57d5f73be45a2d7073e50b
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
+ ![Screenshot](screenshot.png)
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 the default configuration options, you can provide header_pages to specify which pages should be displayed in navbar. You can also provide a footer. Find examples below:
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 -%}
@@ -8,13 +8,9 @@
8
8
 
9
9
  {%- include header.html -%}
10
10
 
11
- <!--<main class="page-content" aria-label="Content">
12
-
13
- </main>-->
14
-
15
- <div class="xxx">
11
+ <main>
16
12
  {{ content }}
17
- </div>
13
+ </main>
18
14
 
19
15
  {%- include footer.html -%}
20
16
 
@@ -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
- .post-header { margin: 0px; }
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: '0.2'
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