hobbies 1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/LICENSE.txt +21 -0
- data/README.md +49 -0
- data/_includes/footer.html +11 -0
- data/_includes/head.html +15 -0
- data/_includes/header.html +25 -0
- data/_includes/social.html +13 -0
- data/_layouts/default.html +18 -0
- data/_layouts/home.html +27 -0
- data/_layouts/page.html +12 -0
- data/_layouts/post.html +31 -0
- data/assets/css/Hobbies.css +139 -0
- data/assets/css/desktop.css +40 -0
- data/assets/css/mobile.css +48 -0
- metadata +16 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7f6154e6b7961224b7930d9c20154c4f2b3ddf9c800a2e7c545ddf00c4b6b172
|
4
|
+
data.tar.gz: 1ce668bbf7ffea0bea4cfd112337f42457f8d33e74374edb6cf1585a7a56006d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f60d6620e3ee042653fb31a6bb48053a2321292ecff8c9fd1938e26be5f1adb22ae698fc64f81e4173d933fd41790e0f4943a3575553f1f1f7393ad0495b75
|
7
|
+
data.tar.gz: fe7f9d91a06bba3bcfcf46602af311b24a31b61199386a44df6084128be7fbeddedc26580420f258157f8e77a4c674c051fc22dff4b26598a5ff5585aff03177
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Jacob Hobbie
|
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,49 @@
|
|
1
|
+
# Hobbies
|
2
|
+
|
3
|
+
|
4
|
+

|
5
|
+

