arrow-jekyll-theme 0.1.2 → 0.1.4
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 +4 -4
- data/_includes/footer.html +1 -2
- data/_layouts/post.html +1 -1
- data/assets/css/article.css +16 -1
- data/assets/css/base.css +14 -0
- metadata +3 -4
- data/Devlog.md +0 -103
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 719c796e0d2e7252ac4f1ede3f04d1e8bc2edf82c94c83d3dd229b1ba054e555
|
4
|
+
data.tar.gz: e355a79fb81419ea109daa50f0295d89bbb919fe99e02c730f41d6eb8826f4fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738dc5c32f5560578397f04a8153deeebf110c13f05ccbacc81acc01b375305fd5202f86c35baa6f05664be040e38769dd0dfcd99c7389d6006e9a41cb9f77d3
|
7
|
+
data.tar.gz: c81b7482f11114e9a82a94ac43e734fc3193d62bd67accd7ca59e3024b0e6b6a157a3b2daf28858dafd68845cf0690b0adcc033fa9c1ee5ed61535561014600c
|
data/_includes/footer.html
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
<footer role="contentinfo">
|
2
|
-
<
|
2
|
+
<h3>Menu</h3>
|
3
3
|
<ul id="menu">
|
4
4
|
<li><a href="{{ '/' | relative_url }}">Home</a></li>
|
5
5
|
<li><a href="{{ '/posts' | relative_url }}">Posts</a></li>
|
6
6
|
<li><a href="{{ '/about' | relative_url }}">About</a></li>
|
7
|
-
<li><a href="{{ '/devlog' | relative_url }}">Devlog</a></li>
|
8
7
|
<li><a href="{{ '/feed.xml' | relative_url }}">RSS</a></li>
|
9
8
|
</ul>
|
10
9
|
<small>
|
data/_layouts/post.html
CHANGED
data/assets/css/article.css
CHANGED
@@ -8,13 +8,22 @@
|
|
8
8
|
color: gray;
|
9
9
|
}
|
10
10
|
|
11
|
+
.article h1,
|
12
|
+
.article h2,
|
13
|
+
.article h3,
|
14
|
+
.article h4,
|
15
|
+
.article h5,
|
16
|
+
.article h6 {
|
17
|
+
font-family: "Georgia", sans-serif;
|
18
|
+
}
|
19
|
+
|
11
20
|
.tags {
|
12
21
|
margin-top: 2rem;
|
13
22
|
}
|
14
23
|
|
15
24
|
.fin {
|
16
25
|
text-align: center;
|
17
|
-
font-size:
|
26
|
+
font-size: 70%;
|
18
27
|
color: var(--color-text--primary);
|
19
28
|
margin-block: 1rem 2rem;
|
20
29
|
}
|
@@ -31,3 +40,9 @@
|
|
31
40
|
font-weight: bold;
|
32
41
|
font-size: 0.9rem;
|
33
42
|
}
|
43
|
+
|
44
|
+
@media screen and (min-width: 600px) {
|
45
|
+
.fin {
|
46
|
+
font-size: 90%;
|
47
|
+
}
|
48
|
+
}
|
data/assets/css/base.css
CHANGED
@@ -57,9 +57,14 @@ nav {
|
|
57
57
|
gap: 1rem;
|
58
58
|
}
|
59
59
|
|
60
|
+
nav a:visited {
|
61
|
+
color: var(--color-links);
|
62
|
+
}
|
63
|
+
|
60
64
|
blockquote {
|
61
65
|
border-left: 2px solid gray;
|
62
66
|
padding-left: 1rem;
|
67
|
+
margin: 2rem 1rem;
|
63
68
|
}
|
64
69
|
|
65
70
|
img { max-width: 100%; border-radius: 0.5rem;}
|
@@ -97,6 +102,10 @@ table {
|
|
97
102
|
padding: 0;
|
98
103
|
}
|
99
104
|
|
105
|
+
footer a:visited {
|
106
|
+
color: var(--color-links);
|
107
|
+
}
|
108
|
+
|
100
109
|
.feed-item {
|
101
110
|
margin-block: 0.8rem;
|
102
111
|
}
|
@@ -135,6 +144,7 @@ footer {
|
|
135
144
|
font-size: 85%;
|
136
145
|
display: block;
|
137
146
|
max-width: fit-content;
|
147
|
+
margin-bottom: -1rem;
|
138
148
|
}
|
139
149
|
|
140
150
|
.timestamp--date {
|
@@ -145,6 +155,10 @@ footer {
|
|
145
155
|
}
|
146
156
|
|
147
157
|
@media screen and (min-width: 600px) {
|
158
|
+
body {
|
159
|
+
line-height: 1.6;
|
160
|
+
}
|
161
|
+
|
148
162
|
nav {
|
149
163
|
margin-block: 2rem;
|
150
164
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arrow-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo E. Cortez
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-25 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: jekyll-feed
|
@@ -49,7 +49,6 @@ executables: []
|
|
49
49
|
extensions: []
|
50
50
|
extra_rdoc_files: []
|
51
51
|
files:
|
52
|
-
- Devlog.md
|
53
52
|
- LICENSE
|
54
53
|
- README.md
|
55
54
|
- _includes/footer.html
|
@@ -62,7 +61,7 @@ files:
|
|
62
61
|
- assets/css/monokai.css
|
63
62
|
- index.md
|
64
63
|
- posts.md
|
65
|
-
homepage: https://github.com/cspablocortez/
|
64
|
+
homepage: https://github.com/cspablocortez/arrow-jekyll-theme
|
66
65
|
licenses:
|
67
66
|
- GPL-3.0-or-later
|
68
67
|
metadata: {}
|
data/Devlog.md
DELETED
@@ -1,103 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: page
|
3
|
-
title: Devlog
|
4
|
-
date: 2025-01-22
|
5
|
-
permalink: devlog
|
6
|
-
---
|
7
|
-
|
8
|
-
<time class="timestamp--date">2025-01-22</time>
|
9
|
-
<time class="timestamp--time">10:08 PM</time>
|
10
|
-
Starting the theme by modifying some of the old code I had set up in the old Github repo last year.
|
11
|
-
|
12
|
-
|
13
|
-
<time class="timestamp--date">2025-01-23</time>
|
14
|
-
<time class="timestamp--time">03:21 AM</time>
|
15
|
-
Defining the CSS variables for the theme.
|
16
|
-
|
17
|
-
<time class="timestamp--time">03:55 AM</time>
|
18
|
-
Leaving myself a reminder to support Jekyll tags first, then categories.
|
19
|
-
|
20
|
-
<time class="timestamp--time">03:59 AM</time>
|
21
|
-
I don't like how Jekyll embeds code blocks surrounded by Liquid tags within a `<figure>` element, so I've removed support for it, as figure elements are being used for images with captions.
|
22
|
-
|
23
|
-
<time class="timestamp--time">04:45 AM</time>
|
24
|
-
Added monokai theme for code blocks, and moved some navigation elements around.
|
25
|
-
|
26
|
-
<time class="timestamp--time">04:52 AM</time>
|
27
|
-
Still have to rethink footnotes.
|
28
|
-
|
29
|
-
<time class="timestamp--time">05:27 AM</time>
|
30
|
-
Now I'm working on installing a local version of the gem after pushing it to Github. I guess first I should update the links.
|
31
|
-
|
32
|
-
<time class="timestamp--time">05:50 AM</time>
|
33
|
-
Note: To include default index.md, posts.md, and devlog.md, I had to update the `spec.files` line to this:
|
34
|
-
|
35
|
-
```ruby
|
36
|
-
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_data|_layouts|_includes|_sass|LICENSE|README|_config\.yml|Devlog\.md|index\.md|posts\.md)!i) }
|
37
|
-
```
|
38
|
-
|
39
|
-
<time class="timestamp--time">06:32 AM</time>
|
40
|
-
**Update**: These files are not automatically included, so I will make sure to note that in the README.md
|
41
|
-
|
42
|
-
## Building Gem
|
43
|
-
|
44
|
-
```shell
|
45
|
-
$ gem build Arrow.gemspec
|
46
|
-
```
|
47
|
-
|
48
|
-
## Installing locally for testing
|
49
|
-
|
50
|
-
```shell
|
51
|
-
$ gem install ./arrow-jekyll-theme-0.1.0.gem
|
52
|
-
```
|
53
|
-
|
54
|
-
## Removing local gem
|
55
|
-
|
56
|
-
```shell
|
57
|
-
$ gem uninstall arrow-jekyll-theme
|
58
|
-
```
|
59
|
-
|
60
|
-
## Installing on new blog
|
61
|
-
|
62
|
-
After creating a new site (possibly with `$ jekyll new site-name`), update the `_config.yml` file with this line:
|
63
|
-
|
64
|
-
```yaml
|
65
|
-
theme: arrow-jekyll-theme
|
66
|
-
```
|
67
|
-
|
68
|
-
Also update your Gemfile:
|
69
|
-
|
70
|
-
```ruby
|
71
|
-
gem "arrow-jekyll-theme"
|
72
|
-
```
|
73
|
-
|
74
|
-
And then execute:
|
75
|
-
|
76
|
-
```shell
|
77
|
-
$ bundle install
|
78
|
-
```
|
79
|
-
|
80
|
-
## Finding where gem was installed
|
81
|
-
|
82
|
-
```shell
|
83
|
-
$ bundle info arrow-jekyll-theme
|
84
|
-
```
|
85
|
-
|
86
|
-
## Build Your Site
|
87
|
-
|
88
|
-
```shell
|
89
|
-
$ bundle exec jekyll serve
|
90
|
-
```
|
91
|
-
|
92
|
-
<time class="timestamp--time">07:03 AM</time>
|
93
|
-
I just published the gem to RubyGems [here](https://rubygems.org/gems/arrow-jekyll-theme)
|
94
|
-
|
95
|
-
|
96
|
-
<time class="timestamp--time">07:22 AM</time>
|
97
|
-
I just noticed I forgot to update the link to the RSS feed. Fixing and pushing an update right now.
|
98
|
-
|
99
|
-
<time class="timestamp--time">07:40 AM</time>
|
100
|
-
Updating relative_url links for Github Pages deployment.
|
101
|
-
|
102
|
-
<time class="timestamp--time">07:51 AM</time>
|
103
|
-
Looks like I have to temporarily remove the base_url when developing locally.
|