compost-jekyll-theme 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bbd47a06fba6bd010ec68a3588aa9d788b293fa2a83f08752951c01e3ea4cd2
4
- data.tar.gz: 8892d0d0a46421dbd84fce529c1ee6756156b0b8428551f56e6be98a3960ad7c
3
+ metadata.gz: 9ac17e3c5c96fa477b4b384d529b393757443cf5ba4fa1f75374a8ff0c110a2b
4
+ data.tar.gz: e46d51c389ca4e2558c876d6066cb51a97123ecdd65e7352f409dec47b0acd76
5
5
  SHA512:
6
- metadata.gz: 664b6fef5c7eee09087808a40a8a725cf71ca117501fa40fec216ee9505632d50739f6550d50cb07b22aa070cbbd834ff88cd6d00e362deb49e4abcd6b690cc4
7
- data.tar.gz: e7380c6f31ed474a42ded964a604d0db587e235e2a412417b28e40deb97c30e107975f7b4f66a412d3ebb68095ddfda4a1bf11ae0cc3d0e992b648fc26f86157
6
+ metadata.gz: fe1dd1817240c858f8a80036ce925c0bac06ed5b0c9748f235cd65851979408c896de0e904b0d668dd845f296c417903aa78a9d95dc890a96a60b32a741ddce1
7
+ data.tar.gz: dc357a46a3e6e1bc1dc12c1f6667f9059062a101a50917cdd583109d05d71f1a527e37badbb257c3a17b5d7eb451a845576fc6268318cbdb2fa0b49aac8b0c10
data/_data/en.yml CHANGED
@@ -10,11 +10,14 @@ layouts:
10
10
  back_cover: "Back Cover"
11
11
  button_copy: "Button with copy"
12
12
  button: "Button with link"
13
+ code_of_conduct: "Code of conduct"
13
14
  footer: "Footer"
14
15
  front_cover: "Front Cover"
15
16
  goal: "Goal"
17
+ license: "License"
16
18
  menu: "Menu item"
17
19
  post: "Post"
20
+ privacy_policy: "Privacy policy"
18
21
  supporter: "Supporter"
19
22
  support: "Support Us"
20
23
  theme: "Customize"
data/_data/es.yml CHANGED
@@ -10,11 +10,14 @@ layouts:
10
10
  back_cover: "Contraportada"
11
11
  button_copy: "Botón con copiado"
12
12
  button: "Botón con vínculo"
13
+ code_of_conduct: "Código de conducta"
13
14
  footer: "Pie del sitio"
14
15
  front_cover: "Portada"
15
16
  goal: "Objetivo"
17
+ license: "Licencia"
16
18
  menu: "Ítem del menú"
17
19
  post: "Artículo"
20
+ privacy_policy: "Política de privacidad"
18
21
  supporter: "Patrocinadorx"
19
22
  support: "Apóyanos"
20
23
  theme: "Personalizar"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título del Codigo de Conducta"
7
+ en: "Title of code of conduct"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ es: "Al activar \"Borrador\" este contenido se mantendrá disponible en el panel, pero no se publica en el sitio como los demás contenidos al tocar \"Publicar todos los cambios\""
52
+ en: "By activating \"Draft\", this content will remain available on the dashboard, but will not be published on the site when you tap \"Publish all changes\" (other content which does not have this option selected will)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título de la licencia"
7
+ en: "Licence title"
8
+ help:
9
+ es: "Título que describe la licencia a usar"
10
+ en: "Title that describes the license to use"
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ es: "Al activar \"Borrador\" este contenido se mantendrá disponible en el panel, pero no se publica en el sitio como los demás contenidos al tocar \"Publicar todos los cambios\""
52
+ en: "By activating \"Draft\", this content will remain available on the dashboard, but will not be published on the site when you tap \"Publish all changes\" (other content which does not have this option selected will)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -0,0 +1,60 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título"
7
+ en: "Title"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ description:
12
+ type: "text"
13
+ required: true
14
+ label:
15
+ es: "Alerta de contenido o descripción del artículo"
16
+ en: "Content warning or post description"
17
+ help:
18
+ es: |
19
+ Resumen del contenido del artículo, que también usarán redes
20
+ sociales y buscadores. Si el artículo trata de violencias y otros
21
+ temas sensibles, te invitamos a usar este campo como alerta de
22
+ contenido, para que las personas puedan determinar cuándo quieren
23
+ abrirlo.
24
+ en: |
25
+ Summary of post content, also used by social media and search
26
+ engines. If the post is about violence and other sensitive
27
+ topics, we invite you to use it as a content warning, so others
28
+ can decide when they want to read it.
29
+ content:
30
+ type: "new_content"
31
+ label:
32
+ es: "Contenido del artículo"
33
+ en: "Post content"
34
+ help:
35
+ es: "Escribe aquí el artículo"
36
+ en: "Write your post here"
37
+ locales:
38
+ type: "locales"
39
+ label:
40
+ es: "Traducciones"
41
+ en: "Translations"
42
+ help:
43
+ es: "Vínculo al mismo artículo en otros idiomas"
44
+ en: "Link to same post in other languages"
45
+ draft:
46
+ type: "boolean"
47
+ label:
48
+ es: "Borrador"
49
+ en: "Draft"
50
+ help:
51
+ es: "Al activar \"Borrador\" este contenido se mantendrá disponible en el panel, pero no se publica en el sitio como los demás contenidos al tocar \"Publicar todos los cambios\""
52
+ en: "By activating \"Draft\", this content will remain available on the dashboard, but will not be published on the site when you tap \"Publish all changes\" (other content which does not have this option selected will)."
53
+ order:
54
+ type: "order"
55
+ label:
56
+ es: "Orden"
57
+ en: "Order"
58
+ help:
59
+ es: "La posición del artículo en la lista de artículos"
60
+ en: "Position in list of posts"
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
6
+ <div class="mt-5">
7
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12" text=page.title %}
8
+
9
+ {% if page.description %}
10
+ {% include headings/h2.html class="text-uppercase letter-spacing-8 mb-20" text=page.description %}
11
+ {% endif %}
12
+
13
+ <div
14
+ class="source-serif lead-md pt-20 content"
15
+ data-controller="footnotes"
16
+ data-action="resize@window->footnotes#resize"
17
+ data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
18
+ data-footnotes-sidenote-width-value="{{ site.data.theme.footnotes_sidenote_width }}"
19
+ data-footnotes-padding-left-value="{{ site.data.theme.footnotes_padding_left }}"
20
+ data-footnotes-offset-left-value="{{ site.data.theme.footnotes_offset_left }}"
21
+ data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
22
+ data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
23
+ data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}">
24
+ {{ content }}
25
+ </div>
26
+ </div>
27
+ </article>
@@ -0,0 +1,58 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ {%- assign about = site.posts | find: "layout", "about" -%}
6
+ {%- assign back_covers = site.posts | where: "layout", "back_cover" -%}
7
+ {%- assign posts = site.posts | where: "layout", "post" | concat: back_covers -%}
8
+ {%- assign authors = site.posts | where: "layout", "author" -%}
9
+ {%- assign prev = page | prev: posts -%}
10
+ {%- assign next = page | next: posts -%}
11
+
12
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
13
+ {% include picture.html src=page.image.path alt=page.image.description width=780 img_class="w-100 shadow" %}
14
+
15
+ <div class="mt-5">
16
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12" text=page.title %}
17
+
18
+ {% if page.subtitle %}
19
+ {% include headings/h2.html class="text-uppercase letter-spacing-8 mb-20" text=page.subtitle %}
20
+ {% endif %}
21
+
22
+ {% unless page.authors == empty %}
23
+ <p class="lead text-uppercase letter-spacing-5">
24
+ {% for author in page.authors %}
25
+ {{ author.title }}{% unless forloop.last %} {{ site.i18n.and }} {% endunless %}
26
+ {% endfor %}
27
+ </p>
28
+ {% endunless %}
29
+
30
+ <div
31
+ class="source-serif lead-md pt-20 content"
32
+ data-controller="footnotes"
33
+ data-action="resize@window->footnotes#resize"
34
+ data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
35
+ data-footnotes-sidenote-width-value="{{ site.data.theme.footnotes_sidenote_width }}"
36
+ data-footnotes-padding-left-value="{{ site.data.theme.footnotes_padding_left }}"
37
+ data-footnotes-offset-left-value="{{ site.data.theme.footnotes_offset_left }}"
38
+ data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
39
+ data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
40
+ data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}">
41
+ {{ content }}
42
+ </div>
43
+ </div>
44
+
45
+ <footer class="d-flex flex-column align-items-center mt-60">
46
+ {% unless page.authors == empty or page.show_biography == false %}
47
+ {% for author in page.authors %}
48
+ {% include biography.html text=author.content %}
49
+ {% endfor %}
50
+ {% endunless %}
51
+
52
+ {% if page.license %}
53
+ {% include license_block.html title=page.license content=about.license %}
54
+ {% endif %}
55
+
56
+ {% include navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" src_next="public/arrow_next.png" href_previous=prev.url href_home="?#" href_next=next.url %}
57
+ </footer>
58
+ </article>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
6
+ <div class="mt-5">
7
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12" text=page.title %}
8
+
9
+ {% if page.description %}
10
+ {% include headings/h2.html class="text-uppercase letter-spacing-8 mb-20" text=page.description %}
11
+ {% endif %}
12
+
13
+ <div
14
+ class="source-serif lead-md pt-20 content"
15
+ data-controller="footnotes"
16
+ data-action="resize@window->footnotes#resize"
17
+ data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
18
+ data-footnotes-sidenote-width-value="{{ site.data.theme.footnotes_sidenote_width }}"
19
+ data-footnotes-padding-left-value="{{ site.data.theme.footnotes_padding_left }}"
20
+ data-footnotes-offset-left-value="{{ site.data.theme.footnotes_offset_left }}"
21
+ data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
22
+ data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
23
+ data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}">
24
+ {{ content }}
25
+ </div>
26
+ </div>
27
+ </article>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
6
+ <div class="mt-5">
7
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12" text=page.title %}
8
+
9
+ {% if page.description %}
10
+ {% include headings/h2.html class="text-uppercase letter-spacing-8 mb-20" text=page.description %}
11
+ {% endif %}
12
+
13
+ <div
14
+ class="source-serif lead-md pt-20 content"
15
+ data-controller="footnotes"
16
+ data-action="resize@window->footnotes#resize"
17
+ data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
18
+ data-footnotes-sidenote-width-value="{{ site.data.theme.footnotes_sidenote_width }}"
19
+ data-footnotes-padding-left-value="{{ site.data.theme.footnotes_padding_left }}"
20
+ data-footnotes-offset-left-value="{{ site.data.theme.footnotes_offset_left }}"
21
+ data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
22
+ data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
23
+ data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}">
24
+ {{ content }}
25
+ </div>
26
+ </div>
27
+ </article>
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-22 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -298,11 +298,14 @@ files:
298
298
  - _data/layouts/back_cover.yml
299
299
  - _data/layouts/button.yml
300
300
  - _data/layouts/button_copy.yml
301
+ - _data/layouts/code_of_conduct.yml
301
302
  - _data/layouts/footer.yml
302
303
  - _data/layouts/front_cover.yml
303
304
  - _data/layouts/goal.yml
305
+ - _data/layouts/license.yml
304
306
  - _data/layouts/menu.yml
305
307
  - _data/layouts/post.yml
308
+ - _data/layouts/privacy_policy.yml
306
309
  - _data/layouts/support.yml
307
310
  - _data/layouts/supporter.yml
308
311
  - _data/layouts/theme.yml
@@ -370,10 +373,14 @@ files:
370
373
  - _includes/toggler/toggler_related.html
371
374
  - _layouts/about.html
372
375
  - _layouts/back_cover.html
376
+ - _layouts/code_of_conduct.html
373
377
  - _layouts/default.html
374
378
  - _layouts/default_with_menu.html
375
379
  - _layouts/home.html
380
+ - _layouts/licence.html
381
+ - _layouts/license.html
376
382
  - _layouts/post.html
383
+ - _layouts/privacy_policy.html
377
384
  - _layouts/support.html
378
385
  - _layouts/theme.html
379
386
  - _sass/content.scss