sutty-jekyll-theme 0.2.6 → 0.3.0

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: 73adfef96ae62125ab16b46815f656989625c472bec1c7264a448c77ce465725
4
- data.tar.gz: 1dbf865453c16cb4c15edddc47b9d0039f32bf744cd2145085fff6f532e380ed
3
+ metadata.gz: 97f15a740ac73fa9d36a0eb43d1727fc510a35c5848c5a5d6a7e6aba46752c34
4
+ data.tar.gz: df99c621a77767d91629a5f836347b667bc635af701305436cd170cdf9f3a80d
5
5
  SHA512:
6
- metadata.gz: 195196caacc46b1172074db2d6f53b83864bb54c4748775e43d36e90b99eb92fa882c21190607bcbd0d7648452ad583fd153cce27db08f94268fb8299748b39f
7
- data.tar.gz: 756ca3d7e12b343d5842710ec39c29780949c5af47286f965ada6c8f7b76740f05363f2c645c4fee9a6bd8923f9cb921649cd42e153c2ce3e6f23803d801b5bf
6
+ metadata.gz: 2a71613afd17583967c2496c57cb3a8e19389e13cb1a9e1e07ab0030a8dca11f5915cd719013ccf511456875f47149318291732f1acec3841cf39a9f1a7a0d6a
7
+ data.tar.gz: 3fbaef086bf2948b7679dd126f408161a03a415539d951c3f3ac446d26c3efaf53c74cfba94fcc1f37c3cb761ec7eb385375eda882e822d70dfa194f702af833
data/_data/en.yml CHANGED
@@ -57,3 +57,5 @@ layouts:
57
57
  post: "Post"
58
58
  privacy_policy: "Privacy policy"
59
59
  theme: "Customize"
60
+ footer:
61
+ fediverse: "Fediverse"
data/_data/es.yml CHANGED
@@ -57,3 +57,5 @@ layouts:
57
57
  post: "Artículo"
58
58
  privacy_policy: "Política de privacidad"
59
59
  theme: "Personalizar"
60
+ footer:
61
+ fediverse: "Fediverso"
@@ -4,7 +4,7 @@ title:
4
4
  required: true
5
5
  label:
6
6
  es: "Título"
7
- en: "Post"
7
+ en: "Title"
8
8
  help:
9
9
  es: ""
10
10
  en: ""
@@ -8,24 +8,29 @@ title:
8
8
  help:
9
9
  es: "¡Un título que invite a leer el artículo!"
10
10
  en: "A title that makes people want to read the post!"
11
- description:
12
- type: "text"
13
- required: true
11
+ content_warning:
12
+ type: "string"
14
13
  label:
15
- es: "Alerta de contenido o descripción del artículo"
16
- en: "Content warning or post description"
14
+ es: "Alerta de contenido"
15
+ en: "Content warning"
17
16
  help:
18
17
  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
18
+ Si el artículo trata de violencias y otros
21
19
  temas sensibles, te invitamos a usar este campo como alerta de
22
20
  contenido, para que las personas puedan determinar cuándo quieren
23
21
  abrirlo.
24
22
  en: |
25
- Summary of post content, also used by social media and search
26
- engines. If the post is about violence and other sensitive
23
+ If the post is about violence and other sensitive
27
24
  topics, we invite you to use it as a content warning, so others
28
25
  can decide when they want to read it.
26
+ description:
27
+ type: "text"
28
+ label:
29
+ es: "Descripción del artículo"
30
+ en: "Post description"
31
+ help:
32
+ es: "Descripción del contenido del artículo, que también usarán redes sociales y buscadores."
33
+ en: "Description of post content, also used by social media and search engines."
29
34
  author:
30
35
  type: "array"
31
36
  label:
@@ -50,6 +55,25 @@ image:
50
55
  help:
51
56
  es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
52
57
  en: "Describe the image for accesibility purposes and for indexation in search engines"
58
+ activity:
59
+ type: "boolean"
60
+ label:
61
+ es: "Publicar en el Fediverso"
62
+ en: "Publish to Fediverse"
63
+ help:
64
+ es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
65
+ en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
66
+ default:
67
+ es: true
68
+ en: true
69
+ in_replay_to:
70
+ type: "url"
71
+ label:
72
+ es: "En respuesta a"
73
+ en: "In replay to"
74
+ help:
75
+ es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
76
+ en: "Add the link to another article to replay to"
53
77
  content:
