recursero-jekyll-theme 0.1.5 → 0.2.0
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/README.md +69 -18
- data/_config.yml +77 -0
- data/_data/assets.json +6 -0
- data/_data/en.yml +61 -15
- data/_data/es.yml +64 -15
- data/_data/forms/contacto.yml +2 -2
- data/_data/layouts/about.yml +39 -22
- data/_data/layouts/category.yml +5 -10
- data/_data/layouts/menu.yml +73 -0
- data/_data/layouts/page.yml +7 -7
- data/_data/layouts/place.yml +13 -11
- data/_data/layouts/post.yml +7 -7
- data/_includes/contact.html +8 -5
- data/_includes/floating_alert.html +6 -0
- data/_includes/item.html +38 -0
- data/_includes/menu.html +23 -0
- data/_includes/onboarding.html +37 -0
- data/_includes/pack.html +1 -0
- data/_includes/password.html +1 -0
- data/_includes/picture.html +23 -0
- data/_includes/preload_font.html +1 -0
- data/_includes/search.html +4 -3
- data/_includes/share.html +3 -2
- data/_includes/submit.html +5 -1
- data/_layouts/about.html +1 -1
- data/_layouts/default.html +34 -2
- data/_layouts/page.html +1 -1
- data/_layouts/place.html +1 -1
- data/_layouts/post.html +2 -2
- data/_sass/accessibility.scss +48 -7
- data/_sass/editor.scss +17 -0
- data/_sass/embed.scss +8 -0
- data/_sass/floating_alert.scss +48 -0
- data/_sass/fonts.scss +0 -0
- data/_sass/helpers.scss +327 -31
- data/_sass/menu.scss +36 -0
- data/_sass/snap.scss +60 -0
- data/_sass/toggler.scss +34 -11
- data/assets/css/styles.scss +89 -7
- data/assets/css/styles.scss.orig +3 -0
- data/assets/data/manifest.js +29 -0
- data/assets/fonts/forkawesome-webfont.woff2 +0 -0
- data/assets/js/pack.3cf11284b767fdbbefa6.js +113 -0
- data/assets/js/pack.3cf11284b767fdbbefa6.js.map +1 -0
- data/assets/js/pack.4ced2556b94e5c09e5bc.js +113 -0
- data/assets/js/pack.4ced2556b94e5c09e5bc.js.map +1 -0
- data/assets/js/pack.c42a6f683b2c0c0fa404.js +90 -0
- data/assets/js/pack.c42a6f683b2c0c0fa404.js.map +1 -0
- data/assets/js/pack.d9a353affdca4644a9b2.js +113 -0
- data/assets/js/pack.d9a353affdca4644a9b2.js.map +1 -0
- data/assets/js/sw.3cf11284b767fdbbefa6.js +2 -0
- data/assets/js/sw.3cf11284b767fdbbefa6.js.map +1 -0
- data/assets/templates/alert.html +7 -0
- data/assets/templates/results.html +15 -7
- metadata +96 -45
- data/_includes/navbar.html +0 -53
- data/_sass/share.html +0 -12
- data/_sass/share_box.html +0 -16
- data/assets/js/pack.js +0 -90
- data/assets/js/pack.js.map +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93c625322b311f7ad72dfcc4225b882a825d87932fa4b6acaf2272fcc4c9f8ff
|
4
|
+
data.tar.gz: e18cbd919bb879d527238300cf10b720560d0f28ebd3953c492f63f3a2b2ec9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cd02a158b13591e305a563981c03a5254ad623a45a00ffeb37424cd0015da2523847cc9a58aa5a72bb0b90297f37a790b822f4c4db9c6e5b620aa82dc80d9f3
|
7
|
+
data.tar.gz: 97df258b375f34ee7fac6c1a18febe0087d8624c71030e454cd7b314fb8fbc7cdbd8b4880e2b55a6308364f8c78e86588e5810bcd3f226af877f391258b17197
|
data/README.md
CHANGED
@@ -4,32 +4,83 @@ CAMBIAME: Esta es una plantilla base para comenzar cualquier plantilla
|
|
4
4
|
relacionada con Sutty, con el entorno de desarrollo que usamos según
|
5
5
|
nuestro flujo de trabajo.
|
6
6
|
|
7
|
-
La instalación de esta gema se realiza bifurcando el desarrollo de esta
|
8
|
-
usando git, por ejemplo:
|
9
|
-
|
10
7
|
```bash
|
11
|
-
#
|
12
|
-
|
13
|
-
|
8
|
+
# Desde el directorio de trabajo
|
9
|
+
cd ~/Sutty
|
10
|
+
# Instalar sutty-cli antes de empezar
|
11
|
+
gem install sutty-cli
|
12
|
+
# Iniciar una plantilla
|
13
|
+
sutty-cli theme CAMBIAME
|
14
|
+
# Se creó el repositorio
|
14
15
|
cd CAMBIAME-jekyll-theme
|
16
|
+
```
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
-
git remote rename origin upstream
|
18
|
+
Para empezar, hay que buscar y reemplazar en todos los archivos donde
|
19
|
+
diga `CAMBIAME`.
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
git@0xacab.org:sutty/jekyll/CAMBIAME-jekyll-theme.git
|
21
|
+
También hay que instalar
|
22
|
+
[sutty.local](https://0xacab.org/sutty/sutty.local/):
|
23
23
|
|
24
|
-
|
25
|
-
#
|
26
|
-
|
24
|
+
```bash
|
25
|
+
# Desde el directorio de trabajo
|
26
|
+
cd ~/Sutty
|
27
|
+
# Clonar el repositorio
|
28
|
+
git clone https://0xacab.org/sutty/sutty.local.git
|
29
|
+
cd sutty.local
|
30
|
+
make all domain domain=sutty.local
|
31
|
+
cd .. # Volver al directorio de trabajo
|
27
32
|
```
|
28
33
|
|
29
|
-
|
30
|
-
|
34
|
+
Esto genera un certificado a nivel local que luego va a usar el
|
35
|
+
servidor de desarrollo.
|
36
|
+
|
37
|
+
## Desarrollo
|
38
|
+
|
39
|
+
Siempre trabajamos desde el directorio raíz del repositorio:
|
40
|
+
|
41
|
+
```bash
|
42
|
+
cd ~/Sutty/CAMBIAME-jekyll-theme
|
43
|
+
```
|
44
|
+
|
45
|
+
Primero hay que iniciar los servidores, antes hay que instalar el
|
46
|
+
paquete `nghttp2`.
|
47
|
+
|
48
|
+
```bash
|
49
|
+
make serve
|
50
|
+
```
|
31
51
|
|
32
|
-
|
52
|
+
A partir de este momento podemos editar los archivos. Para probar lo
|
53
|
+
que estamos haciendo, compilamos el sitio.
|
54
|
+
|
55
|
+
```bash
|
56
|
+
make build
|
57
|
+
```
|
58
|
+
|
59
|
+
Hay que hacer esto cada vez que queremos probar cambios.
|
60
|
+
|
61
|
+
**Nota:** No usamos `jekyll serve` porque entra en conflicto con algunos
|
62
|
+
de nuestros complementos y los sitios grandes tardan en compilarse de
|
63
|
+
todas formas.
|
64
|
+
|
65
|
+
## Actualizar
|
66
|
+
|
67
|
+
Podemos traer cambios de la base:
|
68
|
+
|
69
|
+
```bash
|
70
|
+
git pull upstream master
|
71
|
+
```
|
72
|
+
|
73
|
+
Si hubiera conflictos, los podemos resolver con:
|
74
|
+
|
75
|
+
```bash
|
76
|
+
# Esto se hace una sola vez, cambiar vimdiff por la herramienta que
|
77
|
+
# queramos usar
|
78
|
+
git config --global mergetool.tool vimdiff
|
79
|
+
git config --global mergetool.keepBackup false
|
80
|
+
|
81
|
+
# Resolver los conflictos
|
82
|
+
git mergetool
|
83
|
+
```
|
33
84
|
|
34
85
|
## Publicación
|
35
86
|
|
data/_config.yml
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
plugins:
|
2
|
+
- jekyll-unique-urls
|
3
|
+
- jekyll-lunr
|
4
|
+
- jekyll-locales
|
5
|
+
- jekyll-ignore-layouts
|
6
|
+
- jekyll-relative-urls
|
7
|
+
- jekyll-dotenv
|
8
|
+
- jekyll-include-cache
|
9
|
+
- jekyll-linked-posts
|
10
|
+
- jekyll-commonmark
|
11
|
+
- jekyll-feed
|
12
|
+
- jekyll-order
|
13
|
+
- jekyll-data
|
14
|
+
- jekyll-seo-tag
|
15
|
+
- jekyll-images
|
16
|
+
- sutty-archives
|
17
|
+
- sutty-liquid
|
18
|
+
markdown: CommonMark
|
19
|
+
commonmark:
|
20
|
+
options:
|
21
|
+
- SMART
|
22
|
+
- FOOTNOTES
|
23
|
+
- UNSAFE
|
24
|
+
extensions:
|
25
|
+
- strikethrough
|
26
|
+
- autolink
|
27
|
+
- table
|
28
|
+
# Agregar node_modules a la lista de directorios donde SASS busca
|
29
|
+
# archivos. Podríamos haber agregado solo "node_modules/bootstrap/scss"
|
30
|
+
# pero queríamos dejarlo abierto para poder cambiar de framework o
|
31
|
+
# llamar a varios a la vez.
|
32
|
+
sass:
|
33
|
+
style: compressed
|
34
|
+
load_paths:
|
35
|
+
- node_modules
|
36
|
+
# Opciones para generar las URLs de las páginas. Por defecto Jekyll
|
37
|
+
# crea /categoria/año/mes/dia/titulo.html que me parece innecesariamente
|
38
|
+
# larga.
|
39
|
+
#
|
40
|
+
# Con esto generamos URLs relativas (sin / al principio) y solo el
|
41
|
+
# titulo convertido en slug. El slug es la versión limpia del título,
|
42
|
+
# sin espacios ni mayusculas, a veces sin tildes.
|
43
|
+
#
|
44
|
+
# En realidad Jekyll es un poco confuso acá porque :title es el nombre
|
45
|
+
# del archivo usado en _posts/yyyy-mm-dd-slug.md y no el titulo
|
46
|
+
# slugificado. De todas formas Sutty se encarga de que coincidan.
|
47
|
+
permalink: ":title/"
|
48
|
+
# El nombre de la plantilla
|
49
|
+
# theme: sutty-base-jekyll-theme
|
50
|
+
# La lista de resoluciones de imágenes disponibles para jekyll-images.
|
51
|
+
# Estamos usando los puntos de quiebre de bootstrap.
|
52
|
+
#
|
53
|
+
# https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints
|
54
|
+
images:
|
55
|
+
sizes:
|
56
|
+
- 576
|
57
|
+
- 768
|
58
|
+
- 992
|
59
|
+
- 1140
|
60
|
+
jekyll-archives:
|
61
|
+
enabled:
|
62
|
+
- tags
|
63
|
+
permalinks:
|
64
|
+
tag: "etiquetas/:name/"
|
65
|
+
locales:
|
66
|
+
- es
|
67
|
+
linked_fields:
|
68
|
+
- categories
|
69
|
+
- categories_next
|
70
|
+
- category_previous
|
71
|
+
- posts
|
72
|
+
ignored_layouts:
|
73
|
+
- menu
|
74
|
+
manifest:
|
75
|
+
- pages
|
76
|
+
- documents
|
77
|
+
- static_files
|
data/_data/assets.json
ADDED
data/_data/en.yml
CHANGED
@@ -1,38 +1,84 @@
|
|
1
1
|
---
|
2
2
|
locale: English
|
3
|
-
date:
|
3
|
+
date:
|
4
|
+
format: '%m/%d/%Y'
|
5
|
+
abbr_day_names:
|
6
|
+
- Mon
|
7
|
+
- Tue
|
8
|
+
- Wed
|
9
|
+
- Thu
|
10
|
+
- Fri
|
11
|
+
- Sat
|
12
|
+
- Sun
|
13
|
+
day_names:
|
14
|
+
- Monday
|
15
|
+
- Tuesday
|
16
|
+
- Wednesday
|
17
|
+
- Thursday
|
18
|
+
- Friday
|
19
|
+
- Saturday
|
20
|
+
- Sunday
|
21
|
+
abbr_month_names:
|
22
|
+
- Jan
|
23
|
+
- Feb
|
24
|
+
- Mar
|
25
|
+
- Apr
|
26
|
+
- May
|
27
|
+
- Jun
|
28
|
+
- Jul
|
29
|
+
- Aug
|
30
|
+
- Sep
|
31
|
+
- Oct
|
32
|
+
- Nov
|
33
|
+
- Dec
|
34
|
+
month_names:
|
35
|
+
- January
|
36
|
+
- February
|
37
|
+
- March
|
38
|
+
- April
|
39
|
+
- May
|
40
|
+
- June
|
41
|
+
- July
|
42
|
+
- August
|
43
|
+
- September
|
44
|
+
- October
|
45
|
+
- November
|
46
|
+
- December
|
47
|
+
time:
|
48
|
+
am: am
|
49
|
+
pm: pm
|
4
50
|
layouts:
|
5
51
|
post: Article
|
52
|
+
menu: Menu
|
53
|
+
about: About this site
|
6
54
|
menu:
|
7
55
|
title: Menu
|
8
|
-
items:
|
9
|
-
- title: Home
|
10
|
-
href: ''
|
11
56
|
share:
|
12
57
|
text: Share
|
13
58
|
icon: share-alt
|
14
59
|
items:
|
15
|
-
- title: Fediverse
|
16
|
-
url: "https://fediverse.sutty.nl/en/?u=%url&t=%title&d=%description"
|
17
|
-
icon: mastodon-alt
|
18
|
-
- title: Facebook
|
19
|
-
url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
|
20
|
-
icon: facebook-official
|
21
60
|
- title: Twitter
|
22
|
-
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags
|
61
|
+
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%tags"
|
23
62
|
icon: twitter
|
63
|
+
- title: Facebook
|
64
|
+
url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
|
65
|
+
icon: facebook
|
24
66
|
- title: Whatsapp
|
25
67
|
url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
|
26
68
|
icon: whatsapp
|
27
69
|
- title: Telegram
|
28
|
-
url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
|
70
|
+
url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
|
29
71
|
icon: telegram
|
30
72
|
- title: Tumblr
|
31
|
-
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags
|
73
|
+
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%tags"
|
32
74
|
icon: tumblr
|
33
75
|
- title: Reddit
|
34
|
-
url: "https://reddit.com/submit?url=%url&title
|
76
|
+
url: "https://reddit.com/submit?url=%url&title=%tags%20-%20%title"
|
35
77
|
icon: reddit
|
36
78
|
- title: E-mail
|
37
|
-
url: "mailto:?subject=%title&body=%description%0A%0A%url"
|
79
|
+
url: "mailto:?subject=%title&body=%description%0A%0A%url"
|
38
80
|
icon: envelope
|
81
|
+
- title: Fediverse
|
82
|
+
url: "https://fediverse.sutty.nl/en/?u=%url&t=%title&d=%description%20%tags"
|
83
|
+
icon: mastodon
|
84
|
+
credits: "Made by [Sutty](https://sutty.nl/en/)."
|
data/_data/es.yml
CHANGED
@@ -1,17 +1,62 @@
|
|
1
1
|
---
|
2
2
|
locale: Castellano
|
3
|
-
date:
|
3
|
+
date:
|
4
|
+
format: '%d/%m/%Y'
|
5
|
+
abbr_day_names:
|
6
|
+
- Lun
|
7
|
+
- Mar
|
8
|
+
- Mié
|
9
|
+
- Jue
|
10
|
+
- Vie
|
11
|
+
- Sáb
|
12
|
+
- Dom
|
13
|
+
day_names:
|
14
|
+
- Lunes
|
15
|
+
- Martes
|
16
|
+
- Miércoles
|
17
|
+
- Jueves
|
18
|
+
- Viernes
|
19
|
+
- Sábado
|
20
|
+
- Domingo
|
21
|
+
abbr_month_names:
|
22
|
+
- Ene
|
23
|
+
- Feb
|
24
|
+
- Mar
|
25
|
+
- Abr
|
26
|
+
- May
|
27
|
+
- Jun
|
28
|
+
- Jul
|
29
|
+
- Ago
|
30
|
+
- Sep
|
31
|
+
- Oct
|
32
|
+
- Nov
|
33
|
+
- Dic
|
34
|
+
month_names:
|
35
|
+
- Enero
|
36
|
+
- Febrero
|
37
|
+
- Marzo
|
38
|
+
- Abril
|
39
|
+
- Mayo
|
40
|
+
- Junio
|
41
|
+
- Julio
|
42
|
+
- Agosto
|
43
|
+
- Septiembre
|
44
|
+
- Octubre
|
45
|
+
- Noviembre
|
46
|
+
- Diciembre
|
47
|
+
time:
|
48
|
+
am: am
|
49
|
+
pm: pm
|
4
50
|
layouts:
|
5
51
|
place: Lugar
|
6
52
|
post: Artículo
|
7
53
|
category: Categoría
|
8
54
|
about: Recursero
|
55
|
+
menu: Menú
|
56
|
+
about: Información del sitio
|
9
57
|
breadcrumb: Ubicación en el sitio
|
10
58
|
menu:
|
11
59
|
title: Menú
|
12
|
-
items:
|
13
|
-
- title: Inicio
|
14
|
-
href: ''
|
15
60
|
search:
|
16
61
|
id: buscador
|
17
62
|
url: buscador/
|
@@ -23,27 +68,31 @@ share:
|
|
23
68
|
text: Compartir
|
24
69
|
icon: share-alt
|
25
70
|
items:
|
26
|
-
- title: Fediverso
|
27
|
-
url: "https://fediverse.sutty.nl/es/?u=%url&t=%title&d=%description"
|
28
|
-
icon: mastodon-alt
|
29
|
-
- title: Facebook
|
30
|
-
url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
|
31
|
-
icon: facebook-official
|
32
71
|
- title: Twitter
|
33
|
-
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%
|
72
|
+
url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=%tags"
|
34
73
|
icon: twitter
|
74
|
+
- title: Facebook
|
75
|
+
url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
|
76
|
+
icon: facebook
|
35
77
|
- title: Whatsapp
|
36
78
|
url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
|
37
79
|
icon: whatsapp
|
38
80
|
- title: Telegram
|
39
|
-
url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
|
81
|
+
url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
|
40
82
|
icon: telegram
|
41
83
|
- title: Tumblr
|
42
|
-
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%
|
84
|
+
url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=%tags"
|
43
85
|
icon: tumblr
|
44
86
|
- title: Reddit
|
45
|
-
url: "https://reddit.com/submit?url=%url&title=%
|
87
|
+
url: "https://reddit.com/submit?url=%url&title=%tags%20-%20%title"
|
46
88
|
icon: reddit
|
47
89
|
- title: Correo
|
48
|
-
url: "mailto:?subject=%title&body=%description%0A%0A%url"
|
90
|
+
url: "mailto:?subject=%title&body=%description%0A%0A%url"
|
49
91
|
icon: envelope
|
92
|
+
- title: Fediverso
|
93
|
+
url: "https://fediverse.sutty.nl/es/?u=%url&t=%title&d=%description%20%tags"
|
94
|
+
icon: mastodon
|
95
|
+
onboarding:
|
96
|
+
internal_browser: "Aprovechá todas las características abriendo la app en tu navegador"
|
97
|
+
browser: "¡Instalá la app!"
|
98
|
+
credits: "Hecho por [Sutty](https://sutty.nl/) y [Recursero Trans*](https://recursero.info/)."
|
data/_data/forms/contacto.yml
CHANGED
data/_data/layouts/about.yml
CHANGED
@@ -17,8 +17,33 @@ description:
|
|
17
17
|
help:
|
18
18
|
es: ''
|
19
19
|
en: ''
|
20
|
-
|
20
|
+
primary:
|
21
|
+
type: 'color'
|
22
|
+
required: true
|
23
|
+
label:
|
24
|
+
es: 'Color principal'
|
25
|
+
en: 'Main color'
|
26
|
+
help:
|
27
|
+
es: ''
|
28
|
+
en: ''
|
29
|
+
default:
|
30
|
+
es: '#f206f9'
|
31
|
+
en: '#f206f9'
|
32
|
+
secondary:
|
33
|
+
type: 'color'
|
34
|
+
required: true
|
35
|
+
label:
|
36
|
+
es: 'Color secundario'
|
37
|
+
en: 'Secondary color'
|
38
|
+
help:
|
39
|
+
es: ''
|
40
|
+
en: ''
|
41
|
+
default:
|
42
|
+
es: '#13fefe'
|
43
|
+
en: '#13fefe'
|
44
|
+
image:
|
21
45
|
type: 'image'
|
46
|
+
required: true
|
22
47
|
path:
|
23
48
|
label:
|
24
49
|
es: 'Logo'
|
@@ -36,7 +61,7 @@ logo:
|
|
36
61
|
Describe the logo for the visually impaired and
|
37
62
|
search engines
|
38
63
|
content:
|
39
|
-
type: '
|
64
|
+
type: 'html'
|
40
65
|
label:
|
41
66
|
es: 'Presentación'
|
42
67
|
en: 'Presentation'
|
@@ -44,7 +69,7 @@ content:
|
|
44
69
|
es: 'Historia, trasfondo, principios políticos, etc.'
|
45
70
|
en: 'History, context, principles, etc.'
|
46
71
|
social_networks:
|
47
|
-
type: '
|
72
|
+
type: 'array'
|
48
73
|
label:
|
49
74
|
es: 'Redes sociales'
|
50
75
|
en: 'Social networks'
|
@@ -59,16 +84,8 @@ email:
|
|
59
84
|
help:
|
60
85
|
es: ''
|
61
86
|
en: ''
|
62
|
-
menu:
|
63
|
-
type: 'boolean'
|
64
|
-
label:
|
65
|
-
es: '¿Sale en el menú?'
|
66
|
-
en: 'Does it appear in the menu?'
|
67
|
-
help:
|
68
|
-
es: ''
|
69
|
-
en: ''
|
70
87
|
category_empty:
|
71
|
-
type: '
|
88
|
+
type: 'markdown'
|
72
89
|
label:
|
73
90
|
es: 'Texto para la categoría vacía'
|
74
91
|
en: 'Text shown when category is empty'
|
@@ -76,21 +93,13 @@ category_empty:
|
|
76
93
|
es: ''
|
77
94
|
en: ''
|
78
95
|
how_to_help:
|
79
|
-
type: '
|
96
|
+
type: 'markdown'
|
80
97
|
label:
|
81
98
|
es: 'Texto invitando a colaborar'
|
82
99
|
en: 'Text inviting to collaborate'
|
83
100
|
help:
|
84
101
|
es: ''
|
85
102
|
en: ''
|
86
|
-
draft:
|
87
|
-
type: 'boolean'
|
88
|
-
label:
|
89
|
-
es: 'Borrador'
|
90
|
-
en: 'Draft'
|
91
|
-
help:
|
92
|
-
es: 'Este artículo aun no está listo para publicar'
|
93
|
-
en: "This post isn't ready to be published yet"
|
94
103
|
order:
|
95
104
|
type: 'order'
|
96
105
|
label:
|
@@ -100,10 +109,18 @@ order:
|
|
100
109
|
es: 'La posición del artículo en la lista de artículos'
|
101
110
|
en: 'Post position in list'
|
102
111
|
permalink:
|
103
|
-
type: '
|
112
|
+
type: 'string'
|
104
113
|
label:
|
105
114
|
es: 'Enlace'
|
106
115
|
en: 'Permalink'
|
107
116
|
help:
|
108
117
|
es: ''
|
109
118
|
en: ''
|
119
|
+
draft:
|
120
|
+
type: 'boolean'
|
121
|
+
label:
|
122
|
+
es: 'Borrador'
|
123
|
+
en: 'Draft'
|
124
|
+
help:
|
125
|
+
es: 'Este artículo aun no está listo para publicar'
|
126
|
+
en: "This post isn't ready to be published yet"
|
data/_data/layouts/category.yml
CHANGED
@@ -17,7 +17,7 @@ description:
|
|
17
17
|
es: Este campo servirá para orientar acerca de cómo emplear la categoría, pueden incluirse casos de uso
|
18
18
|
en: This field is intended to give advice on the use of the category, use cases may be included as example
|
19
19
|
content:
|
20
|
-
type: '
|
20
|
+
type: 'html'
|
21
21
|
label:
|
22
22
|
es: 'Contenido del artículo'
|
23
23
|
en: 'Post content'
|
@@ -25,7 +25,7 @@ content:
|
|
25
25
|
es: 'Escribe aquí el artículo'
|
26
26
|
en: 'Write your post here'
|
27
27
|
category_previous:
|
28
|
-
type:
|
28
|
+
type: belongs_to
|
29
29
|
filter:
|
30
30
|
layout: category
|
31
31
|
inverse: categories_next
|
@@ -36,7 +36,7 @@ category_previous:
|
|
36
36
|
es: '¿De cuál categoría se desprende?'
|
37
37
|
en: 'Which category does this one depend on?'
|
38
38
|
categories_next:
|
39
|
-
type:
|
39
|
+
type: has_many
|
40
40
|
filter:
|
41
41
|
layout: category
|
42
42
|
inverse: category_previous
|
@@ -47,13 +47,8 @@ categories_next:
|
|
47
47
|
es: '¿Cuáles categorías se desprenden de esta?'
|
48
48
|
en: 'Which categories depend on this one?'
|
49
49
|
posts:
|
50
|
-
type:
|
50
|
+
type: has_and_belongs_to_many
|
51
51
|
inverse: categories
|
52
|
-
filter:
|
53
|
-
layout:
|
54
|
-
- post
|
55
|
-
- page
|
56
|
-
- place
|
57
52
|
label:
|
58
53
|
es: 'Artículos'
|
59
54
|
en: 'Posts'
|
@@ -101,7 +96,7 @@ order:
|
|
101
96
|
es: 'La posición del artículo en la lista de artículos'
|
102
97
|
en: 'Post position in list'
|
103
98
|
notes:
|
104
|
-
type: '
|
99
|
+
type: 'markdown'
|
105
100
|
private: true
|
106
101
|
label:
|
107
102
|
es: 'Notas'
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
title:
|
3
|
+
type: 'string'
|
4
|
+
required: true
|
5
|
+
label:
|
6
|
+
en: ''
|
7
|
+
es: 'Nombre del ítem'
|
8
|
+
help:
|
9
|
+
en: ''
|
10
|
+
es: 'Tal como aparece en el menú'
|
11
|
+
post:
|
12
|
+
type: 'belongs_to'
|
13
|
+
label:
|
14
|
+
en: ''
|
15
|
+
es: 'Artículo'
|
16
|
+
help:
|
17
|
+
en: ''
|
18
|
+
es: 'Si el ítem lleva a un artículo fijo, asociarlo aquí'
|
19
|
+
item:
|
20
|
+
type: 'belongs_to'
|
21
|
+
inverse: items
|
22
|
+
filter:
|
23
|
+
layout: menu
|
24
|
+
label:
|
25
|
+
en: ''
|
26
|
+
es: 'Ítem anterior'
|
27
|
+
help:
|
28
|
+
en: ''
|
29
|
+
es: 'Si es un sub ítem, asociar el ítem superior aquí'
|
30
|
+
items:
|
31
|
+
type: 'has_many'
|
32
|
+
inverse: item
|
33
|
+
filter:
|
34
|
+
layout: menu
|
35
|
+
label:
|
36
|
+
en: ''
|
37
|
+
es: 'Sub ítemes'
|
38
|
+
help:
|
39
|
+
en: ''
|
40
|
+
es: 'Si el ítem tiene sub ítems, asociarlos aquí'
|
41
|
+
link:
|
42
|
+
type: 'string'
|
43
|
+
label:
|
44
|
+
en: ''
|
45
|
+
es: 'Vínculo'
|
46
|
+
help:
|
47
|
+
en: ''
|
48
|
+
es: 'Si el ítem lleva a una página o sección especial, asociarla aquí'
|
49
|
+
categories:
|
50
|
+
type: 'array'
|
51
|
+
label:
|
52
|
+
en: ''
|
53
|
+
es: 'Categorías'
|
54
|
+
help:
|
55
|
+
en: ''
|
56
|
+
es: 'Si el ítem lleva un sub menú de categorías, agregarlas aquí'
|
57
|
+
draft:
|
58
|
+
type: 'boolean'
|
59
|
+
label:
|
60
|
+
es: 'Borrador'
|
61
|
+
en: 'Draft'
|
62
|
+
help:
|
63
|
+
es: 'Este artículo aun no está listo para publicar'
|
64
|
+
en: "This post isn't ready to be published yet"
|
65
|
+
order:
|
66
|
+
type: 'order'
|
67
|
+
required: true
|
68
|
+
label:
|
69
|
+
es: 'Orden'
|
70
|
+
en: 'Order'
|
71
|
+
help:
|
72
|
+
es: 'La posición del artículo en la lista de artículos'
|
73
|
+
en: 'The post position in the posts list'
|