compost-jekyll-theme 0.1.18 → 0.2.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/activity_pub.yml +29 -0
- data/_data/en.yml +1 -0
- data/_data/es.yml +1 -0
- data/_data/layouts/post.yml +37 -14
- data/_includes/divider.html +15 -0
- data/_includes/footer.html +11 -0
- data/_includes/header_toggler.html +2 -2
- data/_layouts/default.html +14 -0
- data/_layouts/default_with_menu.html +1 -1
- data/_layouts/home.html +4 -1
- data/_sass/utilities.scss +7 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d35dc835b20da49715450a21c01432c39b21d396ae352e7e58108e60e30f628
|
|
4
|
+
data.tar.gz: 986e76ef8cf89dcb11dd733805623e9326ab342c25f9fcd7e5feb5f224e25740
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c6e9b78d25a0f358b6267d1b8849d22037d324698c6141b73654468fd72e83f629a80cb0027a5d1b3b93c476cc3907edbd9f5e5cb4d614a5dd8057ec75b3b18
|
|
7
|
+
data.tar.gz: 1a7703b0667e3ef9eaddc11f785b46744a8e096cc57f8999c78b5da76093caa11648ee0807802350ba9d0786faa4cc5a8789ff480a199b5a972041474476ae51
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
actor_url: https://three.compost.digital/es/about.jsonld
|
|
3
|
+
actor: "@three@three.compost.digital"
|
|
4
|
+
public_key_url: https://three.compost.digital/es/about.jsonld#main-key
|
|
5
|
+
notifications:
|
|
6
|
+
foreword.jsonld:
|
|
7
|
+
action: create
|
|
8
|
+
id: https://three.compost.digital/foreword/
|
|
9
|
+
water-uninterrupted.jsonld:
|
|
10
|
+
action: create
|
|
11
|
+
id: https://three.compost.digital/water-uninterrupted/
|
|
12
|
+
the-low-people-and-their-waters.jsonld:
|
|
13
|
+
action: create
|
|
14
|
+
id: https://three.compost.digital/the-low-people-and-their-waters/
|
|
15
|
+
peripheries-of-mischief.jsonld:
|
|
16
|
+
action: create
|
|
17
|
+
id: https://three.compost.digital/peripheries-of-mischief/
|
|
18
|
+
throwing-a-net-around-the-sea.jsonld:
|
|
19
|
+
action: create
|
|
20
|
+
id: https://three.compost.digital/throwing-a-net-around-the-sea/
|
|
21
|
+
every-drop.jsonld:
|
|
22
|
+
action: create
|
|
23
|
+
id: https://three.compost.digital/every-drop/
|
|
24
|
+
trek-into-the-unknown.jsonld:
|
|
25
|
+
action: create
|
|
26
|
+
id: https://three.compost.digital/trek-into-the-unknown/
|
|
27
|
+
distributed-press-a-new-medium-for-your-messages.jsonld:
|
|
28
|
+
action: create
|
|
29
|
+
id: https://three.compost.digital/distributed-press-a-new-medium-for-your-messages/
|
data/_data/en.yml
CHANGED
data/_data/es.yml
CHANGED
data/_data/layouts/post.yml
CHANGED
|
@@ -7,24 +7,28 @@ title:
|
|
|
7
7
|
help:
|
|
8
8
|
es: "¡Un título que invite a leer el artículo!"
|
|
9
9
|
en: "A title that makes people want to read the post!"
|
|
10
|
-
|
|
11
|
-
type: "
|
|
12
|
-
required: true
|
|
10
|
+
content_warning:
|
|
11
|
+
type: "string"
|
|
13
12
|
label:
|
|
14
|
-
es: "Alerta de contenido
|
|
15
|
-
en: "Content warning
|
|
13
|
+
es: "Alerta de contenido"
|
|
14
|
+
en: "Content warning"
|
|
16
15
|
help:
|
|
17
16
|
es: |
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
contenido, para que las personas puedan determinar cuándo quieren
|
|
22
|
-
abrirlo.
|
|
17
|
+
Si el artículo trata de violencias y otros temas sensibles, te
|
|
18
|
+
invitamos a usar este campo como alerta de contenido, para que las
|
|
19
|
+
personas puedan determinar cuándo quieren abrirlo.
|
|
23
20
|
en: |
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
If the post is about violence and other sensitive topics, we
|
|
22
|
+
invite you to use it as a content warning, so others can decide
|
|
23
|
+
when they want to read it.
|
|
24
|
+
description:
|
|
25
|
+
type: "text"
|
|
26
|
+
label:
|
|
27
|
+
es: "Descripción del artículo"
|
|
28
|
+
en: "Post description"
|
|
29
|
+
help:
|
|
30
|
+
es: "Descripción del contenido del artículo, que también usarán redes sociales y buscadores."
|
|
31
|
+
en: "Description of post content, also used by social media and search engines."
|
|
28
32
|
subtitle:
|
|
29
33
|
type: "string"
|
|
30
34
|
label:
|
|
@@ -68,6 +72,25 @@ content:
|
|
|
68
72
|
help:
|
|
69
73
|
es: "Escribe aquí el artículo"
|
|
70
74
|
en: "Write your post here"
|
|
75
|
+
activity:
|
|
76
|
+
type: "boolean"
|
|
77
|
+
label:
|
|
78
|
+
es: "Publicar en el Fediverso"
|
|
79
|
+
en: "Publish to Fediverse"
|
|
80
|
+
help:
|
|
81
|
+
es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
|
|
82
|
+
en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
|
|
83
|
+
default:
|
|
84
|
+
es: true
|
|
85
|
+
en: true
|
|
86
|
+
in_reply_to:
|
|
87
|
+
type: "url"
|
|
88
|
+
label:
|
|
89
|
+
es: "En respuesta a"
|
|
90
|
+
en: "In reply to"
|
|
91
|
+
help:
|
|
92
|
+
es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
|
|
93
|
+
en: "Add the link to another article to reply to"
|
|
71
94
|
show_biography:
|
|
72
95
|
type: "boolean"
|
|
73
96
|
label:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{%- comment -%}
|
|
2
|
+
|
|
3
|
+
Image component
|
|
4
|
+
|
|
5
|
+
@param :src [String] La imagen
|
|
6
|
+
@param :alt [String] La descripción de la imagen
|
|
7
|
+
{%- endcomment -%}
|
|
8
|
+
|
|
9
|
+
<div class="d-flex flex-row justify-content-center align-items-center">
|
|
10
|
+
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
|
11
|
+
|
|
12
|
+
{% include picture.html src=include.src alt=include.alt img_class="rotate" width=150 %}
|
|
13
|
+
|
|
14
|
+
<div class="border-bottom-dashed border-black flex-grow-1 my-2"></div>
|
|
15
|
+
</div>
|
data/_includes/footer.html
CHANGED
|
@@ -35,6 +35,17 @@ Footer
|
|
|
35
35
|
<a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a>
|
|
36
36
|
</li>
|
|
37
37
|
{% endif %}
|
|
38
|
+
|
|
39
|
+
{%- if site.activity_pub_profile -%}
|
|
40
|
+
<li>
|
|
41
|
+
<span>
|
|
42
|
+
{{- site.i18n.fediverse -}}
|
|
43
|
+
</span>
|
|
44
|
+
<span>
|
|
45
|
+
@{{ site.activity_pub_profile -}}
|
|
46
|
+
</span>
|
|
47
|
+
</li>
|
|
48
|
+
{%- endif -%}
|
|
38
49
|
</ul>
|
|
39
50
|
</div>
|
|
40
51
|
|
|
@@ -19,7 +19,7 @@ Cabecera y menú con toggler
|
|
|
19
19
|
{%- assign back_cover = site.posts | find: "layout", "back_cover" -%}
|
|
20
20
|
{%- assign footer = site.posts | find: "layout", "footer" -%}
|
|
21
21
|
|
|
22
|
-
<div data-controller="body-scroll" class="position-relative
|
|
22
|
+
<div data-controller="body-scroll" class="position-relative {{ include.background_class }}">
|
|
23
23
|
<div class="d-flex justify-content-between align-items-center container mx-auto">
|
|
24
24
|
{%- capture menu_svg -%}
|
|
25
25
|
{% include menu_close.html class="w-36px w-md-54px" container_class="stroke-white" %}
|
|
@@ -28,7 +28,7 @@ Cabecera y menú con toggler
|
|
|
28
28
|
{% include toggler/toggler_label.html id=menu_id class="m-0" content=menu_svg %}
|
|
29
29
|
|
|
30
30
|
{% capture toggled_content %}
|
|
31
|
-
<div class="background-image-menu-open background-size-100 w-100
|
|
31
|
+
<div class="background-image-menu-open background-size-100 w-100 pt-3 px-2 pb-12 border-bottom-dashed border-black">
|
|
32
32
|
<div class="d-flex justify-content-between align-items-center container mx-auto">
|
|
33
33
|
{%- capture menu_svg -%}
|
|
34
34
|
{% include menu_open.html class="w-36px w-md-54px" container_class="fill-black" %}
|
data/_layouts/default.html
CHANGED
|
@@ -41,7 +41,21 @@
|
|
|
41
41
|
<meta name="msapplication-TileColor" content="{{ theme.bg_color }}">
|
|
42
42
|
<meta name="theme-color" content="{{ theme.primary }}">
|
|
43
43
|
{% seo %}
|
|
44
|
+
{%- feed_meta -%}
|
|
45
|
+
|
|
46
|
+
{%- if page.activity -%}
|
|
47
|
+
<link href="{{ page.activity.url | absolute_url }}" rel="alternate" type="application/activity+json" />
|
|
48
|
+
{%- endif -%}
|
|
49
|
+
|
|
50
|
+
{%- if site.activity_pub_profile -%}
|
|
51
|
+
<meta property="profile:username" content="{{ site.activity_pub_profile }}" />
|
|
52
|
+
{%- endif -%}
|
|
53
|
+
|
|
54
|
+
{%- if site.actor -%}
|
|
55
|
+
<link rel="me" href="{{ site.actor.url | absolute_url }}" />
|
|
56
|
+
{%- endif -%}
|
|
44
57
|
</head>
|
|
58
|
+
|
|
45
59
|
<body>
|
|
46
60
|
{% unless jekyll.environment == "production" %}
|
|
47
61
|
{% include device_detector.html %}
|
|
@@ -16,7 +16,7 @@ layout: "default"
|
|
|
16
16
|
btn_close_src="public/mushroom_close.gif"
|
|
17
17
|
btn_href=support.url
|
|
18
18
|
btn_alt=site.i18n.support_alt
|
|
19
|
-
background_class="pb-100 background-image-menu-close background-position-center-bottom w-100 background-size-auto-100" %}
|
|
19
|
+
background_class="pt-3 px-2 pb-100 background-image-menu-close background-position-center-bottom w-100 background-size-auto-100" %}
|
|
20
20
|
|
|
21
21
|
{{ content }}
|
|
22
22
|
|
data/_layouts/home.html
CHANGED
|
@@ -14,7 +14,10 @@ layout: "default_with_menu"
|
|
|
14
14
|
subtitle=front_cover.subtitle
|
|
15
15
|
content=front_cover.content
|
|
16
16
|
%}
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
{% include divider.html src="public/nettles-small-clear.gif" alt="divider" %}
|
|
19
|
+
|
|
20
|
+
<article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 container-lg mx-auto">
|
|
18
21
|
{% for post in posts %}
|
|
19
22
|
<div class="col pb-5 px-2">
|
|
20
23
|
{% include cover_post/home.html
|
data/_sass/utilities.scss
CHANGED
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.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sutty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -289,6 +289,7 @@ files:
|
|
|
289
289
|
- CHANGELOG.md
|
|
290
290
|
- LICENSE.txt
|
|
291
291
|
- README.md
|
|
292
|
+
- _data/activity_pub.yml
|
|
292
293
|
- _data/components.yml
|
|
293
294
|
- _data/en.yml
|
|
294
295
|
- _data/es.yml
|
|
@@ -322,6 +323,7 @@ files:
|
|
|
322
323
|
- _includes/cover_post/home.html
|
|
323
324
|
- _includes/cover_post/menu.html
|
|
324
325
|
- _includes/device_detector.html
|
|
326
|
+
- _includes/divider.html
|
|
325
327
|
- _includes/embed_responsive.html
|
|
326
328
|
- _includes/footer.html
|
|
327
329
|
- _includes/goal.html
|