compost-jekyll-theme 0.3.4 → 0.3.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 +4 -4
- data/_data/activity_pub.yml +8 -0
- data/_data/en.yml +2 -0
- data/_data/es.yml +2 -0
- data/_data/layouts/theme.yml +20 -1
- data/_includes/activity_pub/actor.html +2 -2
- data/_includes/activity_pub/actor_mention.html +1 -1
- data/_includes/activity_pub/image_modal.html +1 -1
- data/_includes/activity_pub/login_modal.html +39 -40
- data/_includes/author_block.html +3 -1
- data/_includes/external_link.html +1 -0
- data/_layouts/author.html +47 -0
- data/_layouts/back_cover.html +1 -1
- data/_layouts/home.html +4 -2
- data/_layouts/post.html +1 -1
- data/_sass/utilities.scss +5 -0
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a41515272ee5ed385b4f6a340c16b9e74ea2057d17dce7a1af9da793a2f7c60
|
|
4
|
+
data.tar.gz: b78d7d977e8ec7ee58dbfec053a6ac7d5440f05163ae515a851a6e37791a62b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad39b06553014230bac28353a2320bb9ad8573cd423dc884c425ac75ebeba6167782ca43022e5d32bd9957bfba67db737fedbf87420684ea68f4adc23b26aa98
|
|
7
|
+
data.tar.gz: 9dd0a6625beb871418b123255e836a0a97e5861a851bdfe4827a9fb12e9f0cf9f1313ee570656dcfde1966ef700732ef49a65a8ac5fe184de112ecc77aaf6a33
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
notifications:
|
|
3
|
+
qubit-guarantee.jsonld:
|
|
4
|
+
action: create
|
|
5
|
+
id: https://compost.testing.sutty.nl/qubit-guarantee.jsonld
|
|
6
|
+
actor_url: https://compost.testing.sutty.nl/about.jsonld
|
|
7
|
+
actor: "@compost@compost.testing.sutty.nl"
|
|
8
|
+
public_key_url: https://compost.testing.sutty.nl/about.jsonld#main-key
|
data/_data/en.yml
CHANGED
data/_data/es.yml
CHANGED
data/_data/layouts/theme.yml
CHANGED
|
@@ -227,7 +227,7 @@ body_image:
|
|
|
227
227
|
path:
|
|
228
228
|
label:
|
|
229
229
|
es: "Imagen de fondo del sitio"
|
|
230
|
-
en: "Site
|
|
230
|
+
en: "Site's background image"
|
|
231
231
|
help:
|
|
232
232
|
es: ""
|
|
233
233
|
en: ""
|
|
@@ -238,6 +238,25 @@ body_image:
|
|
|
238
238
|
help:
|
|
239
239
|
es: ""
|
|
240
240
|
en: ""
|
|
241
|
+
divider_image:
|
|
242
|
+
type: "image"
|
|
243
|
+
path:
|
|
244
|
+
label:
|
|
245
|
+
es: "Imagen del separador"
|
|
246
|
+
en: "Divider image"
|
|
247
|
+
help:
|
|
248
|
+
es: "Separa el contenido del inicio de la lista de artículos"
|
|
249
|
+
en: "Separates home content from article list"
|
|
250
|
+
support_image:
|
|
251
|
+
type: "image"
|
|
252
|
+
path:
|
|
253
|
+
label:
|
|
254
|
+
es: "Imagen del botón de donaciones"
|
|
255
|
+
en: "Donations button image"
|
|
256
|
+
description:
|
|
257
|
+
label:
|
|
258
|
+
es: "Descripción de la imagen"
|
|
259
|
+
en: "Image description"
|
|
241
260
|
locales:
|
|
242
261
|
type: "locales"
|
|
243
262
|
label:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{% endcomment %}
|
|
6
6
|
|
|
7
7
|
{% if include.actor.available %}
|
|
8
|
-
<span>{{ include.actor.name | strip_html }}</span>
|
|
8
|
+
<span class="break-wrap">{{ include.actor.name | strip_html }}</span>
|
|
9
9
|
{% else %}
|
|
10
|
-
<span>{{ include.actor }}</span>
|
|
10
|
+
<span class="break-wrap">{{ include.actor }}</span>
|
|
11
11
|
{% endif %}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
@param :image [Image] la imagen que queremos en el modal, contiene url y alt text
|
|
5
5
|
{%- endcomment -%}
|
|
6
6
|
|
|
7
|
+
{% assign extra = 'data-action="click->modal#show"' %}
|
|
7
8
|
{% assign alt = include.image.name | strip_html | escape %}
|
|
8
9
|
{% assign src = include.image.url | strip_html | uri_escape %}
|
|
9
|
-
{% assign extra = 'data-action="click->modal#show"' %}
|
|
10
10
|
|
|
11
11
|
{% capture body %}
|
|
12
12
|
<img class="background-white mw-100" title="{{ alt }}" alt="{{ alt }}" src="{{ src }}">
|
|
@@ -14,52 +14,51 @@
|
|
|
14
14
|
{% endcapture %}
|
|
15
15
|
|
|
16
16
|
{% capture header %}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</div>
|
|
17
|
+
|
|
18
|
+
<div class="d-flex align-items-center h1 justify-content-center w-100">
|
|
19
|
+
<span class="d-flex responsive-header font-weight-bold text-center">
|
|
20
|
+
<i class="fa fa-{{fa}} text-primary mr-2"></i>
|
|
21
|
+
<span class="break-wrap">{{ site.i18n.login_modal[action.title].text | replace: "$usuarie", name }}</span>
|
|
22
|
+
<div>
|
|
23
|
+
<span class="px-3 py-2 m-0 h1" type="button" data-action="click->modal#hide">×</span>
|
|
24
|
+
<span class="sr-only">{{ site.i18n.close }}</span>
|
|
25
|
+
</div>
|
|
26
|
+
</span>
|
|
27
|
+
</div>
|
|
29
28
|
{% endcapture %}
|
|
30
29
|
|
|
31
30
|
{% capture body %}
|
|
32
|
-
<p class="mb-2">{{site.i18n.login_modal.top_text | markdownify | replace: "$action", site.i18n.login_modal[action.title].title }}</p>
|
|
33
|
-
<div class="mt-3 mb-2 h5">{{site.i18n.login_modal.question | markdownify}}</div>
|
|
34
|
-
<div class="mb-3">
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
<p class="mb-2">{{site.i18n.login_modal.top_text | markdownify | replace: "$action", site.i18n.login_modal[action.title].title }}</p>
|
|
32
|
+
<div class="mt-3 mb-2 h5">{{site.i18n.login_modal.question | markdownify}}</div>
|
|
33
|
+
<div class="mb-3">
|
|
34
|
+
<form
|
|
35
|
+
class="needs-validation"
|
|
36
|
+
data-controller="authorize-interaction"
|
|
37
|
+
data-action="authorize-interaction#submit:prevent"
|
|
38
|
+
data-authorize-interaction-uri-value="{{ include.uri | strip_html | absolute_url | uri_escape }}"
|
|
39
|
+
>
|
|
40
|
+
<div class="form-row align-items-center border-lg border-lg-primary py-1">
|
|
41
|
+
<div class="col-12 col-lg mb-1 mb-lg-0">
|
|
42
|
+
<label class="sr-only">{{site.i18n.login_modal.placeholder}}</label>
|
|
43
|
+
<input
|
|
44
|
+
class="form-control border border-primary border-lg-0"
|
|
45
|
+
placeholder="{{site.i18n.login_modal.placeholder}}"
|
|
46
|
+
autocomplete="impp"
|
|
47
|
+
required
|
|
48
|
+
data-authorize-interaction-target="instance"
|
|
49
|
+
data-action="authorize-interaction#revalid"
|
|
50
|
+
type="search">
|
|
51
|
+
<div class="invalid-feedback">
|
|
52
|
+
{{- site.i18n.login_modal.authorize_interaction_unsupported -}}
|
|
53
|
+
</div>
|
|
54
54
|
</div>
|
|
55
|
-
</div>
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
<div class="col-12 col-lg-auto">
|
|
57
|
+
<button class="btn btn-primary btn-block py-btn-padding-y lh-btn-line-height f-16 font-weight-bold" type="submit">{{ site.i18n.take_me_home }}</button>
|
|
58
|
+
</div>
|
|
59
59
|
</div>
|
|
60
|
-
</
|
|
61
|
-
</
|
|
62
|
-
</div>
|
|
60
|
+
</form>
|
|
61
|
+
</div>
|
|
63
62
|
<small class="d-block mb-2">{{site.i18n.login_modal.small_text}}</small>
|
|
64
63
|
<span>{{site.i18n.login_modal.bottom_text | markdownify}}</span>
|
|
65
64
|
{% endcapture %}
|
data/_includes/author_block.html
CHANGED
|
@@ -11,7 +11,9 @@ Author block
|
|
|
11
11
|
{% unless links == empty %}
|
|
12
12
|
<div class="">
|
|
13
13
|
<div class="py-3">
|
|
14
|
-
|
|
14
|
+
<a href="{{include.title.url}}" class="hover-black">
|
|
15
|
+
{% include headings/h3.html text=include.title.alias class="black source-serif font-weight-bold" %}
|
|
16
|
+
</a>
|
|
15
17
|
</div>
|
|
16
18
|
|
|
17
19
|
{% unless links == empty %}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: "default_with_menu"
|
|
3
|
+
---
|
|
4
|
+
{%- assign theme = site.posts | find: 'layout', 'theme' -%}
|
|
5
|
+
|
|
6
|
+
<div class="pt-md-80 px-3">
|
|
7
|
+
<div class="container-lg mx-auto">
|
|
8
|
+
<div class="d-flex flex-column align-items-center">
|
|
9
|
+
<h1 class="font-weight-bold mb-4">{{ page.title }}</h1>
|
|
10
|
+
<div class="{% unless theme.divider_image.path %} mb-5 {% endunless %} lead-md">
|
|
11
|
+
<div class="content">
|
|
12
|
+
{{ page.content }}
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
{% unless page.projects == empty %}
|
|
17
|
+
<h2 class="font-weight-bold mb-3">{{ site.i18n.projects }}</h2>
|
|
18
|
+
{% for project in page.projects %}
|
|
19
|
+
{% assign href = project %}
|
|
20
|
+
{% include external_link.html href=href class='' text=href %}
|
|
21
|
+
{% endfor %}
|
|
22
|
+
{% endunless %}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
{% if theme.divider_image.path %}
|
|
26
|
+
{% include divider.html src=theme.divider_image.path alt=site.i18n.divider %}
|
|
27
|
+
{% else %}
|
|
28
|
+
<hr class="my-5">
|
|
29
|
+
{% endif %}
|
|
30
|
+
|
|
31
|
+
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 container-lg mx-auto">
|
|
32
|
+
{% for post in page.posts %}
|
|
33
|
+
<div class="col pb-5 px-2">
|
|
34
|
+
{%
|
|
35
|
+
include cover_post/home.html
|
|
36
|
+
authors=post.authors
|
|
37
|
+
src=post.image.path
|
|
38
|
+
alt=post.title
|
|
39
|
+
title=post.title
|
|
40
|
+
description=post.description
|
|
41
|
+
href=post.url
|
|
42
|
+
%}
|
|
43
|
+
</div>
|
|
44
|
+
{% endfor %}
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
data/_layouts/back_cover.html
CHANGED
|
@@ -23,7 +23,7 @@ layout: "default_with_menu"
|
|
|
23
23
|
|
|
24
24
|
{% unless authors == empty %}
|
|
25
25
|
{% for author in authors %}
|
|
26
|
-
{% include author_block.html title=author
|
|
26
|
+
{% include author_block.html title=author links=author.projects %}
|
|
27
27
|
{% endfor %}
|
|
28
28
|
{% endunless %}
|
|
29
29
|
|
data/_layouts/home.html
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
layout: "default_with_menu"
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
{%- assign theme = site.posts | find: "layout", "theme" -%}
|
|
5
6
|
{%- assign front_cover = site.posts | find: "layout", "front_cover" -%}
|
|
6
7
|
{%- assign posts = site.posts | where: "layout", "post" -%}
|
|
7
8
|
{%- assign back_cover = site.posts | find: "layout", "back_cover" -%}
|
|
@@ -14,8 +15,9 @@ layout: "default_with_menu"
|
|
|
14
15
|
subtitle=front_cover.subtitle
|
|
15
16
|
content=front_cover.content
|
|
16
17
|
%}
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
{% if theme.divider_image.path %}
|
|
19
|
+
{% include divider.html src=theme.divider_image.path alt=site.i18n.divider %}
|
|
20
|
+
{% endif %}
|
|
19
21
|
|
|
20
22
|
<article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 container-lg mx-auto">
|
|
21
23
|
{% for post in posts %}
|
data/_layouts/post.html
CHANGED
|
@@ -27,7 +27,7 @@ layout: "default_with_menu"
|
|
|
27
27
|
{% unless page.authors == empty %}
|
|
28
28
|
<p class="lead text-uppercase letter-spacing-5">
|
|
29
29
|
{% for author in page.authors %}
|
|
30
|
-
{{ author.title -}}
|
|
30
|
+
<a href="{{author.url}}">{{ author.title -}}</a>
|
|
31
31
|
{%- unless forloop.last %} {{ site.i18n.and }} {% endunless %}
|
|
32
32
|
{% endfor %}
|
|
33
33
|
</p>
|
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.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sutty
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -304,6 +304,7 @@ files:
|
|
|
304
304
|
- LICENSE.txt
|
|
305
305
|
- README.md
|
|
306
306
|
- _data/actions.yml
|
|
307
|
+
- _data/activity_pub.yml
|
|
307
308
|
- _data/components.yml
|
|
308
309
|
- _data/en.yml
|
|
309
310
|
- _data/es.yml
|
|
@@ -430,6 +431,7 @@ files:
|
|
|
430
431
|
- _includes/toggler/toggler_label.html
|
|
431
432
|
- _includes/toggler/toggler_related.html
|
|
432
433
|
- _layouts/about.html
|
|
434
|
+
- _layouts/author.html
|
|
433
435
|
- _layouts/back_cover.html
|
|
434
436
|
- _layouts/code_of_conduct.html
|
|
435
437
|
- _layouts/default.html
|
|
@@ -516,7 +518,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
516
518
|
- !ruby/object:Gem::Version
|
|
517
519
|
version: '0'
|
|
518
520
|
requirements: []
|
|
519
|
-
rubygems_version: 3.3.
|
|
521
|
+
rubygems_version: 3.3.27
|
|
520
522
|
signing_key:
|
|
521
523
|
specification_version: 4
|
|
522
524
|
summary: Jekyll port for COMPOST Magazine Issue 02
|