rawfeed 0.2.6 → 0.2.7

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: e38efdd724f19c9a50f8d3097ae15dff4b3ed6e68d80c504b60c0b866c76d302
4
- data.tar.gz: 5c5229845ab2838d7f725787ae7aa11dd2dbff9e9b502b60b9748087886ac4eb
3
+ metadata.gz: 58ea1ee548b33fcc82f993045e60125b21d5ce10584952115b1fbc358c334e88
4
+ data.tar.gz: 591deb40da8b6e0b9524e8dafb63b85df42101f293792f20a4655fbbb315bcbe
5
5
  SHA512:
6
- metadata.gz: 9f99a59a9a195d3662436fbc21d5b74e2f67e7f836b3bd696b9d6c7f74f82b279beafea3b23b836b03eb59a9e4c0fa1c6f7c548d71d9408afcdbb8d325a45bd4
7
- data.tar.gz: 66d1a48918578fa02cf82baabad25d9b5cc9314bb1e2fd6b59110cbb938d8c746511728f08f959b1bd15de02a1d7d8878e4d57b93a4d6dfcd5865877387e0461
6
+ metadata.gz: 5a1b265ef5ad239c733ce6df889b5770f269f548c2ca0ec49c190bff3edf42b2dbc48ee89af0d5b1bf36d8977f5b7fe10ef0e325af24e911dc876b8fbb0a2cbb
7
+ data.tar.gz: b18ae0c6053706dd4f7bb6e4a3f6f7a519b7cb7ff5724516ebdbd130f589bc0ba4d814ad6b59ddcd998277c066769d7573f80e4cbf11a456a8293781e090c343
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  <p align="center">
2
2
  <img src=".github/logo.png" alt="Rawfeed" width="150">
3
3
  <br>
4
- <small>Rawfeed — A raw Jekyll theme for minimalists</small>
4
+ <small>rawfeed-jekyll — A raw Jekyll theme for minimalists</small>
5
5
  <br>
6
- <a href="https://badge.fury.io/rb/rawfeed"><img src="https://badge.fury.io/rb/rawfeed.svg?icon=si%3Arubygems" alt="Gem Version" height="18"></a>
6
+ <a href="https://badge.fury.io/rb/rawfeed" target="_blank"><img src="https://badge.fury.io/rb/rawfeed.svg" alt="Gem Version" height="18"></a>
7
+ <br>
8
+ <a href="https://rawfeed.github.io/rawfeed-jekyll" target="_blank">Documentation</a>
7
9
  </p>
8
10
 
9
11
  # For developer
@@ -5,7 +5,7 @@
5
5
  {%- assign pixels_url = "/pixels/" | relative_url -%}
6
6
  {%- assign search_url = "/blog/?search=open" | relative_url -%}
7
7
  {%- assign tags_url = "/blog/tags/" | relative_url -%}
8
- {%- assign pub_url = "/pub/" | relative_url -%}
8
+ {%- assign pub_url = "/pub/" -%}
9
9
  {%- assign feed_url = "/feed.xml" | relative_url -%}
10
10
  {%- assign head_ = site.data.options.head -%}
11
11
  {%- assign site_title = site.data.options.title -%}
@@ -153,7 +153,7 @@
153
153
  {%- endif -%}
154
154
  {%- assign files_in_pub = site.static_files | where_exp: "item", "item.path contains pub_url" -%}
155
155
  {%- if files_in_pub.size > 0 -%}
156
- <div class="menu-wrap-link">{{ header_.menu.pub.emoji | with_class: "spacer" }}<a href="{{ pub_url }}">{{ header_.menu.pub.title }}</a></div>
156
+ <div class="menu-wrap-link">{{ header_.menu.pub.emoji | with_class: "spacer" }}<a href="{{ pub_url | relative_url }}">{{ header_.menu.pub.title }}</a></div>
157
157
  {%- endif -%}
158
158
  </div>
159
159
  {%- endif -%}
@@ -16,10 +16,10 @@
16
16
  {%- if total_page > 1 -%}
17
17
  <li class="page-item">
18
18
  <span class="page-link blog-pagination__counter">
19
- [&nbsp;{{ blog_.pagination.counter[0] }}
19
+ &nbsp;[&nbsp;{{ blog_.pagination.counter[0] }}
20
20
  {{ paginator.page }}
21
21
  {{ blog_.pagination.counter[1] }}
22
- {{ total_page }}&nbsp;]
22
+ {{ total_page }}&nbsp;]&nbsp;
23
23
  </span>
24
24
  </li>
25
25
  {%- endif -%}
data/_layouts/pub.html CHANGED
@@ -18,11 +18,11 @@
18
18
  <div class="row pub-line">
19
19
  <div class="col-sm">
20
20
  {% if item.type == 'directory' %}
21
- <a href="{{ item.url }}">{{ item.name }}/</a>
21
+ <a href="{{ item.url | relative_url }}">{{ item.name }}/</a>
22
22
  {% elsif item.type == 'parent' %}
