dull 0.0.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
+ SHA256:
3
+ metadata.gz: c7164cbcc2af9144e1c383b3f5e114248a1832926e423f2066d2395f95a06128
4
+ data.tar.gz: '08dabd67993a70aff778686bda98f95c2edc2efb57bbf2e06ea1b7383544e037'
5
+ SHA512:
6
+ metadata.gz: 3473161c0aa34de873533c54faeb5581c827788e8686b9d4fce7f53507ac5aba759723e872b2656fc83d1c051a189fe95d2e73ca22ced404bb7bd605d84f5ab0
7
+ data.tar.gz: 48f060365eebc6a0c525d4b90a5080e2014a093a954d647240d30b81bb37aab51bc8bb6151d41d1f0a56fb99822f7eb22225f276cf67497dc2213ee203447090
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Carlos Marx
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,61 @@
1
+ # Dull Theme
2
+
3
+ This is just a non interting Jekyll theme. There is no fancy CSS or JS.
4
+
5
+ Boring page with no clutter is great for reading.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "dull"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: dull
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install dull
28
+
29
+ ## Usage
30
+
31
+ ### Variables
32
+ The only custom variable is `mugshot`, in case you want a little picture below the header.
33
+
34
+ mugshot: "/assets/images/mugshot.jpg"
35
+
36
+ ### Custom Head
37
+ If you want to add entries to `head`, create the file `_includes/custom-head.html`.
38
+
39
+ ### Footer
40
+ If you want a footer, create the file `_includes/footer.html`.
41
+
42
+ ### Code highlighting
43
+ To have your code highlighted add to `_config.yml`:
44
+
45
+ highlighter: rouge
46
+
47
+ Your code will be highlighted with [Dracula](https://draculatheme.com/) color scheme.
48
+
49
+ ## Development
50
+
51
+ To set up your environment to develop this theme, run `bundle install`.
52
+
53
+ 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.
54
+
55
+ When your theme is released, only the files in `_layouts`, `_includes` and `assets` tracked with Git will be bundled.
56
+ To add a custom directory to your theme-gem, please edit the regexp in `dull.gemspec` accordingly.
57
+
58
+ ## License
59
+
60
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
61
+
@@ -0,0 +1,6 @@
1
+ {% comment %}
2
+ Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
3
+
4
+ 1. Head over to https://realfavicongenerator.net/ to add your own favicons.
5
+ 2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
6
+ {% endcomment %}
@@ -0,0 +1,3 @@
1
+ {% comment %}
2
+ I don't care for footers, if you want one be my guest.
3
+ {% endcomment %}
@@ -0,0 +1,7 @@
1
+ <meta charset="utf-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
5
+ {% seo %}
6
+ {% feed_meta %}
7
+ {% include custom-head.html %}
@@ -0,0 +1,3 @@
1
+ <div class="site-header">
2
+ <h1 class="title"><a class="title-link" href="{{ site.url }}">{{ site.title }}</a></h1>
3
+ </div>
Binary file
@@ -0,0 +1,11 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+ <body>
7
+ <div id="content">
8
+ {{ content }}
9
+ </div>
10
+ </body>
11
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {% if site.mugshot %}
6
+ <figure class="mugshot-figure">
7
+ <img src="{{ site.mugshot | relative_url }}" class="mugshot-img">
8
+ </figure>
9
+ {% endif %}
10
+
11
+ {{ content }}
12
+
13
+ {% if site.posts.size > 0 %}
14
+ <div class="post-list">
15
+ <h2>Writings</h2>
16
+ <ul class="post-list">
17
+ {% for post in site.posts %}
18
+ <li>
19
+ <a class="post-link" href="{{ post.url | relative_url }}">
20
+ {{ post.title | escape }}
21
+ </a>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
+ </div>
26
+ {% endif %}
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {% include header.html %}
5
+ {{ content }}
6
+ {% include footer.html %}
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
6
+
7
+ <header class="post-header">
8
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
+ <p class="post-meta">
10
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
12
+ {{ page.date | date: date_format }}
13
+ </time>
14
+ {%- if page.modified_date -%}
15
+ ~
16
+ {%- assign mdate = page.modified_date | date_to_xmlschema -%}
17
+ <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
18
+ {{ mdate | date: date_format }}
19
+ </time>
20
+ {%- endif -%}
21
+ {%- if page.author -%}
22
+ • {% for author in page.author %}
23
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
24
+ <span class="p-author h-card" itemprop="name">{{ author }}</span></span>
25
+ {%- if forloop.last == false %}, {% endif -%}
26
+ {% endfor %}
27
+ {%- endif -%}</p>
28
+ </header>
29
+
30
+ <div class="post-content e-content" itemprop="articleBody">
31
+ {{ content }}
32
+ </div>
33
+
34
+ <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
35
+ </article>
@@ -0,0 +1,91 @@
1
+ /* Dracula Theme v1.2.5
2
+ *
3
+ * https://github.com/zenorocha/dracula-theme
4
+ *
5
+ * Copyright 2016, All rights reserved
6
+ *
7
+ * Code licensed under the MIT license
8
+ * http://zenorocha.mit-license.org
9
+ *
10
+ * @author Rob G <wowmotty@gmail.com>
11
+ * @author Chris Bracco <chris@cbracco.me>
12
+ * @author Zeno Rocha <hi@zenorocha.com>
13
+ */
14
+
15
+ .highlight .hll { background-color: #f1fa8c }
16
+ .highlight { background: #282a36; color: #f8f8f2 }
17
+ .highlight .c { color: #6272a4 } /* Comment */
18
+ .highlight .err { color: #f8f8f2 } /* Error */
19
+ .highlight .g { color: #f8f8f2 } /* Generic */
20
+ .highlight .k { color: #ff79c6 } /* Keyword */
21
+ .highlight .l { color: #f8f8f2 } /* Literal */
22
+ .highlight .n { color: #f8f8f2 } /* Name */
23
+ .highlight .o { color: #ff79c6 } /* Operator */
24
+ .highlight .x { color: #f8f8f2 } /* Other */
25
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
26
+ .highlight .ch { color: #6272a4 } /* Comment.Hashbang */
27
+ .highlight .cm { color: #6272a4 } /* Comment.Multiline */
28
+ .highlight .cp { color: #ff79c6 } /* Comment.Preproc */
29
+ .highlight .cpf { color: #6272a4 } /* Comment.PreprocFile */
30
+ .highlight .c1 { color: #6272a4 } /* Comment.Single */
31
+ .highlight .cs { color: #6272a4 } /* Comment.Special */
32
+ .highlight .gd { color: #8b080b } /* Generic.Deleted */
33
+ .highlight .ge { color: #f8f8f2; text-decoration: underline } /* Generic.Emph */
34
+ .highlight .gr { color: #f8f8f2 } /* Generic.Error */
35
+ .highlight .gh { color: #f8f8f2; font-weight: bold } /* Generic.Heading */
36
+ .highlight .gi { color: #f8f8f2; font-weight: bold } /* Generic.Inserted */
37
+ .highlight .go { color: #44475a } /* Generic.Output */
38
+ .highlight .gp { color: #f8f8f2 } /* Generic.Prompt */
39
+ .highlight .gs { color: #f8f8f2 } /* Generic.Strong */
40
+ .highlight .gu { color: #f8f8f2; font-weight: bold } /* Generic.Subheading */
41
+ .highlight .gt { color: #f8f8f2 } /* Generic.Traceback */
42
+ .highlight .kc { color: #ff79c6 } /* Keyword.Constant */
43
+ .highlight .kd { color: #8be9fd; font-style: italic } /* Keyword.Declaration */
44
+ .highlight .kn { color: #ff79c6 } /* Keyword.Namespace */
45
+ .highlight .kp { color: #ff79c6 } /* Keyword.Pseudo */
46
+ .highlight .kr { color: #ff79c6 } /* Keyword.Reserved */
47
+ .highlight .kt { color: #8be9fd } /* Keyword.Type */
48
+ .highlight .ld { color: #f8f8f2 } /* Literal.Date */
49
+ .highlight .m { color: #bd93f9 } /* Literal.Number */
50
+ .highlight .s { color: #f1fa8c } /* Literal.String */
51
+ .highlight .na { color: #50fa7b } /* Name.Attribute */
52
+ .highlight .nb { color: #8be9fd; font-style: italic } /* Name.Builtin */
53
+ .highlight .nc { color: #50fa7b } /* Name.Class */
54
+ .highlight .no { color: #f8f8f2 } /* Name.Constant */
55
+ .highlight .nd { color: #f8f8f2 } /* Name.Decorator */
56
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
57
+ .highlight .ne { color: #f8f8f2 } /* Name.Exception */
58
+ .highlight .nf { color: #50fa7b } /* Name.Function */
59
+ .highlight .nl { color: #8be9fd; font-style: italic } /* Name.Label */
60
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
61
+ .highlight .nx { color: #f8f8f2 } /* Name.Other */
62
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
63
+ .highlight .nt { color: #ff79c6 } /* Name.Tag */
64
+ .highlight .nv { color: #8be9fd; font-style: italic } /* Name.Variable */
65
+ .highlight .ow { color: #ff79c6 } /* Operator.Word */
66
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
67
+ .highlight .mb { color: #bd93f9 } /* Literal.Number.Bin */
68
+ .highlight .mf { color: #bd93f9 } /* Literal.Number.Float */
69
+ .highlight .mh { color: #bd93f9 } /* Literal.Number.Hex */
70
+ .highlight .mi { color: #bd93f9 } /* Literal.Number.Integer */
71
+ .highlight .mo { color: #bd93f9 } /* Literal.Number.Oct */
72
+ .highlight .sa { color: #f1fa8c } /* Literal.String.Affix */
73
+ .highlight .sb { color: #f1fa8c } /* Literal.String.Backtick */
74
+ .highlight .sc { color: #f1fa8c } /* Literal.String.Char */
75
+ .highlight .dl { color: #f1fa8c } /* Literal.String.Delimiter */
76
+ .highlight .sd { color: #f1fa8c } /* Literal.String.Doc */
77
+ .highlight .s2 { color: #f1fa8c } /* Literal.String.Double */
78
+ .highlight .se { color: #f1fa8c } /* Literal.String.Escape */
79
+ .highlight .sh { color: #f1fa8c } /* Literal.String.Heredoc */
80
+ .highlight .si { color: #f1fa8c } /* Literal.String.Interpol */
81
+ .highlight .sx { color: #f1fa8c } /* Literal.String.Other */
82
+ .highlight .sr { color: #f1fa8c } /* Literal.String.Regex */
83
+ .highlight .s1 { color: #f1fa8c } /* Literal.String.Single */
84
+ .highlight .ss { color: #f1fa8c } /* Literal.String.Symbol */
85
+ .highlight .bp { color: #f8f8f2; font-style: italic } /* Name.Builtin.Pseudo */
86
+ .highlight .fm { color: #50fa7b } /* Name.Function.Magic */
87
+ .highlight .vc { color: #8be9fd; font-style: italic } /* Name.Variable.Class */
88
+ .highlight .vg { color: #8be9fd; font-style: italic } /* Name.Variable.Global */
89
+ .highlight .vi { color: #8be9fd; font-style: italic } /* Name.Variable.Instance */
90
+ .highlight .vm { color: #8be9fd; font-style: italic } /* Name.Variable.Magic */
91
+ .highlight .il { color: #bd93f9 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,65 @@
1
+ @import "dracula.css";
2
+
3
+ body {
4
+ margin: 0;
5
+ font-family: 'PT Serif',Georgia,Cambria,'Times New Roman',Times,serif;
6
+ font-size: 1.25rem;
7
+ color: #3A3A3A;
8
+ background-color: #FFF;
9
+ line-height: 1.5;
10
+ }
11
+
12
+ .title {
13
+ text-align: center;
14
+ margin-bottom: .2em;
15
+ font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
16
+ font-size: 3rem;
17
+ }
18
+
19
+ .mugshot-figure {
20
+ text-align: center;
21
+ }
22
+
23
+ .mugshot-img {
24
+ width: 200px;
25
+ }
26
+
27
+ a {
28
+ color: #3A3A3A;
29
+ }
30
+
31
+ a:hover {
32
+ color: #9e9e9e;
33
+ }
34
+
35
+ .title a {
36
+ text-decoration: none;
37
+ }
38
+
39
+ #content {
40
+ max-width: 700px;
41
+ margin-left: auto;
42
+ margin-top: 2rem;
43
+ margin-bottom: 5rem;
44
+ margin-right: auto;
45
+ padding-left: 1.5rem;
46
+ padding-right: 1.5rem;
47
+ }
48
+
49
+ .dt-published {
50
+ padding-left: 2rem;
51
+ background-size: 1rem;
52
+ background-repeat: no-repeat;
53
+ background-position: 0 40%;
54
+ background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1024%20544v448q0%2014-9%2023t-23%209H672q-14%200-23-9t-9-23v-64q0-14%209-23t23-9h224V544q0-14%209-23t23-9h64q14%200%2023%209t9%2023zm416%20352q0-148-73-273t-198-198-273-73-273%2073-198%20198-73%20273%2073%20273%20198%20198%20273%2073%20273-73%20198-198%2073-273zm224%200q0%20209-103%20385.5T1281.5%201561%20896%201664t-385.5-103T231%201281.5%20128%20896t103-385.5T510.5%20231%20896%20128t385.5%20103T1561%20510.5%201664%20896z%22%2F%3E%3C%2Fsvg%3E);
55
+ }
56
+
57
+ .highlight {
58
+ padding-left: 2rem;
59
+ padding-right: 2rem;
60
+ padding-top: .5rem;
61
+ padding-bottom: .5rem;
62
+ }
63
+
64
+ .highlighter-rouge {
65
+ color: #8f1814;
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dull
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Carlos Marx
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-18 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.5'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.5'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: jekyll-feed
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.9'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.9'
47
+ - !ruby/object:Gem::Dependency
48
+ name: jekyll-seo-tag
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.1'
61
+ - !ruby/object:Gem::Dependency
62
+ name: bundler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description:
76
+ email:
77
+ - k4lm4rx@gmail.com
78
+ executables: []
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - LICENSE.txt
83
+ - README.md
84
+ - _includes/custom-head.html
85
+ - _includes/footer.html
86
+ - _includes/head.html
87
+ - _includes/header.html
88
+ - _layouts/.base.html.swp
89
+ - _layouts/default.html
90
+ - _layouts/home.html
91
+ - _layouts/page.html
92
+ - _layouts/post.html
93
+ - assets/css/dracula.css
94
+ - assets/css/style.css
95
+ homepage: https://github.com/k4lm4rx/dull.git
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.7.6
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: A boring theme for Jekyll.
119
+ test_files: []