shibui-jekyll 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3303958657a4e16673bcd0078d5199bc57efaa2c76015c5373fd85f0e85e9e8d
4
+ data.tar.gz: de45bab8a3bcd6cef8ffd788be94e2273a2455e9aef954c1b556e879afc80b29
5
+ SHA512:
6
+ metadata.gz: ed987cea59b66e7ad658ccd0483770a388a5e2e1ddecace77c20b790032b4ec95677d3fdaae7e22c5947a62ef0de41f2e44ac3082a78f60140ea9224ed1aa1f5
7
+ data.tar.gz: e5dd1aab154fa25b89ea65276839044b5496ea7faf8915a57fc8a2cc72518e0c28a90b60c70df159cdd3066be73c537a792736a7901482e93abbe3b077bbc224
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # shibui-jekyll
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "shibui-jekyll"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: shibui-jekyll
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install shibui-jekyll
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `shibui-jekyll.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,6 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
6
+ </head>
@@ -0,0 +1,17 @@
1
+ <header class="site-header" role="banner">
2
+ <div class="wrapper">
3
+ {%- assign default_paths = site.pages | map: "path" -%}
4
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
5
+
6
+ {%- if page_paths -%}
7
+ <nav class="site-nav grey darken-4">
8
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
9
+ <div class="trigger">
10
+ {%- for path in page_paths -%}
11
+ {%- assign my_page = site.pages | where: "path", path | first -%}
12
+ {%- endfor -%}
13
+ </div>
14
+ </nav>
15
+ {%- endif -%}
16
+ </div>
17
+ </header>
@@ -0,0 +1,16 @@
1
+ <ul class="contact-list">
2
+ <li class="p-name">
3
+ {%- if site.author -%}
4
+ {{ site.author | escape }}
5
+ {%- else -%}
6
+ {{ site.title | escape }}
7
+ {%- endif -%}
8
+ </li>
9
+ {%- if site.email -%}
10
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
11
+ {%- endif -%}
12
+ </ul>
13
+
14
+ <div class="col-3">
15
+ <p>{{- site.description | escape -}}</p>
16
+ </div>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ {%- include head.html -%}
4
+ <body>
5
+ {%- include header.html -%}
6
+ <div class="container">
7
+ <div class="row">
8
+ <div class="col s12 m3">
9
+ {%- include sidebar.html -%}
10
+ </div>
11
+ <div class="col s12 m9">
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </body>
18
+ </html>
19
+
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div>
5
+ <ul>
6
+ {% for post in site.posts %}
7
+ <li>
8
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
9
+ <p>{{ post.excerpt }}</p>
10
+ </li>
11
+ {% endfor %}
12
+ </ul>
13
+ </div>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ {%- if page.author -%}
14
+ • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
15
+ {%- endif -%}</p>
16
+ </header>
17
+
18
+ <div class="post-content e-content" itemprop="articleBody">
19
+ {{ content }}
20
+ </div>
21
+
22
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
23
+ </article>
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+
5
+ /**
6
+ * Set `margin-bottom` to maintain vertical rhythm
7
+ */
8
+ h1, h2, h3, h4, h5, h6,
9
+ p, blockquote, pre,
10
+ ul, ol, dl, figure,
11
+ %vertical-rhythm {
12
+ margin-bottom: $spacing-unit / 2;
13
+ }
14
+
15
+ .highlight {
16
+ background: #fff;
17
+ @extend %vertical-rhythm;
18
+
19
+ .highlighter-rouge & {
20
+ background: #eef;
21
+ }
22
+
23
+ .c { color: #998; font-style: italic } // Comment
24
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
25
+ .k { font-weight: bold } // Keyword
26
+ .o { font-weight: bold } // Operator
27
+ .cm { color: #998; font-style: italic } // Comment.Multiline
28
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
29
+ .c1 { color: #998; font-style: italic } // Comment.Single
30
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
31
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
32
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
33
+ .ge { font-style: italic } // Generic.Emph
34
+ .gr { color: #a00 } // Generic.Error
35
+ .gh { color: #999 } // Generic.Heading
36
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
37
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
38
+ .go { color: #888 } // Generic.Output
39
+ .gp { color: #555 } // Generic.Prompt
40
+ .gs { font-weight: bold } // Generic.Strong
41
+ .gu { color: #aaa } // Generic.Subheading
42
+ .gt { color: #a00 } // Generic.Traceback
43
+ .kc { font-weight: bold } // Keyword.Constant
44
+ .kd { font-weight: bold } // Keyword.Declaration
45
+ .kp { font-weight: bold } // Keyword.Pseudo
46
+ .kr { font-weight: bold } // Keyword.Reserved
47
+ .kt { color: #458; font-weight: bold } // Keyword.Type
48
+ .m { color: #099 } // Literal.Number
49
+ .s { color: #d14 } // Literal.String
50
+ .na { color: #008080 } // Name.Attribute
51
+ .nb { color: #0086B3 } // Name.Builtin
52
+ .nc { color: #458; font-weight: bold } // Name.Class
53
+ .no { color: #008080 } // Name.Constant
54
+ .ni { color: #800080 } // Name.Entity
55
+ .ne { color: #900; font-weight: bold } // Name.Exception
56
+ .nf { color: #900; font-weight: bold } // Name.Function
57
+ .nn { color: #555 } // Name.Namespace
58
+ .nt { color: #000080 } // Name.Tag
59
+ .nv { color: #008080 } // Name.Variable
60
+ .ow { font-weight: bold } // Operator.Word
61
+ .w { color: #bbb } // Text.Whitespace
62
+ .mf { color: #099 } // Literal.Number.Float
63
+ .mh { color: #099 } // Literal.Number.Hex
64
+ .mi { color: #099 } // Literal.Number.Integer
65
+ .mo { color: #099 } // Literal.Number.Oct
66
+ .sb { color: #d14 } // Literal.String.Backtick
67
+ .sc { color: #d14 } // Literal.String.Char
68
+ .sd { color: #d14 } // Literal.String.Doc
69
+ .s2 { color: #d14 } // Literal.String.Double
70
+ .se { color: #d14 } // Literal.String.Escape
71
+ .sh { color: #d14 } // Literal.String.Heredoc
72
+ .si { color: #d14 } // Literal.String.Interpol
73
+ .sx { color: #d14 } // Literal.String.Other
74
+ .sr { color: #009926 } // Literal.String.Regex
75
+ .s1 { color: #d14 } // Literal.String.Single
76
+ .ss { color: #990073 } // Literal.String.Symbol
77
+ .bp { color: #999 } // Name.Builtin.Pseudo
78
+ .vc { color: #008080 } // Name.Variable.Class
79
+ .vg { color: #008080 } // Name.Variable.Global
80
+ .vi { color: #008080 } // Name.Variable.Instance
81
+ .il { color: #099 } // Literal.Number.Integer.Long
82
+ }
@@ -0,0 +1,17 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Share+Tech+Mono');
2
+ @import "materialize";
3
+
4
+ $spacing-unit: 30px !default;
5
+
6
+ .container {
7
+ width: 90%;
8
+ }
9
+
10
+ body {
11
+ font-family: 'Share Tech Mono', monospace;
12
+ }
13
+
14
+ // Import partials
15
+ @import "_syntax-highlighting";
16
+
17
+
data/assets/main.scss ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "shibui-jekyll";
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shibui-jekyll
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Rodolfo Matos
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: materialize-sass
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '12.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '12.0'
69
+ description:
70
+ email:
71
+ - rod@rodmatos.xyz
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _includes/head.html
79
+ - _includes/header.html
80
+ - _includes/sidebar.html
81
+ - _layouts/default.html
82
+ - _layouts/home.html
83
+ - _layouts/post.html
84
+ - _sass/_syntax-highlighting.scss
85
+ - _sass/shibui-jekyll.scss
86
+ - assets/main.scss
87
+ homepage: https://github.com/rodmatos/shibui-jekyll
88
+ licenses:
89
+ - MIT
90
+ metadata: {}
91
+ post_install_message:
92
+ rdoc_options: []
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubygems_version: 3.0.2
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: Minimalist jekyll theme - no tracking, no bullshit
110
+ test_files: []