compost-jekyll-theme 0.1.18 → 0.2.2

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: 6e22e05df1aba15415fc57332a24e29f919ae85db5726beb76034f1efa4755ba
4
- data.tar.gz: 71377d76ee48c8d3452116598b4b7f002d60435b55c4944b2df9bb3f81334bb6
3
+ metadata.gz: c71f0b6d23ba8313cca0b5196dbe97cf5c1c5ddc9c86ed8c909afdba0d94e1d4
4
+ data.tar.gz: 4c1191a86cc3cc5b72eeb29c4815c65b2268c70e75882351b445d2c6ec263010
5
5
  SHA512:
6
- metadata.gz: 3b69e6290c4efd25dabfc198448552a75f9de4415e25cf308de58a392a361b3b8633f80f82ee7a15f738073a7fff3b7bc4f5698cbab08b88a549b268a7196ef6
7
- data.tar.gz: 639340f562e328394383097f2886322bc51cafe9678c11455bd8a5e560c087c0307b6ab31855996f6514da8920c50c23893ff334748069c9554f8c72225b9648
6
+ metadata.gz: bdf5d6f55560faf1761b24a496ec8b90cf37f94cef077620a65b21b0ce397a44ac7a370da3dad78c43ad95852dc55b90676961fa84deb201cc995a2128b2cea7
7
+ data.tar.gz: cd91de157ba1d07002c5365c0a3242931e24d827fbd4d5b7be575e50304a9cc41c4dde58db0852dc861210f0a530df1a88e069f2475e8cc29b63ecb89b8c20ec
data/_data/en.yml CHANGED
@@ -4,6 +4,7 @@ dir: "ltr"
4
4
  previous_page: "Previous page"
5
5
  next_page: "Next page"
6
6
  home: "Home"
7
+ fediverse: "Fediverse"
7
8
  layouts:
8
9
  about: "About"
9
10
  author: "Author"
data/_data/es.yml CHANGED
@@ -4,6 +4,7 @@ dir: "ltr"
4
4
  previous_page: "Página anterior"
5
5
  next_page: "Página siguiente"
6
6
  home: "Inicio"
7
+ fediverse: "Fediverso"
7
8
  layouts:
8
9
  about: "Acerca"
9
10
  author: "Autorx"
@@ -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
- description:
11
- type: "text"
12
- required: true
10
+ content_warning:
11
+ type: "string"
13
12
  label:
14
- es: "Alerta de contenido o descripción del artículo"
15
- en: "Content warning or post description"
13
+ es: "Alerta de contenido"
14
+ en: "Content warning"
16
15
  help:
17
16
  es: |
18
- Resumen del contenido del artículo, que también usarán redes
19
- sociales y buscadores. Si el artículo trata de violencias y otros
20
- temas sensibles, te invitamos a usar este campo como alerta de
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
- Summary of post content, also used by social media and search
25
- engines. If the post is about violence and other sensitive
26
- topics, we invite you to use it as a content warning, so others
27
- can decide when they want to read it.
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>
@@ -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 p-3 {{ include.background_class }}">
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 p-3 pb-12 border-bottom-dashed border-black">
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" %}
@@ -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
- <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 mt-6 container-lg mx-auto">
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
@@ -253,3 +253,10 @@ b,
253
253
  strong {
254
254
  font-weight: $font-weight-bold;
255
255
  }
256
+
257
+ .rotate {
258
+ width: 60px;
259
+ transform: rotate(90deg);
260
+ flex: 0 1 auto;
261
+ margin: 60px;
262
+ }
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.18
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -322,6 +322,7 @@ files:
322
322
  - _includes/cover_post/home.html
323
323
  - _includes/cover_post/menu.html
324
324
  - _includes/device_detector.html
325
+ - _includes/divider.html
325
326
  - _includes/embed_responsive.html
326
327
  - _includes/footer.html
327
328
  - _includes/goal.html