jekyll-theme-terminal 0.2.1

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: 61977f9f7c69624ec9da90c1ba5484e272beec0e
4
+ data.tar.gz: 97a2106a16dc99d8614ee9188e878bc2c4f62b13
5
+ SHA512:
6
+ metadata.gz: ea1162585b9514dd9a1d605396633143be19b0556f5149d698d6842b6d013e9bfa4ba274b9706b453d761c2e6fe3dd78b242b87f779b0c11855f168f20b2d814
7
+ data.tar.gz: 83cf3689ad95c47e6e97a2b62c0340290774e15d9b8fa0ec33b322d53b7edd1a82d4675b07c66107fc97edd74824566468ed6fddb473353b3178fb44c649c3d6
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Squifi
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # jekyll-theme-terminal
2
+
3
+ Welcome to your new jekyll-theme-terminal Layout.
4
+ Currently still in development, but working hard on it.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Jekyll site's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "jekyll-theme-terminal"
12
+ ```
13
+
14
+ And add this line to your Jekyll site's `_config.yml`:
15
+
16
+ ```yaml
17
+ theme: jekyll-theme-terminal
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install jekyll-theme-terminal
27
+
28
+ ## Usage
29
+
30
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
31
+
32
+ ## Contributing
33
+
34
+ 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.
35
+
36
+ ## Development
37
+
38
+ To set up your environment to develop this theme, run `bundle install`.
39
+
40
+ 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.
41
+
42
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
43
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-terminal.gemspec` accordingly.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
@@ -0,0 +1,6 @@
1
+ <footer class="site-footer">
2
+ <p>
3
+ <pre>-- INSERT -- wc:{{ page.content | number_of_words }} -{{ site.time | date_to_long_string }}- made by {{site.author}}.sh
4
+ </pre>
5
+ </p>
6
+ </footer>
@@ -0,0 +1,15 @@
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, inital-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title | escape }} {% else %}{{ site.title | escape }}{% endif %}</title>
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape}}">
8
+
9
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
10
+
11
+ <!--[if lt IE9>
12
+ <script src="https://osss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js">
13
+ </script>
14
+ <![endif]-->
15
+ </head>
@@ -0,0 +1,4 @@
1
+ <header class="site-header">
2
+ <h4>[{{site.author}}@{{ site.url | escape }} ~]$</h4>
3
+ <h4>cat {{page.title | escape }}</h4>
4
+ </header>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+
3
+ {% include head.html %}
4
+
5
+ <body>
6
+ {% include header.html%}
7
+ <div class="wrapper">
8
+ {{ content }}
9
+ </div>
10
+
11
+ {% include footer.html %}
12
+ </body>
13
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section>
6
+ {% for item in site.posts %}
7
+ <article class="ls">
8
+ <a href="{{item.url}}">{{item.title}}</a>
9
+ </article>
10
+ {% endfor %}
11
+ <h4>[{{site.author}}@{{ site.url | escape }} ~]$</h4>
12
+ <a href={{ site.baseurl }}>cd ~</a>
13
+ </section>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <section>
5
+ <article class="cat">
6
+ <h3>
7
+ {{ page.title | escape }}
8
+ </h3>
9
+ <p>
10
+ {{ content }}
11
+ </p>
12
+ </article>
13
+ </section>
@@ -0,0 +1,43 @@
1
+ /** Reset some basic elements **/
2
+
3
+ body, h1, h2, h3, h4, h5, h6,
4
+ p, blockquote, pre, hr, dl, dd, ol, ul, figure, header {
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ body {
10
+ height: 98%;
11
+ position: relative;
12
+ background-color: $background-color;
13
+ color: $cat-color;
14
+ font-family: $font-family;
15
+ margin: $zero-distance auto;
16
+ padding: $normal-distance;
17
+ font-size: $base-font-size;
18
+ margin-left: $normal-distance;
19
+ }
20
+
21
+ a {
22
+ color: $console-color;
23
+ text-decoration: none;
24
+ }
25
+
26
+ a:hover {
27
+ background-color: $console-color;
28
+ color: $cat-color;
29
+ }
30
+
31
+ header, h4 {
32
+ color: $console-color;
33
+ display: inline;
34
+ }
35
+
36
+ article {
37
+ margin: 0 auto;
38
+ }
39
+
40
+ footer {
41
+ position: absolute;
42
+ height: 30px;
43
+ }
@@ -0,0 +1,25 @@
1
+ .wrapper {
2
+ margin-left: 10%;
3
+ min-height: calc(96vh - 50px);
4
+ }
5
+
6
+ .stdout {
7
+ margin: 0px auto;
8
+ padding: 0px $normal-distance;
9
+ }
10
+
11
+ .ls {
12
+ color: $ls-color;
13
+ margin: 0px auto;
14
+ padding: $min-distance $normal-distance;
15
+ }
16
+
17
+ .cat {
18
+ color: $cat-color;
19
+ margin-top: $min-distance;
20
+ padding: $min-distance;
21
+ }
22
+
23
+ .highlight {
24
+ color: $highlight-color;
25
+ }
@@ -0,0 +1,28 @@
1
+ @charset "utf-8";
2
+
3
+ // Define defaults for variables
4
+
5
+ $base-font-size: 16px !default;
6
+
7
+ $console-color: #008800 !default;
8
+ $highlight-color: #ffaaaa;
9
+ $cat-color: #fff;
10
+ $ls-color: #ff4444;
11
+
12
+
13
+ $background-color: #000;
14
+ $font-family: courier, monospace;
15
+
16
+ $zero-distance: 0px;
17
+ $min-distance: 10px;
18
+ $normal-distance: 20px;
19
+ $large-distance: 40px;
20
+ $footer-height: 30px;
21
+
22
+ $content-width: 800px;
23
+
24
+ //Import partials
25
+ @import
26
+ "jekyll-theme-terminal/base",
27
+ "jekyll-theme-terminal/cat"
28
+ ;
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-terminal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ platform: ruby
6
+ authors:
7
+ - squifi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-12-08 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.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description:
56
+ email:
57
+ - janeshipmistress@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/head.html
66
+ - _includes/header.html
67
+ - _layouts/default.html
68
+ - _layouts/page.html
69
+ - _layouts/post.html
70
+ - _sass/jekyll-theme-terminal.scss
71
+ - _sass/jekyll-theme-terminal/_base.scss
72
+ - _sass/jekyll-theme-terminal/_cat.scss
73
+ homepage: https://github.com/Squifi/jekyll-theme-terminal
74
+ licenses:
75
+ - MIT
76
+ metadata: {}
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 2.6.13
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: A Layout of a Terminal for a webpage
97
+ test_files: []