arrow-jekyll-theme 0.1.3 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff2c53987225110840f69b8524facd80393d91aefcc025b7257a3701a5faf2c8
4
- data.tar.gz: 026aa18049df6a1da532cd9b23a083b7be1f94bb24a39236777e1752fcd48b8c
3
+ metadata.gz: 2e8a74117808781c61d9744656a6fbc6190b1f06e1051e6e44c86a841f406137
4
+ data.tar.gz: 5d2b2b73ea8d5ff3490dc7d8f913de27a56bdf0440d1929ee68dda0e1fb7f343
5
5
  SHA512:
6
- metadata.gz: 13bccafafc12fdeb927a578f4055f78fe1ff8a146b3889d4ecc18984a98993e161fed9b3d2298ca8d825531e149f6e87524fe43e53d1735dc5722a59912ec40a
7
- data.tar.gz: f991dae6d245dec5a657123230a3484c57d8a72c069d2bb5a626d6029bd493ac2180cec19c7d7b40cdf8f7ae70e1862915b2d755fe404e3c68ad0e8b809a9e61
6
+ metadata.gz: 685423eb358b605235f1d5965ce7246074085fe8bf6ba5e6e803c17bdd4275bef809ba774a2a0068bd1b5450cbe40cee61ead88ec150c234f21a301dfe56be20
7
+ data.tar.gz: ce9bfe04bbac4edc442c302b7b3825d4188460dd03cac40d80d6a724fbefc4a4cf476c89e871ceb58ccb630f377771d12de1cc98d6f698223870fe4fd4795b08
@@ -1,13 +1,13 @@
1
1
  <footer role="contentinfo">
2
- <h4>Menu</h4>
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>
10
+ © {{ "now" | date: "%Y" }} {{ site.title }}. Built with <a href="https://cspablocortez.github.io/arrow-jekyll-theme">Arrow</a>. <br>
11
11
  The <a href="https://github.com/cspablocortez/arrow-jekyll-theme">code for this project</a>
12
12
  is <a href="https://www.gnu.org/licenses/gpl-3.0.en.html#license-text">GNU GPLv3</a>.
13
13
  </small>
data/_layouts/post.html CHANGED
@@ -5,7 +5,7 @@ layout: default
5
5
  <article class="article">
6
6
  <hgroup>
7
7
  <h1>{{ page.title }}</h1>
8
- <p><time>{{ page.date | date: "%a %B %d %Y"}}</time><p>
8
+ <p><time>{{ page.date | date: "%a %d %B %Y"}}</time><p>
9
9
  </hgroup>
10
10
  <main>
11
11
  {{ content }}
@@ -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: 90%;
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,22 @@ nav {
57
57
  gap: 1rem;
58
58
  }
59
59
 
60
+ nav a:visited {
61
+ color: var(--color-links);
62
+ }
63
+
64
+ details:hover {
65
+ cursor: pointer;
66
+ }
67
+
68
+ details main {
69
+ padding: 1rem;
70
+ }
71
+
60
72
  blockquote {
61
73
  border-left: 2px solid gray;
62
74
  padding-left: 1rem;
75
+ margin: 2rem 1rem;
63
76
  }
64
77
 
65
78
  img { max-width: 100%; border-radius: 0.5rem;}
@@ -97,6 +110,10 @@ table {
97
110
  padding: 0;
98
111
  }
99
112
 
113
+ footer a:visited {
114
+ color: var(--color-links);
115
+ }
116
+
100
117
  .feed-item {
101
118
  margin-block: 0.8rem;
102
119
  }
@@ -113,6 +130,10 @@ table {
113
130
  font-size: 1rem;
114
131
  }
115
132
 
133
+ a#all_posts, a#all_posts:visited {
134
+ color: var(--color-links);
135
+ }
136
+
116
137
  #menu li {
117
138
  display: inline-block;
118
139
  margin-right: 0.5rem;
@@ -135,6 +156,7 @@ footer {
135
156
  font-size: 85%;
136
157
  display: block;
137
158
  max-width: fit-content;
159
+ margin-bottom: -1rem;
138
160
  }
139
161
 
140
162
  .timestamp--date {
@@ -145,6 +167,10 @@ footer {
145
167
  }
146
168
 
147
169
  @media screen and (min-width: 600px) {
170
+ body {
171
+ line-height: 1.6;
172
+ }
173
+
148
174
  nav {
149
175
  margin-block: 2rem;
150
176
  }
data/index.md CHANGED
@@ -5,7 +5,7 @@ layout: default
5
5
 
6
6
  <h1>{{ site.title }}</h1>
7
7
 
8
- Arrow is a text-first Jekyll theme available as a Ruby gem. It features minimal CSS by relying on default browser stylesheets to produce highly readable, responsive websites and blogs.
8
+ <p>{{ site.description }}</p>
9
9
 
10
10
  <h2>Latest Posts</h2>
11
11
 
@@ -17,7 +17,7 @@ Arrow is a text-first Jekyll theme available as a Ruby gem. It features minimal
17
17
  </li>
18
18
  {% endfor %}
19
19
 
20
- <p style="margin-top: 1.5rem;"><a href="{{ '/posts' | relative_url }}">View all posts →</a></p>
20
+ <p style="margin-top: 1.5rem;"><a id="all_posts" href="{{ '/posts' | relative_url }}">View all posts →</a></p>
21
21
  </ul>
22
22
 
23
23
  ## Features
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.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo E. Cortez
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-23 00:00:00.000000000 Z
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
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.