compost-jekyll-theme 0.3.8 → 0.4.0

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: ed36805f3c5bacd8cb132bec9a35c3ad46eb8dce977cde4ef401f9915e871ecd
4
- data.tar.gz: 277c1eee7428fe127066b2fc6fffeedd577c7eecaec76cefa639699f9f4a9212
3
+ metadata.gz: 5d50cf6ce808b2c57f5c19c2f13555f8b61956aa764ebd750b9d145dcda28611
4
+ data.tar.gz: fbdecde6585020423f623be8869d98b664292c6bd08569dd10cbe5ebd2643ceb
5
5
  SHA512:
6
- metadata.gz: 6f024d057e7e56ef5ef06d20c64c75d5efe24df149e59c217e4158e66ff1eaba5f4c0011d99999a16e8881e0504067218455bbcd8c775be3af9e2c10c31d45f7
7
- data.tar.gz: 39b29455f692ba443d299677e05fef4d8c946bd0101749d04c7a4daa603b6a79a7fb0ed570ab9ba81cf5a8b6d810b03cda7c1dd640854c207ae4735327809ba2
6
+ metadata.gz: 7e7b19fefd3cbd30d32ac621559679c55a38c13abd4f575f7bc9f1acdd02a48712727711771bb8b8ddcc5ec50173a1f7d5e1dcf0e63426e775e2c839923fdce3
7
+ data.tar.gz: 382cb9592a1a6e69d7db3b326b4e52b06fabc10e3eca85557664b69f32cae6aeb52cbf3953770be831139693c1e4dfa9e814a31dd04c0a67b47d2440e98fd97f
@@ -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: "License description"
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:
@@ -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:
@@ -1,18 +1,18 @@
1
- <!doctype html>
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 == 'production' -%}
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: 'layout', 'about' -%}
26
- {%- assign theme = site.posts | find: 'layout', 'theme' -%}
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 == 'production' %}
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
- {% include license_block.html title=page.license content=about.license %}
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 %}
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.3.8
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-16 00:00:00.000000000 Z
11
+ date: 2025-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll