jekyll-theme-bearblog 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: 41b45909642d09b2779dd41dc4c983b8a0bd7722576fcdb26987e4960fc3b6b7
4
+ data.tar.gz: c6f8abe4b157990fa9432c9998075f361a27d3295a2eb961a7cc0a6c771c3915
5
+ SHA512:
6
+ metadata.gz: 5f6b4fc769637568c59cd0229c42e69e1572037dedcbbd415780b74794c2283e8f4d091e08964cf0412a6c16cb41598db7ff92696e09a98189dec3e3b29cdba2
7
+ data.tar.gz: cff4ea8a8a9c07e9e23b444f0b6ec0cbe7837a3280dee6ae9428e9e5d3542e6363532be87eeda0cf1c29cb2953be56d4860839c6f6d97963dc7fcc21656fcf8d
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 hmk
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,57 @@
1
+ # Jekyll ʕ•ᴥ•ʔ Bear Blog ![Test](https://github.com/hmk/jekyll-theme-bearblog/actions/workflows/jekyll.yml/badge.svg?branch=main&event=push)
2
+
3
+ 🧸 A [Jekyll](https://jekyllrb.com/) theme based on [Bear Blog](https://bearblog.dev)
4
+
5
+ > Free, no-nonsense, super-fast blogging.
6
+
7
+ ## Demo
8
+
9
+ For an example demonstration of this theme, please check out https://hmk.github.io/jekyll-bearblog
10
+
11
+
12
+ ## Installation
13
+
14
+ Add this line to your Jekyll site's `Gemfile`:
15
+
16
+ ```ruby
17
+ gem "jekyll-theme-bearblog"
18
+ ```
19
+
20
+ And add this line to your Jekyll site's `_config.yml`:
21
+
22
+ ```yaml
23
+ theme: jekyll-theme-bearblog
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ $ bundle
29
+
30
+ Or install it yourself as:
31
+
32
+ $ gem install jekyll-theme-bearblog
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hmk/hmk/jekyll-theme-bearblog. 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.
37
+
38
+ ## Development
39
+
40
+ To set up your environment to develop this theme, run `bundle install`.
41
+
42
+ 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.
43
+
44
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
45
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-bearblog.gemspec` accordingly.
46
+
47
+ ## License
48
+
49
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
50
+
51
+ ## Sponsor
52
+
53
+ Support my work on this theme via [GitHub Sponsors](https://github.com/sponsors/hmk)
54
+
55
+ ## Special Thanks
56
+
57
+ Both to [Herman](https://herman.bearblog.dev/) for creating the original [ʕ•ᴥ•ʔ Bear Blog](https://bearblog.dev/) and to [janraasch](https://github.com/janraasch) for his wonderful [Hugo Theme](https://github.com/janraasch/hugo-bearblog).
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+ <!DOCTYPE html>
5
+ <html lang="en">
6
+ <head>
7
+ <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
8
+ <meta charset="utf-8">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10
+ <title>{{ title }}</title>
11
+ <link rel="stylesheet" href="/assets/css/styles.css">
12
+ <script>
13
+ </script>
14
+ </head>
15
+ <body>
16
+ <header>
17
+
18
+ </header>
19
+ <main>
20
+ {{ content }}
21
+ </main>
22
+ <footer>
23
+
24
+ </footer>
25
+ </body>
26
+ </html>
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ <h2>{{ page.title }}</h2>
6
+ <p>
7
+ <i>
8
+ <time datetime='{{ page.date | date: "%-d %B %Y" }}' pubdate>
9
+ {{ page.date | date: "%-d %B %Y" }}
10
+ </time>
11
+ </i>
12
+ </p>
13
+ <content>
14
+ {{ content }}
15
+ </content>
data/_sass/main.css ADDED
@@ -0,0 +1,169 @@
1
+ body {
2
+ font-family: Verdana, sans-serif;
3
+ margin: auto;
4
+ padding: 20px;
5
+ max-width: 720px;
6
+ text-align: left;
7
+ background-color: #fff;
8
+ word-wrap: break-word;
9
+ overflow-wrap: break-word;
10
+ line-height: 1.5;
11
+ color: #444;
12
+ }
13
+
14
+ h1,
15
+ h2,
16
+ h3,
17
+ h4,
18
+ h5,
19
+ h6,
20
+ strong,
21
+ b {
22
+ color: #222;
23
+ }
24
+
25
+ a {
26
+ color: #3273dc;
27
+ /*color: #ff5e6c;*/
28
+ }
29
+
30
+ .title {
31
+ text-decoration: none;
32
+ border: 0;
33
+ }
34
+
35
+ .title span {
36
+ font-weight: 400;
37
+ }
38
+
39
+ nav a {
40
+ margin-right: 10px;
41
+ }
42
+
43
+ textarea {
44
+ width: 100%;
45
+ font-size: 16px;
46
+ }
47
+
48
+ input {
49
+ font-size: 16px;
50
+ }
51
+
52
+ content {
53
+ line-height: 1.6;
54
+ }
55
+
56
+ table {
57
+ width: 100%;
58
+ }
59
+
60
+ img {
61
+ max-width: 100%;
62
+ }
63
+
64
+ code {
65
+ padding: 2px 5px;
66
+ background-color: #f2f2f2;
67
+ }
68
+
69
+ pre code {
70
+ color: #222;
71
+ display: block;
72
+ padding: 20px;
73
+ white-space: pre-wrap;
74
+ font-size: 14px;
75
+ }
76
+
77
+ div.highlight pre {
78
+ background-color: initial;
79
+ color: initial;
80
+ }
81
+
82
+ div.highlight code {
83
+ background-color: unset;
84
+ color: unset;
85
+ }
86
+
87
+ blockquote {
88
+ border-left: 1px solid #999;
89
+ color: #222;
90
+ padding-left: 20px;
91
+ font-style: italic;
92
+ }
93
+
94
+ footer {
95
+ padding: 25px;
96
+ text-align: center;
97
+ }
98
+
99
+ .helptext {
100
+ color: #777;
101
+ font-size: small;
102
+ }
103
+
104
+ .errorlist {
105
+ color: #eba613;
106
+ font-size: small;
107
+ }
108
+
109
+ /* blog posts */
110
+ ul.blog-posts {
111
+ list-style-type: none;
112
+ padding: unset;
113
+ }
114
+
115
+ ul.blog-posts li {
116
+ display: flex;
117
+ }
118
+
119
+ ul.blog-posts li span {
120
+ flex: 0 0 130px;
121
+ }
122
+
123
+ ul.blog-posts li a:visited {
124
+ color: #8b6fcb;
125
+ }
126
+
127
+ @media (prefers-color-scheme: dark) {
128
+ body {
129
+ background-color: #333;
130
+ color: #ddd;
131
+ }
132
+
133
+ h1,
134
+ h2,
135
+ h3,
136
+ h4,
137
+ h5,
138
+ h6,
139
+ strong,
140
+ b {
141
+ color: #eee;
142
+ }
143
+
144
+ a {
145
+ color: #8cc2dd;
146
+ }
147
+
148
+ code {
149
+ background-color: #777;
150
+ }
151
+
152
+ pre code {
153
+ color: #ddd;
154
+ }
155
+
156
+ blockquote {
157
+ color: #ccc;
158
+ }
159
+
160
+ textarea,
161
+ input {
162
+ background-color: #252525;
163
+ color: #ddd;
164
+ }
165
+
166
+ .helptext {
167
+ color: #aaa;
168
+ }
169
+ }
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "main";
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-bearblog
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - hmk
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-06-28 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: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ description:
28
+ email:
29
+ - hmk@users.noreply.github.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _layouts/base.html
37
+ - _layouts/none.html
38
+ - _layouts/single.html
39
+ - _sass/main.css
40
+ - assets/css/styles.scss
41
+ homepage: https://github.com/hmk/jekyll-theme-bearblog/
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
45
+ post_install_message:
46
+ rdoc_options: []
47
+ require_paths:
48
+ - lib
49
+ required_ruby_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubygems_version: 3.3.7
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: A Jekyll theme based on Bear Blog. Free, non-nonsense, super-fast blogging
64
+ test_files: []