23
- <a href="{{ item.url }}">{{ item.name }}</a>
23
+ <a href="{{ item.url | relative_url }}">{{ item.name }}</a>
24
24
  {% else %}
25
- <a href="{{ item.url }}">{{ item.name }}</a>
25
+ <a href="{{ item.url | relative_url }}">{{ item.name }}</a>
26
26
  {% endif %}
27
27
  </div>
28
28
 
@@ -2,6 +2,7 @@
2
2
  margin-top: 50px;
3
3
  .page-link {
4
4
  border-radius: 0px;
5
+ padding: 0px !important;
5
6
  border: none;
6
7
  background-color: transparent;
7
8
  color: var(--text-color);
@@ -13,6 +14,7 @@
13
14
  &__newer, &__older {
14
15
  color: var(--primary-color) !important;
15
16
  &:hover {
17
+ cursor: pointer !important;
16
18
  color: var(--text-color) !important;
17
19
  }
18
20
  }
@@ -1,6 +1,8 @@
1
1
  @use "../components/index";
2
2
 
3
3
  .blog {
4
+ margin-bottom: var(--margin-bottom);
5
+
4
6
  &-subtitle {
5
7
  font-size: 1.05rem;
6
8
  font-weight: bold;
@@ -23,7 +23,7 @@
23
23
  .contact,
24
24
  .contact-disabled {
25
25
  @extend %markdown;
26
- margin-bottom: 35px !important;
26
+ margin-bottom: var(--margin-bottom);
27
27
  }
28
28
 
29
29
  .contact {
@@ -3,7 +3,7 @@
3
3
  .error {
4
4
  &-image {
5
5
  @extend %gif_border;
6
- margin-bottom: 50px;
6
+ margin-bottom: var(--margin-bottom);
7
7
  }
8
8
 
9
9
  &-title {
@@ -3,5 +3,5 @@
3
3
  .licenses {
4
4
  @extend %markdown;
5
5
  padding: 15px;
6
- // box-shadow: 0 10px 30px rgba(0, 0, 0, .7);
6
+ margin-bottom: var(--margin-bottom);
7
7
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .page {
4
4
  @extend %markdown;
5
- margin-bottom: 35px !important;
5
+ margin-bottom: var(--margin-bottom);
6
6
 
7
7
  .dt-published,
8
8
  .dt-modified {
@@ -2,7 +2,7 @@
2
2
 
3
3
  .pixel {
4
4
  @extend %markdown;
5
- margin-bottom: 35px !important;
5
+ margin-bottom: var(--margin-bottom);
6
6
 
7
7
  li {
8
8
  list-style: disc;
@@ -1,6 +1,6 @@
1
1
  .pixels {
2
2
  margin: 0 auto;
3
- margin-bottom: 35px !important;
3
+ margin-bottom: var(--margin-bottom);
4
4
 
5
5
  &-title {
6
6
  font-size: 1.05rem;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .post {
4
4
  @extend %markdown;
5
- margin-bottom: 35px;
5
+ margin-bottom: var(--margin-bottom);
6
6
 
7
7
  li {
8
8
  list-style: disc;
@@ -127,7 +127,7 @@
127
127
  line-height: 1.5;
128
128
  font-size: 11pt;
129
129
  border: 1px solid var(--resume-border-color);
130
- margin-bottom: 50px;
130
+ margin-bottom: var(--margin-bottom);
131
131
  // box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
132
132
 
133
133
  .role-company {
@@ -2,6 +2,7 @@
2
2
 
3
3
  .tag-posts {
4
4
  margin-top: -.1rem !important;
5
+ margin-bottom: var(--margin-bottom);
5
6
 
6
7
  &-title {
7
8
  font-size: 1.05rem !important;
@@ -6,6 +6,7 @@
6
6
  // background-color: white;
7
7
  // padding: 20px;
8
8
  @extend %markdown;
9
+ margin-bottom: var(--margin-bottom);
9
10
 
10
11
  &-title {
11
12
  font-size: 1.05rem !important;
data/_sass/main.scss CHANGED
@@ -17,6 +17,10 @@ layout:
17
17
  dark: "hacking"
18
18
  */
19
19
  :root[data-theme="light"] {
20
+ // margins
21
+ --margin-bottom: 85px !important; // note: This is the height of the footer.
22
+
23
+ // colors
20
24
  --bg-color: #{theme.theme-color(bg, light)};
21
25
  --text-color: #{theme.theme-color(text, light)};
22
26
  --text-muted-color: #{theme.theme-color(text-muted, light)};
@@ -81,6 +85,10 @@ layout:
81
85
  }
82
86
 
83
87
  :root[data-theme="dark"] {
88
+ // margins
89
+ --margin-bottom: 85px !important; // note: This is the height of the footer.
90
+
91
+ // colors
84
92
  --bg-color: #{theme.theme-color(bg, dark)};
85
93
  --text-color: #{theme.theme-color(text, dark)};
86
94
  --text-muted-color: #{theme.theme-color(text-muted, dark)};
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rawfeed
4
- VERSION = "0.2.6"
4
+ VERSION = "0.2.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rawfeed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - William C. Canin