clean-jekyll-theme 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
+ SHA1:
3
+ metadata.gz: b4b93d2795e0f937cbeebf8dbe8381dc373f5e2e
4
+ data.tar.gz: 04a05629ee31dc25faba00e677bf693031a01eb1
5
+ SHA512:
6
+ metadata.gz: 686c20faf60eac2e565ddb4f61b0e5cae68982909023b0fab074b4610e08a865787d8bb2b88292f53ec2b58161a32ad3087208e00bedc8b3662b9ad06b154afa
7
+ data.tar.gz: 968cde1d6b08c525d2557e92f05a36fee818ec798ab422cb596eaae28a799af71d04efd3fa31c87ce34a17f54646219386ef5d55b3c093d58835231ec6971ab8
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ *.gem
2
+ .bundle
3
+ .sass-cache
4
+ _site
5
+ Gemfile.lock
6
+ .rbenv-gemsets
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Siddhant Goel
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,50 @@
1
+ # clean-jekyll-theme
2
+
3
+ A Jekyll theme that tries to be as clean as possible, and uses [Basscss](http://basscss.com/) underneath.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's Gemfile:
8
+
9
+ ```ruby
10
+ gem "clean-jekyll-theme"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: clean-jekyll-theme
17
+ ```
18
+
19
+ And configure the navigation items in `_data/navigation.yml`
20
+
21
+ ```yaml
22
+ - title: about
23
+ url: /about
24
+ - title: twitter
25
+ url: https://twitter.com/johndoe
26
+ - title: github
27
+ url: https://github.com/johndoe
28
+ ```
29
+
30
+ And then execute:
31
+
32
+ $ bundle
33
+
34
+ Or install it yourself as:
35
+
36
+ $ gem install clean-jekyll-theme
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/siddhantgoel/clean-jekyll-theme. 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.
41
+
42
+ ## Development
43
+
44
+ To set up your environment to develop this theme, run `bundle install`.
45
+
46
+ You 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.
47
+
48
+ ## License
49
+
50
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,2 @@
1
+ - title: about
2
+ url: /about
@@ -0,0 +1,55 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
7
+
8
+ {% if page.title %}
9
+ <title>{{ page.title }}</title>
10
+ {% else %}
11
+ <title>{{ site.name }}</title>
12
+ {% endif %}
13
+
14
+ <meta name="description" content="{{ site.description }}">
15
+
16
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata">
17
+ <link rel="stylesheet" href="https://unpkg.com/basscss@8.0.2/css/basscss.min.css">
18
+
19
+ <link rel="stylesheet" type="text/css" href="/assets/css/main.css">
20
+ </head>
21
+
22
+ <body>
23
+ <div class="max-width-3 mx-auto">
24
+ <div class="clearfix">
25
+ <div class="col col-6">
26
+ <h1>{{ site.title }}</h1>
27
+ </div>
28
+
29
+ <div class="col col-6">
30
+ <ul class="list-reset right-align">
31
+ {% for entry in site.data.navigation %}
32
+ <li class="inline-block mr1">
33
+ <a href="{{ entry.url }}">
34
+ {{ entry.title }}
35
+ </a>
36
+ </li>
37
+ {% endfor %}
38
+ </ul>
39
+ </div>
40
+ </div>
41
+
42
+ <hr>
43
+
44
+ {{ content }}
45
+
46
+ <hr>
47
+
48
+ <div class="col col-12">
49
+ <p class="center">
50
+ <a href="/">Home</a>
51
+ </p>
52
+ </div>
53
+ </div>
54
+ </body>
55
+ </html>
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="clearfix">
6
+ <div class="col col-12">
7
+ <ul>
8
+ {% for post in site.posts %}
9
+ <li>
10
+ <span>{{ post.date | date: '%d %b, %Y' }}</span>
11
+ -
12
+ <a href="{{ post.url }}">
13
+ {{ post.title }}
14
+ </a>
15
+ </li>
16
+ {% endfor %}
17
+ </ul>
18
+ </div>
19
+ </div>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="clearfix">
6
+ <div class="col col-12 m1">
7
+ <h2>{{ page.title }}</h2>
8
+ </div>
9
+
10
+ <div class="col col-12">
11
+ {{ content }}
12
+ </div>
13
+ </div>
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="clearfix m1">
6
+ <div class="col col-6">
7
+ <h2>{{ page.title }}</h2>
8
+ </div>
9
+ <div class="col col-6">
10
+ <p class="right-align">{{ page.date | date: '%B %-d, %Y' }}</p>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="clearfix">
15
+ <div class="col col-12">
16
+ {{ content }}
17
+ </div>
18
+ </div>
@@ -0,0 +1,3 @@
1
+ html {
2
+ font-family: 'Inconsolata', monospace;
3
+ }
@@ -0,0 +1,14 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "clean-jekyll-theme"
3
+ spec.version = "0.1.0"
4
+ spec.authors = ["Siddhant Goel"]
5
+ spec.email = ["siddhantgoel@gmail.com"]
6
+
7
+ spec.summary = "A clean theme for Jekyll based on Basscss"
8
+ spec.description = "A clean theme for Jekyll based on Basscss"
9
+ spec.homepage = "https://github.com/siddhantgoel/clean-jekyll-theme"
10
+ spec.license = "MIT"
11
+
12
+ spec.files = `git ls-files -z`.split("\x0")
13
+ spec.add_runtime_dependency "jekyll", "~> 3.3"
14
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clean-jekyll-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Siddhant Goel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-11-15 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.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.3'
27
+ description: A clean theme for Jekyll based on Basscss
28
+ email:
29
+ - siddhantgoel@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - Gemfile
36
+ - LICENSE.txt
37
+ - README.md
38
+ - _data/navigation.yml
39
+ - _layouts/default.html
40
+ - _layouts/home.html
41
+ - _layouts/page.html
42
+ - _layouts/post.html
43
+ - assets/css/main.css
44
+ - clean-jekyll-theme.gemspec
45
+ homepage: https://github.com/siddhantgoel/clean-jekyll-theme
46
+ licenses:
47
+ - MIT
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubyforge_project:
65
+ rubygems_version: 2.5.1
66
+ signing_key:
67
+ specification_version: 4
68
+ summary: A clean theme for Jekyll based on Basscss
69
+ test_files: []