|
6
|
+
|
7
|
+
Welcome to Hobbies, a Jekyll theme made for developers who want to say a little more than "Hello World!"
|
8
|
+
|
9
|
+
Hobbies is inspired by the minimal aesthetic of [minima](https://github.com/jekyll/minima) and the colors of [hyper-snazzy](https://github.com/sindresorhus/hyper-snazzy). A warm "Thank You!" to these inspirations.
|
10
|
+
|
11
|
+
The theme should always be considered a **BETA** product, and large design and aesthetic changes may always occur on the theme. As I continue to grow up, my sense of style and design changes, and so this theme will change along with it! Any design I deem as a final "product" will be put into its own repository.
|
12
|
+
|
13
|
+
## Requirements/Installation
|
14
|
+
|
15
|
+
Follow the instructions below in order to install *Hobbies* into your own Jekyll site!
|
16
|
+
|
17
|
+
### Requirements
|
18
|
+
|
19
|
+
You'll need an instance of Jekyll! Check out the [Jekyll documentation](https://jekyllrb.com/docs/home/) to find out how to make your own Jekyll site. You'll also need the internet, but if you're viewing this here, there's a safe chance you have access to it 😄.
|
20
|
+
|
21
|
+
### Installation
|
22
|
+
|
23
|
+
Add this line to your Jekyll site's `Gemfile`:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
gem "Hobbies"
|
27
|
+
```
|
28
|
+
|
29
|
+
And add this line to your Jekyll site's `_config.yml`:
|
30
|
+
|
31
|
+
```yaml
|
32
|
+
theme: Hobbies
|
33
|
+
```
|
34
|
+
|
35
|
+
And then execute:
|
36
|
+
|
37
|
+
$ bundle
|
38
|
+
|
39
|
+
Or install it yourself as:
|
40
|
+
|
41
|
+
$ gem install Hobbies
|
42
|
+
|
43
|
+
## Contributing
|
44
|
+
|
45
|
+
Suggestions and helpful criticism is always welcome through the use of pull requests! A guide on how to contribute can be found [here](https://github.com/HobbieJ/Hobbies/blob/master/CONTRIBUTING.md).
|
46
|
+
|
47
|
+
## License
|
48
|
+
|
49
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/head.html
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
<head>
|
2
|
+
<!-- Basic Meta Tags (Responsive Design) -->
|
3
|
+
<meta charset="utf-8">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
<!-- Jekyll SEO Gem -->
|
6
|
+
{% seo %}
|
7
|
+
<!-- Jekyll RSS Feed Gem -->
|
8
|
+
{% feed_meta %}
|
9
|
+
<!-- Fonts -->
|
10
|
+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css">
|
11
|
+
<!-- CSS (Responsive) -->
|
12
|
+
<link rel="stylesheet" href="{{ "/assets/css/Hobbies.css" | relative_url }}">
|
13
|
+
<link rel="stylesheet" media="(max-width:769px)" href="{{ "/assets/css/mobile.css" | relative_url }}">
|
14
|
+
<link rel="stylesheet" media="(min-width:770px)" href="{{ "/assets/css/desktop.css" | relative_url }}">
|
15
|
+
</head>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<header id="top" class="site-header">
|
2
|
+
<!-- Set Up YMAL -->
|
3
|
+
{% assign default_paths = site.pages | map: "path" %}
|
4
|
+
{% assign page_paths = site.header_pages | default: default_paths %}
|
5
|
+
|
6
|
+
<!-- Name -->
|
7
|
+
<div class="top-left title">
|
8
|
+
<a href="{{ "/" | relative_url }}">
|
9
|
+
{{ site.title }}
|
10
|
+
</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<!-- Nav Bar -->
|
14
|
+
<div class="top-right top-nav">
|
15
|
+
{% if page_paths %}
|
16
|
+
{% for path in page_paths %}
|
17
|
+
{% assign my_page = site.pages | where: "path", path | first %}
|
18
|
+
{% if my_page.title %}
|
19
|
+
<a href="{{ my_page.url | relative_url }}">{{ my_page.title }}</a>
|
20
|
+
{% endif %}
|
21
|
+
{% endfor %}
|
22
|
+
{% endif %}
|
23
|
+
</div>
|
24
|
+
<div class="clear-all"></div>
|
25
|
+
</header>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% if site.github_username %}
|
2
|
+
<a href="https://github.com/{{ site.github_username | cgi_escape | escape }}">GitHub</a>
|
3
|
+
<p>•</p>
|
4
|
+
{% endif %}
|
5
|
+
{% if site.twitter_username %}
|
6
|
+
<a href="https://twitter.com/{{ site.twitter_username | cgi_escape | escape }}">Twitter</a>
|
7
|
+
<p>•</p>
|
8
|
+
{% endif %}
|
9
|
+
{% if site.linkedin_username %}
|
10
|
+
<a href="https://linkedin.com/in/{{ site.linkedin_username | cgi_escape | escape }}/">LinkedIn</a>
|
11
|
+
<p>•</p>
|
12
|
+
{% endif %}
|
13
|
+
<a href="{{ 'feed.xml' | relative_url }}">RSS</a>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!-- Sets Language per Page-->
|
3
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
4
|
+
<!-- Add Head Tag Information -->
|
5
|
+
{% include head.html %}
|
6
|
+
<body>
|
7
|
+
<!-- Add Header to Site -->
|
8
|
+
{% include header.html %}
|
9
|
+
|
10
|
+
<!-- Per-Page Content -->
|
11
|
+
<div class="content">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<!-- Add Footer to Site -->
|
16
|
+
{% include footer.html %}
|
17
|
+
</body>
|
18
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if page.title %}
|
6
|
+
<h1>{{ page.title }}</h1>
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{{ content }}
|
10
|
+
|
11
|
+
<div class="home">
|
12
|
+
{% if site.posts.size > 0 %}
|
13
|
+
<ul>
|
14
|
+
{% for post in site.posts %}
|
15
|
+
<li class="index-post">
|
16
|
+
{% assign date_format = site.Hobbies.date_format | default: "%b %-d, %Y" %}
|
17
|
+
<span class="index-date">{{ post.date | date: date_format }}</span>
|
18
|
+
<h3 class="index-title">
|
19
|
+
<a href="{{ post.url | relative_url }}">
|
20
|
+
{{ post.title | escape }}
|
21
|
+
</a>
|
22
|
+
</h3>
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
25
|
+
</ul>
|
26
|
+
{% endif %}
|
27
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<!-- Describes Metadata for Atom Feed -->
|
6
|
+
<article itemscope itemtype="http://schema.org/BlogPosting">
|
7
|
+
<!-- Article Header -->
|
8
|
+
<header class="post-header">
|
9
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
10
|
+
<p class="post-meta">
|
11
|
+
<!-- DateTime Assigned as XML for Atom? -->
|
12
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
13
|
+
{% assign date_format = site.Hobbies.date_format | default: "%b %-d, %Y" %}
|
14
|
+
{{ page.date | date: date_format }}
|
15
|
+
</time>
|
16
|
+
{% if page.author %}
|
17
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
18
|
+
<span class="post-author" itemprop="name"{{ page.author }}></span>
|
19
|
+
</span>
|
20
|
+
{% endif %}
|
21
|
+
</p>
|
22
|
+
</header>
|
23
|
+
|
24
|
+
<!-- Post Content -->
|
25
|
+
<div class="post-content" itemprop="articleBody">
|
26
|
+
{{ content }}
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<!-- Hides Post URL in Post-->
|
30
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
31
|
+
</article>
|
@@ -0,0 +1,139 @@
|
|
1
|
+
/* CSS Shared for All Screens */
|
2
|
+
|
3
|
+
/* Site */
|
4
|
+
|
5
|
+
body {
|
6
|
+
font-family: "Hack", "Menlo", "Consolas", "monospaced";
|
7
|
+
background-color: #282A36;
|
8
|
+
color: #eff0eb;
|
9
|
+
margin: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
a {
|
13
|
+
color: #57c7ff;
|
14
|
+
text-decoration: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
a:hover {
|
18
|
+
text-decoration: underline;
|
19
|
+
}
|
20
|
+
|
21
|
+
/* Header */
|
22
|
+
|
23
|
+
.top-left {
|
24
|
+
float: left;
|
25
|
+
vertical-align: bottom;
|
26
|
+
}
|
27
|
+
|
28
|
+
.top-right {
|
29
|
+
float: right;
|
30
|
+
|
31
|
+
}
|
32
|
+
|
33
|
+
.clear-all {
|
34
|
+
clear: both;
|
35
|
+
}
|
36
|
+
|
37
|
+
.title a {
|
38
|
+
color: #eff0eb;
|
39
|
+
font-weight: bold;
|
40
|
+
}
|
41
|
+
|
42
|
+
.title a:hover {
|
43
|
+
color: #eff0eb;
|
44
|
+
text-decoration: underline;
|
45
|
+
}
|
46
|
+
|
47
|
+
.top-nav a {
|
48
|
+
color: #eff0eb;
|
49
|
+
}
|
50
|
+
|
51
|
+
.top-nav a:hover {
|
52
|
+
color: #eff0eb;
|
53
|
+
text-decoration: underline;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Content */
|
57
|
+
|
58
|
+
.index-post {
|
59
|
+
list-style-type: none;
|
60
|
+
}
|
61
|
+
|
62
|
+
.index-title {
|
63
|
+
margin: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
.content {
|
67
|
+
line-height: 25px;
|
68
|
+
}
|
69
|
+
|
70
|
+
.content h1 {
|
71
|
+
font-size: 28px;
|
72
|
+
text-align: center;
|
73
|
+
}
|
74
|
+
|
75
|
+
.content h2 {
|
76
|
+
font-size: 26px;
|
77
|
+
}
|
78
|
+
|
79
|
+
.content h3 {
|
80
|
+
font-size: 24px;
|
81
|
+
}
|
82
|
+
|
83
|
+
.content h4 {
|
84
|
+
font-size: 22px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.content h5 {
|
88
|
+
font-size: 20px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.content h6 {
|
92
|
+
font-size: 18px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.content p {
|
96
|
+
font-size: 16px;
|
97
|
+
}
|
98
|
+
|
99
|
+
.content blockquote {
|
100
|
+
color: #eff0eb;
|
101
|
+
background-color: black;
|
102
|
+
border-left: 5px solid #eff0eb;
|
103
|
+
border-radius: 0 10px 10px 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
.content blockquote p {
|
107
|
+
padding: 5px 5px 5px 10px;
|
108
|
+
}
|
109
|
+
|
110
|
+
.content .highlight {
|
111
|
+
margin: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
.content pre {
|
115
|
+
background-color: black;
|
116
|
+
border-radius: 10px;
|
117
|
+
margin: 1%;
|
118
|
+
padding: 0.5% 2%;
|
119
|
+
}
|
120
|
+
|
121
|
+
.content code {
|
122
|
+
background-color: black;
|
123
|
+
padding: 0.25% 0.5%;
|
124
|
+
}
|
125
|
+
|
126
|
+
.content .highlight code {
|
127
|
+
padding: 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* Footer */
|
131
|
+
|
132
|
+
.social a, .social p {
|
133
|
+
display: inline-block;
|
134
|
+
margin: 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
.site-footer {
|
138
|
+
text-align: center;
|
139
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* CSS for Desktops */
|
2
|
+
|
3
|
+
/* Header */
|
4
|
+
|
5
|
+
.site-header {
|
6
|
+
border-bottom: 5px solid #eff0eb;
|
7
|
+
padding: 2% 25% 1% 25%;
|
8
|
+
}
|
9
|
+
|
10
|
+
.title a {
|
11
|
+
font-size: 150%;
|
12
|
+
}
|
13
|
+
|
14
|
+
.top-nav a {
|
15
|
+
font-size: 125%;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Content */
|
19
|
+
|
20
|
+
.content {
|
21
|
+
margin: 2% 25%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.home ul {
|
25
|
+
padding: 0 2.5%;
|
26
|
+
}
|
27
|
+
|
28
|
+
.index-post {
|
29
|
+
margin: 4% 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Footer */
|
33
|
+
|
34
|
+
.site-footer {
|
35
|
+
border-top: 5px solid #eff0eb;
|
36
|
+
}
|
37
|
+
|
38
|
+
.footer-description {
|
39
|
+
margin: auto 25%;
|
40
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/* CSS for Mobile Screens */
|
2
|
+
|
3
|
+
/* Header */
|
4
|
+
|
5
|
+
.site-header {
|
6
|
+
border-bottom: 1px solid #eff0eb;
|
7
|
+
padding: 2% 5% 1% 5%;
|
8
|
+
}
|
9
|
+
|
10
|
+
.title a {
|
11
|
+
font-size: 100%;
|
12
|
+
}
|
13
|
+
|
14
|
+
.top-nav a {
|
15
|
+
font-size: 75%;
|
16
|
+
}
|
17
|
+
|
18
|
+
/* Content */
|
19
|
+
|
20
|
+
.content {
|
21
|
+
margin: 5% 5%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.home ul {
|
25
|
+
padding: 0 5%;
|
26
|
+
}
|
27
|
+
|
28
|
+
.index-post {
|
29
|
+
margin: 5% 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Footer */
|
33
|
+
|
34
|
+
.site-footer {
|
35
|
+
border-top: 1px solid #eff0eb;
|
36
|
+
}
|
37
|
+
|
38
|
+
.footer-description {
|
39
|
+
margin: auto 5%;
|
40
|
+
}
|
41
|
+
|
42
|
+
.social {
|
43
|
+
margin: auto 5%;
|
44
|
+
}
|
45
|
+
|
46
|
+
.copyright {
|
47
|
+
margin: auto 5%;
|
48
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hobbies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Hobbie
|
@@ -86,7 +86,20 @@ email:
|
|
86
86
|
executables: []
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
|
-
files:
|
89
|
+
files:
|
90
|
+
- LICENSE.txt
|
91
|
+
- README.md
|
92
|
+
- _includes/footer.html
|
93
|
+
- _includes/head.html
|
94
|
+
- _includes/header.html
|
95
|
+
- _includes/social.html
|
96
|
+
- _layouts/default.html
|
97
|
+
- _layouts/home.html
|
98
|
+
- _layouts/page.html
|
99
|
+
- _layouts/post.html
|
100
|
+
- assets/css/Hobbies.css
|
101
|
+
- assets/css/desktop.css
|
102
|
+
- assets/css/mobile.css
|
90
103
|
homepage: https://github.com/HobbieJ/Hobbies
|
91
104
|
licenses:
|
92
105
|
- MIT
|
@@ -108,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
121
|
version: '0'
|
109
122
|
requirements: []
|
110
123
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.7.7
|
112
125
|
signing_key:
|
113
126
|
specification_version: 4
|
114
127
|
summary: A Jekyll theme made for developers who want to say a little more than Hello
|