compost-jekyll-theme 0.3.8 → 0.4.1
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/_data/layouts/about.yml +4 -4
- data/_data/layouts/post.yml +24 -2
- data/_data/layouts/theme.yml +13 -2
- data/_data/theme.yml +0 -1
- data/_includes/author_block.html +1 -1
- data/_includes/divider.html +1 -1
- data/_layouts/default.html +16 -27
- data/_layouts/post.html +3 -1
- data/_sass/utilities.scss +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e90cbd1e396703823e39542792e4f17d841d193d58f1a22406a727c8c17d0c01
|
4
|
+
data.tar.gz: a59ad815f897d2187944bd2299f3ba671f02ca68f1c0b53522b4a5e0fbd5d5b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51dc89367a1443d08923c5a938664341b742ce645fb32de933ab55ff65f192416ad199695f6bccd8dba3812f995126df2d0947997de9f6121957d88af28964f8
|
7
|
+
data.tar.gz: 63ad113eafc55fe65aa890586908445cd4dc1b153330464db10b50fc76fb644deed026bfcc24e1aeee5fcd8f2708f75f97b09046b85c56fe872b98e358cde7df
|
data/_data/layouts/about.yml
CHANGED
@@ -108,11 +108,11 @@ background_image_open:
|
|
108
108
|
license:
|
109
109
|
type: "new_html"
|
110
110
|
label:
|
111
|
-
es: "Descripción de la licencia"
|
112
|
-
en: "
|
111
|
+
es: "Descripción de la licencia general"
|
112
|
+
en: "General license description"
|
113
113
|
help:
|
114
|
-
es: "Se mostrará en los artículos que contienen un pie de licencia"
|
115
|
-
en: "Will be displayed on posts with license footer enabled"
|
114
|
+
es: "Se mostrará en los artículos que contienen un pie de licencia, si el artículo no tiene sus propios términos."
|
115
|
+
en: "Will be displayed on posts with license footer enabled, if they don't have their own licensing terms."
|
116
116
|
locales:
|
117
117
|
type: "locales"
|
118
118
|
label:
|
data/_data/layouts/post.yml
CHANGED
@@ -105,8 +105,16 @@ license:
|
|
105
105
|
es: "Título de la licencia"
|
106
106
|
en: "License title"
|
107
107
|
help:
|
108
|
-
es: "Publicar el artículo bajo esta licencia"
|
109
|
-
en: "Release post under this license"
|
108
|
+
es: "Publicar el artículo bajo esta licencia. Dejar vacío para para ocultar la licencia en este artículo."
|
109
|
+
en: "Release post under this license. Leave empty to hide licensing terms for this article."
|
110
|
+
license_content:
|
111
|
+
type: "new_html"
|
112
|
+
label:
|
113
|
+
es: "Licencia"
|
114
|
+
en: "License"
|
115
|
+
help:
|
116
|
+
es: "Dejalo vacío para usar la licencia general desde el Acerca."
|
117
|
+
en: "Leave empty to use the general licensing terms from About."
|
110
118
|
locales:
|
111
119
|
type: "locales"
|
112
120
|
label:
|
@@ -115,6 +123,20 @@ locales:
|
|
115
123
|
help:
|
116
124
|
es: "Vínculo al mismo artículo en otros idiomas"
|
117
125
|
en: "Link to same post in other languages"
|
126
|
+
permalink:
|
127
|
+
type: 'permalink'
|
128
|
+
label:
|
129
|
+
es: 'Enlace'
|
130
|
+
en: 'Permalink'
|
131
|
+
help:
|
132
|
+
es: |
|
133
|
+
Si no quieres utilizar el formato de enlaces general del sitio
|
134
|
+
para este artículo, especifica uno aquí. Usa "/" para cambiar la
|
135
|
+
portada del sitio, o dejalo vacío para auto-generar la dirección.
|
136
|
+
en: |
|
137
|
+
If you don't want to follow the site's link format for this post,
|
138
|
+
change it here. Use "/" to set this page as the home page, or
|
139
|
+
leave empty to auto-generate it.
|
118
140
|
draft:
|
119
141
|
type: "boolean"
|
120
142
|
label:
|
data/_data/layouts/theme.yml
CHANGED
@@ -222,6 +222,17 @@ mark_bg:
|
|
222
222
|
default:
|
223
223
|
es: "#fcf8e3"
|
224
224
|
en: "#fcf8e3"
|
225
|
+
code_background:
|
226
|
+
type: "color"
|
227
|
+
label:
|
228
|
+
en: "Code block background color"
|
229
|
+
es: "Color de fondo del bloque de código"
|
230
|
+
help:
|
231
|
+
en: "Used on author's projects and code blocks"
|
232
|
+
es: "Usado en proyectos de autores y bloques de código"
|
233
|
+
default:
|
234
|
+
es: "#cccaf7"
|
235
|
+
en: "#cccaf7"
|
225
236
|
body_image:
|
226
237
|
type: "image"
|
227
238
|
path:
|
@@ -245,8 +256,8 @@ divider_image:
|
|
245
256
|
es: "Imagen del separador"
|
246
257
|
en: "Divider image"
|
247
258
|
help:
|
248
|
-
es: "Separa el contenido del inicio de la lista de artículos"
|
249
|
-
en: "Separates home content from article list"
|
259
|
+
es: "Separa el contenido del inicio de la lista de artículos. Ancho 150px."
|
260
|
+
en: "Separates home content from article list. 150px wide."
|
250
261
|
support_image:
|
251
262
|
type: "image"
|
252
263
|
path:
|
data/_data/theme.yml
CHANGED
data/_includes/author_block.html
CHANGED
@@ -17,7 +17,7 @@ Author block
|
|
17
17
|
</div>
|
18
18
|
|
19
19
|
{% unless links == empty %}
|
20
|
-
<div class="
|
20
|
+
<div class="code text-left p-3 mt-2 mb-2 rounded">
|
21
21
|
{% for link in links %}
|
22
22
|
<li class="list-unstyled">
|
23
23
|
<a class="black hover-white" href="{{- link -}}" target="_blank" rel="noopener">{{ link }}</a>
|
data/_includes/divider.html
CHANGED
@@ -9,7 +9,7 @@ Image component
|
|
9
9
|
<div class="d-flex flex-row justify-content-center align-items-center">
|
10
10
|
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
11
11
|
|
12
|
-
{% include picture.html src=include.src alt=include.alt
|
12
|
+
{% include picture.html src=include.src alt=include.alt width=150 %}
|
13
13
|
|
14
14
|
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
15
15
|
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
<!
|
1
|
+
<!DOCTYPE html>
|
2
2
|
<html lang="{{ site.lang }}" dir="{{ site.dir }}">
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
|
-
<base href="{% base %}"
|
5
|
+
<base href="{% base %}" />
|
6
6
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
7
7
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
8
|
-
<meta name="theme-color" content="white"
|
9
|
-
<meta name="color-scheme" content="light"
|
10
|
-
<meta name="referrer" content="strict-origin-when-cross-origin"
|
8
|
+
<meta name="theme-color" content="white"/>
|
9
|
+
<meta name="color-scheme" content="light"/>
|
10
|
+
<meta name="referrer" content="strict-origin-when-cross-origin"/>
|
11
11
|
|
12
12
|
<link href="assets/css/styles.css?{{ site.time | date: '%s' }}" rel="stylesheet" data-turbo-track="reload">
|
13
13
|
|
14
14
|
{%- include script.html src="assets/js/env.js" -%}
|
15
|
-
{%- if jekyll.environment ==
|
15
|
+
{%- if jekyll.environment == "production" -%}
|
16
16
|
{%- for pack in site.data.manifest.outputs -%}
|
17
17
|
{%- unless pack[1].entryPoint -%}{%- continue -%}{%- endunless -%}
|
18
18
|
{%- assign src = pack[0] -%}
|
@@ -22,53 +22,42 @@
|
|
22
22
|
{%- include script.html src="pack.js" -%}
|
23
23
|
{%- endif -%}
|
24
24
|
|
25
|
-
{%- assign about = site.posts | find:
|
26
|
-
{%- assign theme = site.posts | find:
|
25
|
+
{%- assign about = site.posts | find: "layout", "about" -%}
|
26
|
+
{%- assign theme = site.posts | find: "layout", "theme" -%}
|
27
27
|
|
28
28
|
{% for apple_touch_size in site.data.theme.apple_touch_sizes %}
|
29
|
-
<link
|
30
|
-
rel="apple-touch-icon"
|
31
|
-
sizes="{{ apple_touch_size }}x{{ apple_touch_size }}"
|
32
|
-
href="{{ about.favicon.path | thumbnail: apple_touch_size, apple_touch_size | uri_escape }}"
|
33
|
-
>
|
29
|
+
<link rel="apple-touch-icon" sizes="{{ apple_touch_size }}x{{ apple_touch_size }}" href="{{ about.favicon.path | thumbnail: apple_touch_size, apple_touch_size | uri_escape }}">
|
34
30
|
{% endfor %}
|
35
31
|
|
36
32
|
{% for chrome_icon_size in site.data.theme.chrome_icon_sizes %}
|
37
|
-
<link
|
38
|
-
rel="icon"
|
39
|
-
type="image/png"
|
40
|
-
sizes="{{ chrome_icon_size }}x{{chrome_icon_size }}"
|
41
|
-
href="{{ about.favicon.path | thumbnail: chrome_icon_size , chrome_icon_size | uri_escape }}"
|
42
|
-
>
|
33
|
+
<link rel="icon" type="image/png" sizes="{{ chrome_icon_size }}x{{chrome_icon_size }}" href="{{ about.favicon.path | thumbnail: chrome_icon_size , chrome_icon_size | uri_escape }}">
|
43
34
|
{% endfor %}
|
44
35
|
|
45
36
|
{% for msapplication_size in site.data.theme.msapplication_sizes %}
|
46
|
-
<meta
|
47
|
-
name="msapplication-TileImage"
|
48
|
-
content="{{ about.favicon.path | thumbnail: msapplication_size , msapplication_size | uri_escape }}"
|
49
|
-
>
|
37
|
+
<meta name="msapplication-TileImage" content="{{ about.favicon.path | thumbnail: msapplication_size , msapplication_size | uri_escape }}">
|
50
38
|
{% endfor %}
|
51
39
|
|
52
40
|
<link rel="manifest" href="site.webmanifest">
|
53
41
|
<meta name="msapplication-TileColor" content="{{ theme.bg_color }}">
|
54
42
|
<meta name="theme-color" content="{{ theme.primary }}">
|
55
43
|
{% seo %}
|
44
|
+
|
56
45
|
|
57
46
|
{%- if page.activity -%}
|
58
|
-
<link href="{{ page.activity.id | absolute_url }}" rel="alternate" type="application/activity+json"
|
47
|
+
<link href="{{ page.activity.id | absolute_url }}" rel="alternate" type="application/activity+json" />
|
59
48
|
{%- endif -%}
|
60
49
|
|
61
50
|
{%- if site.activity_pub_profile -%}
|
62
|
-
<meta property="profile:username" content="{{ site.activity_pub_profile }}"
|
51
|
+
<meta property="profile:username" content="{{ site.activity_pub_profile }}" />
|
63
52
|
{%- endif -%}
|
64
53
|
|
65
54
|
{%- if site.actor -%}
|
66
|
-
<link rel="me" href="{{ site.actor.id | absolute_url }}"
|
55
|
+
<link rel="me" href="{{ site.actor.id | absolute_url }}" />
|
67
56
|
{%- endif -%}
|
68
57
|
</head>
|
69
58
|
|
70
59
|
<body>
|
71
|
-
{% unless jekyll.environment ==
|
60
|
+
{% unless jekyll.environment == "production" %}
|
72
61
|
{% include device_detector.html %}
|
73
62
|
{% endunless %}
|
74
63
|
|
data/_layouts/post.html
CHANGED
@@ -57,7 +57,9 @@ layout: "default_with_menu"
|
|
57
57
|
{% endunless %}
|
58
58
|
|
59
59
|
{% if page.license %}
|
60
|
-
{%
|
60
|
+
{% assign license_content = page.license_content | default: about.license %}
|
61
|
+
|
62
|
+
{% include license_block.html title=page.license content=license_content %}
|
61
63
|
{% endif %}
|
62
64
|
|
63
65
|
{% if page.activity %}
|
data/_sass/utilities.scss
CHANGED
@@ -264,6 +264,7 @@ strong {
|
|
264
264
|
font-weight: $font-weight-bold;
|
265
265
|
}
|
266
266
|
|
267
|
+
.code,
|
267
268
|
code {
|
268
269
|
background-color: $code-background;
|
269
270
|
border-radius: $code-radius;
|
@@ -280,4 +281,4 @@ code {
|
|
280
281
|
.break-wrap {
|
281
282
|
word-break: break-word !important;
|
282
283
|
word-wrap: break-word !important;
|
283
|
-
}
|
284
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compost-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|