sutty-minima 2.7.0rc6 → 2.7.0rc9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/en.yml +1 -0
- data/_data/es.yml +1 -0
- data/_data/layouts/page.yml +41 -18
- data/_layouts/default.html +3 -2
- data/_layouts/page.html +69 -5
- data/_layouts/post.html +28 -9
- data/_sass/minima/_layout.scss +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c701594f6ebcbd103b6605d27878980a668474f76362b980b319757b85547fc4
|
4
|
+
data.tar.gz: 9f1b9d35f15f0f8743f086849bc0449f561f82b116d4f98a714b51b8b48049e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e726a5ba141a861999a7ad63b5ef1cd7742b96f3fb68129cc54fb6e2543414740083d53306dd4157b5fa9558a98b63fff247529dea7b57f1afcfb19de5e296e
|
7
|
+
data.tar.gz: 0745a2819eaaa7a3a0f52f32e3e620f6bed56bb2f884546e966f5d6113114eec7a31c0ca94a5ed469624cdf960e424d7372ac604cfccc26855e7f05807818aa3
|
data/_data/en.yml
CHANGED
data/_data/es.yml
CHANGED
data/_data/layouts/page.yml
CHANGED
@@ -7,25 +7,29 @@ title:
|
|
7
7
|
en: "Post title"
|
8
8
|
help:
|
9
9
|
es: "¡Un título que invite a leer el artículo!"
|
10
|
-
en: "A title that
|
11
|
-
|
12
|
-
type: "
|
13
|
-
required: true
|
10
|
+
en: "A title that makes people want to read the post!"
|
11
|
+
content_warning:
|
12
|
+
type: "string"
|
14
13
|
label:
|
15
|
-
es: "Alerta de contenido
|
16
|
-
en: "Content warning
|
14
|
+
es: "Alerta de contenido"
|
15
|
+
en: "Content warning"
|
17
16
|
help:
|
18
17
|
es: |
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
contenido, para que las personas puedan determinar cuándo quieren
|
23
|
-
abrirlo.
|
18
|
+
Si el artículo trata de violencias y otros temas sensibles, te
|
19
|
+
invitamos a usar este campo como alerta de contenido, para que las
|
20
|
+
personas puedan determinar cuándo quieren abrirlo.
|
24
21
|
en: |
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
If the post is about violence and other sensitive topics, we
|
23
|
+
invite you to use it as a content warning, so others can decide
|
24
|
+
when they want to read it.
|
25
|
+
description:
|
26
|
+
type: "text"
|
27
|
+
label:
|
28
|
+
es: "Descripción del artículo"
|
29
|
+
en: "Post description"
|
30
|
+
help:
|
31
|
+
es: "Descripción del contenido del artículo, que también usarán redes sociales y buscadores."
|
32
|
+
en: "Description of post content, also used by social media and search engines."
|
29
33
|
author:
|
30
34
|
type: "array"
|
31
35
|
label:
|
@@ -48,8 +52,8 @@ image:
|
|
48
52
|
es: "Descripción de la imagen principal"
|
49
53
|
en: "Main image description"
|
50
54
|
help:
|
51
|
-
es: "
|
52
|
-
en: "Describe the
|
55
|
+
es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
|
56
|
+
en: "Describe the image for accesibility purposes and for indexation in search engines"
|
53
57
|
content:
|
54
58
|
type: "new_content"
|
55
59
|
label:
|
@@ -57,7 +61,26 @@ content:
|
|
57
61
|
en: "Post content"
|
58
62
|
help:
|
59
63
|
es: "Escribe aquí el artículo"
|
60
|
-
en: "Write
|
64
|
+
en: "Write your post here"
|
65
|
+
activity:
|
66
|
+
type: "boolean"
|
67
|
+
label:
|
68
|
+
es: "Publicar en el Fediverso"
|
69
|
+
en: "Publish to Fediverse"
|
70
|
+
help:
|
71
|
+
es: "Si tu sitio tiene habilitado Social Distributed Press, habilita para publicar en el Fediverso"
|
72
|
+
en: "If your site has Social Distributed Press enabled, tick to publish to the Fediverse"
|
73
|
+
default:
|
74
|
+
es: true
|
75
|
+
en: true
|
76
|
+
in_reply_to:
|
77
|
+
type: "url"
|
78
|
+
label:
|
79
|
+
es: "En respuesta a"
|
80
|
+
en: "In reply to"
|
81
|
+
help:
|
82
|
+
es: "Agrega aquí el vínculo a un artículo para generar una respuesta"
|
83
|
+
en: "Add the link to another article to reply to"
|
61
84
|
locales:
|
62
85
|
type: "locales"
|
63
86
|
label:
|
data/_layouts/default.html
CHANGED
@@ -7,8 +7,9 @@
|
|
7
7
|
|
8
8
|
<body
|
9
9
|
{% if about.image.path %}
|
10
|
-
style="background-image: url({{ about.image.path | uri_escape }}); background-repeat: no-repeat; background-size:
|
11
|
-
{% endif %}
|
10
|
+
style="background-image: url('{{ about.image.path | uri_escape }}'); background-repeat: no-repeat; background-size: cover;"
|
11
|
+
{% endif %}
|
12
|
+
>
|
12
13
|
|
13
14
|
{%- include header.html -%}
|
14
15
|
|
data/_layouts/page.html
CHANGED
@@ -1,14 +1,78 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
4
|
+
|
5
|
+
{% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
|
6
|
+
{% assign license = site.posts | find: "layout", "license" %}
|
7
|
+
|
8
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
5
9
|
|
6
10
|
<header class="post-header">
|
7
|
-
<h1 class="post-title">{{ page.title | escape }}</h1>
|
11
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
12
|
+
|
13
|
+
{% if page.description %}
|
14
|
+
<div class="p-summary" itemprop="description">
|
15
|
+
{{ page.description | allow_inclusive_language_in_markdown | markdownify }}
|
16
|
+
</div>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
<p class="post-meta">
|
20
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
21
|
+
{{ page.date | date: date_format }}
|
22
|
+
</time>
|
23
|
+
{%- if page.last_modified_at -%}
|
24
|
+
~
|
25
|
+
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
26
|
+
{{ page.last_modified_at | date: date_format }}
|
27
|
+
</time>
|
28
|
+
{%- endif -%}
|
29
|
+
{%- unless page.author == empty -%}
|
30
|
+
• {% for author in page.author %}
|
31
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
32
|
+
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
33
|
+
{%- if forloop.last == false %}, {% endif -%}
|
34
|
+
{% endfor %}
|
35
|
+
{%- endunless -%}</p>
|
36
|
+
|
37
|
+
{%- if page.image.path -%}
|
38
|
+
<img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
|
39
|
+
{%- endif -%}
|
8
40
|
</header>
|
9
41
|
|
10
|
-
|
11
|
-
|
12
|
-
|
42
|
+
{% if page.content_warning == empty %}
|
43
|
+
<details>
|
44
|
+
<summary>
|
45
|
+
{{ site.i18n.cw }}
|
46
|
+
{{ page.content_warning }}
|
47
|
+
</summary>
|
48
|
+
|
49
|
+
<div class="post-content e-content" itemprop="articleBody">
|
50
|
+
{{ content }}
|
51
|
+
</div>
|
52
|
+
</details>
|
53
|
+
{% else %}
|
54
|
+
<div class="post-content e-content" itemprop="articleBody">
|
55
|
+
{{ content }}
|
56
|
+
</div>
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
<footer>
|
60
|
+
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
61
|
+
{{ site.url }}{{ page.url }}
|
62
|
+
</a>
|
63
|
+
|
64
|
+
{%- if page.uuid -%}
|
65
|
+
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
66
|
+
{%- endif -%}
|
13
67
|
|
68
|
+
{%- if license -%}
|
69
|
+
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
70
|
+
<a rel="license" itemprop="url" href="{{ license.url }}">
|
71
|
+
<span itemprop="articleBody">
|
72
|
+
{{ license.description }}
|
73
|
+
</span>
|
74
|
+
</a>
|
75
|
+
</p>
|
76
|
+
{%- endif -%}
|
77
|
+
</footer>
|
14
78
|
</article>
|
data/_layouts/post.html
CHANGED
@@ -9,33 +9,52 @@ layout: default
|
|
9
9
|
|
10
10
|
<header class="post-header">
|
11
11
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
12
|
+
|
13
|
+
{% if page.description %}
|
14
|
+
<div class="p-summary" itemprop="description">
|
15
|
+
{{ page.description | allow_inclusive_language_in_markdown | markdownify }}
|
16
|
+
</div>
|
17
|
+
{% endif %}
|
18
|
+
|
12
19
|
<p class="post-meta">
|
13
20
|
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
14
21
|
{{ page.date | date: date_format }}
|
15
22
|
</time>
|
16
|
-
{%- if page.
|
23
|
+
{%- if page.last_modified_at -%}
|
17
24
|
~
|
18
|
-
|
19
|
-
|
20
|
-
{{ mdate | date: date_format }}
|
25
|
+
<time class="dt-modified" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">
|
26
|
+
{{ page.last_modified_at | date: date_format }}
|
21
27
|
</time>
|
22
28
|
{%- endif -%}
|
23
|
-
{%-
|
29
|
+
{%- unless page.author == empty -%}
|
24
30
|
• {% for author in page.author %}
|
25
31
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
26
32
|
<span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
27
33
|
{%- if forloop.last == false %}, {% endif -%}
|
28
34
|
{% endfor %}
|
29
|
-
{%-
|
35
|
+
{%- endunless -%}</p>
|
30
36
|
|
31
37
|
{%- if page.image.path -%}
|
32
38
|
<img itemprop="image" src="{{ page.image.path }}" alt="{{ page.image.description | default: page.title }}" />
|
33
39
|
{%- endif -%}
|
34
40
|
</header>
|
35
41
|
|
36
|
-
|
37
|
-
|
38
|
-
|
42
|
+
{% if page.content_warning == empty %}
|
43
|
+
<div class="post-content e-content" itemprop="articleBody">
|
44
|
+
{{ content }}
|
45
|
+
</div>
|
46
|
+
{% else %}
|
47
|
+
<details>
|
48
|
+
<summary>
|
49
|
+
{{ site.i18n.cw }}
|
50
|
+
{{ page.content_warning }}
|
51
|
+
</summary>
|
52
|
+
|
53
|
+
<div class="post-content e-content" itemprop="articleBody">
|
54
|
+
{{ content }}
|
55
|
+
</div>
|
56
|
+
</details>
|
57
|
+
{% endif %}
|
39
58
|
|
40
59
|
<footer>
|
41
60
|
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
data/_sass/minima/_layout.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sutty-minima
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.0rc9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-12-
|
12
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|