54
78
  type: "new_content"
55
79
  label:
@@ -4,6 +4,14 @@
4
4
 
5
5
  <footer class="p-3">
6
6
  <ul class="list-unstyled">
7
+ {%- if site.activity_pub_profile -%}
8
+ {{- site.i18n.footer.fediverse -}}
9
+ <span>
10
+ @{{ site.activity_pub_profile -}}
11
+ </span>
12
+ </p>
13
+ {%- endif -%}
14
+
7
15
  {% if license %}
8
16
  <li>
9
17
  <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
@@ -13,14 +13,14 @@ layout: default
13
13
  {%- endif -%}
14
14
 
15
15
  <p>
16
- {{ site.i18n.published_at }}
16
+ {{ site.i18n.date.published_at }}
17
17
 
18
18
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
19
  {{ page.date | date_local: date_format }}
20
20
  </time>
21
21
 
22
22
  {% if page.last_modified_at %}
23
- {{ site.i18n.last_modified_at }}
23
+ {{ site.i18n.date.last_modified_at }}
24
24
 
25
25
  <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
26
  {{ page.last_modified_at | date_local: date_format }}
@@ -19,6 +19,19 @@
19
19
 
20
20
  {% seo %}
21
21
  {% feed_meta %}
22
+
23
+ {% if page.activity %}
24
+ <link href="{{ page.activity.url | absolute_url }}" rel="alternate" type="application/activity+json" />
25
+ {% endif %}
26
+
27
+ {%- if site.activity_pub_profile -%}
28
+ <meta property="profile:username" content="{{ site.activity_pub_profile }}" />
29
+ {%- endif -%}
30
+
31
+ {%- if site.actor -%}
32
+ <link rel="me" href="{{ site.actor.url | absolute_url }}" />
33
+ {%- endif -%}
34
+
22
35
  </head>
23
36
  <body class="min-vh-100 d-flex flex-column">
24
37
  {% include navbar.html %}
@@ -13,14 +13,14 @@ layout: default
13
13
  {%- endif -%}
14
14
 
15
15
  <p>
16
- {{ site.i18n.published_at }}
16
+ {{ site.i18n.date.published_at }}
17
17
 
18
18
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
19
  {{ page.date | date_local: date_format }}
20
20
  </time>
21
21
 
22
22
  {% if page.last_modified_at %}
23
- {{ site.i18n.last_modified_at }}
23
+ {{ site.i18n.date.last_modified_at }}
24
24
 
25
25
  <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
26
  {{ page.last_modified_at | date_local: date_format }}
@@ -13,14 +13,14 @@ layout: default
13
13
  {%- endif -%}
14
14
 
15
15
  <p>
16
- {{ site.i18n.published_at }}
16
+ {{ site.i18n.date.published_at }}
17
17
 
18
18
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
19
19
  {{ page.date | date_local: date_format }}
20
20
  </time>
21
21
 
22
22
  {% if page.last_modified_at %}
23
- {{ site.i18n.last_modified_at }}
23
+ {{ site.i18n.date.last_modified_at }}
24
24
 
25
25
  <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
26
26
  {{ page.last_modified_at | date_local: date_format }}
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
+ - e
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2023-04-01 00:00:00.000000000 Z
12
+ date: 2023-12-04 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
@@ -108,6 +109,20 @@ dependencies:
108
109
  - - ">="
109
110
  - !ruby/object:Gem::Version
110
111
  version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: jekyll-embed-urls
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: bundler
113
128
  requirement: !ruby/object:Gem::Requirement
@@ -136,9 +151,24 @@ dependencies:
136
151
  - - "~>"
137
152
  - !ruby/object:Gem::Version
138
153
  version: '12.0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: pry
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
139
168
  description:
140
169
  email:
141
170
  - f@sutty.nl
171
+ - e@sutty.nl
142
172
  executables: []
143
173
  extensions: []
144
174
  extra_rdoc_files: