old-plain 0.2.1 → 0.2.2

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: 12b7141ad442563c81a306d74e470242eaa6e5c80daa20658797cd5ba26cc6ec
4
- data.tar.gz: 6fd7d5eb4ba3cc261f3148a75795f152153826d10172cb5f6793986842bb7c9d
3
+ metadata.gz: 377e8e070d438e4524501e516167006efde806e869a21244df6eee12597b4a5e
4
+ data.tar.gz: e7dd40088342cd1656c8da1b0b688d2e602964ec6e9ce3a5ab66c6bbecc52aa6
5
5
  SHA512:
6
- metadata.gz: 2f5f4a2e163258e7f9063040b09d61ccf72b5c361cf4f3d3351261c307de19b8fb2a4dc8f5d19186dd6b7d1f625d772823e3618450d09f3fbb89bb6e3cdfa664
7
- data.tar.gz: 47cebb9830ddaec8d9ed1b748642b5f62b34350f8a499e6a028cb21a034792e7683b78d8e1c3518345281f4308f66a9683e9f39224267d790e24f14127165676
6
+ metadata.gz: 9d0d4a84e72e5f19ca038f9c532f316f59a80c6d7e1f6f54ae072766e29532462a8388878fb968c2a671848ff49cc99a56574299d410d7dc9b0fa8e025a01fc0
7
+ data.tar.gz: 7a9b24866a1344769d1abf997830cd1eda54eca3772b65da186345910f4e8b6ee81a1ae643be1b66795b4a01031d1d6b2da58de98cd78747c959851b7b365bd0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Ian Kilty
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,46 @@
1
+ # old-plain
2
+
3
+ This is my jekyll theme, if I haven't said it already, its kind of boring.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "old-plain"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: old-plain
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install old-plain
26
+
27
+ ## Usage
28
+
29
+ Look at the github repo
30
+
31
+ ## Contributing
32
+
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ian10101010. 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.
34
+
35
+ ## Development
36
+
37
+ To set up your environment to develop this theme, run `bundle install`.
38
+
39
+ 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.
40
+
41
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
42
+ To add a custom directory to your theme-gem, please edit the regexp in `old-plain.gemspec` accordingly.
43
+
44
+ ## License
45
+
46
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,19 @@
1
+ title: old-plain
2
+ email: 01010101nai@gmail.com
3
+ description: >-
4
+ This is a jekyll theme that is meant to be very boring and with little to no styling. Find out more on why I even made in this theme at my blog.
5
+ baseurl: ""
6
+ url: ""
7
+ twitter_username: ian_10101010
8
+ github_username: ian10101010
9
+ url: https://ian10101010.github.io/
10
+ plugins:
11
+ - jekyll-feed
12
+
13
+ defaults:
14
+ -
15
+ scope:
16
+ path: ""
17
+ values:
18
+ layout: post
19
+
@@ -0,0 +1,7 @@
1
+ <h2>Contact</h2>
2
+ <ul>
3
+ <li>Github: <a href="https://github.com/{{ site.github_username }}">{{ site.github_username }}</a></li>
4
+ <li>Twitter: <a href="https://twitter.com/{{ site.twitter_username }}">{{ site.twitter_username }}</a></li>
5
+ <li>Email: <a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
6
+ </ul>
7
+
@@ -0,0 +1,28 @@
1
+ <link rel="stylesheet" href="assets\header.css">
2
+ <div class="nav-bar">
3
+ <h1 class="header-item">{{ page.title }}</h1>
4
+ <div class="links">
5
+ <a class="header-item" href="/about">About</a>
6
+ <a class="header-item" href="/feed.xml">RSS</a>
7
+ <div class="header-item">
8
+ <button class="dark-light" id="change">Dark</button>
9
+ <script>
10
+
11
+ document.getElementById('change').onclick = changeColor;
12
+
13
+ function changeColor() {
14
+ if (document.getElementById('change').innerHTML == "Dark") {
15
+ document.getElementById('change').innerHTML = "Light"
16
+ document.body.style.color = "white";
17
+ document.body.style.background = "black";
18
+ } else {
19
+ document.getElementById('change').innerHTML = "Dark";
20
+ document.body.style.color = "black";
21
+ document.body.style.background = "white";
22
+ }
23
+ }
24
+
25
+ </script>
26
+ </div>
27
+ </div>
28
+ </div>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: wrapper
3
+ ---
4
+ {% include header.html %}
5
+ <p>{{ site.description }}</p>
6
+ <h2 style="margin: 0px">Topics</h2>
7
+ <ul>
8
+ {% for tag in site.tags %}
9
+ {% capture tag_name %}{{ tag | first }}{% endcapture %}
10
+ <li><a href="#{{ tag_name }}">{{ tag_name }}</a></li>
11
+ {% endfor %}
12
+ </ul>
13
+ <h2 style="margin: 0px">Posts</h2>
14
+ <div class="archives">
15
+ {% for tag in site.tags %}
16
+ <div class="archive-group">
17
+ {% capture tag_name %}{{ tag | first }}{% endcapture %}
18
+ <h4 class="tag-head" id="{{ tag_name }}">{{ tag_name }}</h4>
19
+ <a name="{{ tag_name | slugize }}"></a>
20
+ {% for post in site.tags[tag_name] %}
21
+ <span class="post"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a> - {{ post.date | date: "%B %-d, %Y" }} - {{ post.description }}</span><br>
22
+ {% endfor %}
23
+ </div>
24
+ {% endfor %}
25
+ </div>
26
+ {% include footer.html %}
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: wrapper
3
+ ---
4
+ {% include header.html %}
5
+ <a href="https://ian10101010.github.io/">Back to main site</a>
6
+ <hr>
7
+ {{ content }}
8
+ <hr>
9
+ {% include footer.html %}
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: wrapper
3
+ ---
4
+ {% include header.html %}
5
+ {{ page.date | date: "%B %-d, %Y" }}
6
+ <br><br>
7
+ {{ page.description }}
8
+ <br><br>
9
+ <a href="https://ian10101010.github.io/">Back to main site</a>
10
+ <hr>
11
+ {{ content }}
12
+ <hr>
13
+ {% include footer.html %}
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en"><head>
3
+ <meta charset="utf-8">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <!-- Begin Jekyll SEO tag v2.8.0 -->
7
+ <title>{{ site.title }}</title>
8
+ <meta property="og:title" content="{{ site.title }}"/>
9
+ <meta property="og:locale" content="en_US" />
10
+ <meta name="description" content="{{ site.description }}"/>
11
+ <meta property="og:description" content="{{ site.description }}"/>
12
+ <link rel="canonical" href="{{ site.url }}" />
13
+ <meta property="og:url" content="{{ site.url }}" />
14
+ <meta property="og:site_name" content="{{ site.title }}" />
15
+ <meta property="og:type" content="website" />
16
+ <meta name="twitter:card" content="summary" />
17
+ <meta property="twitter:title" content="{{ site.twitter_username }}" />
18
+ <script type="application/ld+json">
19
+ {"@context":"https://schema.org","@type":"WebSite","description":"Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.","headline":"Your title","name":"Your title","url":"http://localhost:4000/"}
20
+ </script>
21
+ <!-- End Jekyll SEO tag -->
22
+ <link rel="stylesheet" href="assets\main.css">
23
+ <link type="application/atom+xml" rel="alternate" href="{{ site.url }}/feed.xml" title="{{ site.title }}" />
24
+ </head>
25
+ <body>
26
+ {{ content }}
27
+ </body>
28
+ </html>
data/assets/header.css ADDED
@@ -0,0 +1,25 @@
1
+ div .header-item {
2
+ float: left;
3
+ padding-right: 15px;
4
+ padding-top: 15px;
5
+ padding-bottom: 15px;
6
+ margin: 0px;
7
+ }
8
+
9
+ .nav-bar {
10
+ width: auto;
11
+ overflow: hidden;
12
+ display: flex;
13
+ }
14
+
15
+ .links {
16
+ margin-top: auto;
17
+ margin-bottom: auto;
18
+ }
19
+
20
+ .dark-light {
21
+ float: left;
22
+ margin: 0px;
23
+ margin-top: auto;
24
+ margin-bottom: auto;
25
+ }
data/assets/main.css ADDED
@@ -0,0 +1,17 @@
1
+ html {
2
+ width: 60%;
3
+ margin: auto;
4
+ }
5
+
6
+ .archives {
7
+ padding-left: 15px;
8
+ }
9
+
10
+ .tag-head {
11
+ margin: 0px;
12
+ padding-top: 10px;
13
+ }
14
+
15
+ .post {
16
+ padding-left: 15px;
17
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: old-plain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ian10101010
@@ -30,7 +30,18 @@ email:
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
- files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/footer.html
38
+ - _includes/header.html
39
+ - _layouts/home.html
40
+ - _layouts/page.html
41
+ - _layouts/post.html
42
+ - _layouts/wrapper.html
43
+ - assets/header.css
44
+ - assets/main.css
34
45
  homepage: https://ian10101010.github.io/
35
46
  licenses:
36
47
  - MIT