sutty-jekyll-theme 0.1.4 → 0.2.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: 3ca330cc5407eb7b03d020913c4177ecc8ccff53d5c9d3957e07c58726f5e03e
4
- data.tar.gz: 5fb9902219b5fc981153baa497acadb9a3edcba513ba4fb675211ecbcf30cda1
3
+ metadata.gz: 211917b5de3465400ce1b3a73bcf9f9cd0060e0179886724a585c658478c4b8f
4
+ data.tar.gz: fb272884242dced81506c31e612795cac7841ea54397a894b03f12283d0f14c3
5
5
  SHA512:
6
- metadata.gz: c064035c5d012c6abc9e775007a020c270920b0f84f1698f88c3812008452191e865a257be82ac54f84c51481838b23452634123180ea8c93b607a7a03449165
7
- data.tar.gz: 1330a562dc262b2facb6b216b193a257ac1b35af7f20cb2764ac535a673e54f080f5651d4c8e99759afd41ad3b2d71133aa89beabc0a9c7934d2abf5976d8733
6
+ metadata.gz: d9658ddcc06c6e6d4a070369346e9d51724f50d749f20d674bd6c623ddc14fa30d12ee6a6ba17925e4dd3494f4a7a82fe64158ef03fb14f6eeaedce0c5c2d1cf
7
+ data.tar.gz: e1898c6ab45eaa3009534dfe6674589a30d17a16a3f8345c55f7953807fd75ec6f2d1a549ddb24a5bc7c5cf6b4b734e93e838ec6b8cb6dcd8b8cbef5f1e924e6
data/_data/en.yml CHANGED
@@ -1,3 +1,58 @@
1
1
  ---
2
- date_format: "%m/%d/%Y"
3
2
  locale: "English"
3
+ date:
4
+ format: "%m/%d/%Y"
5
+ published_at: "Published at"
6
+ last_modified_at: "Last modification"
7
+ abbr_day_names:
8
+ - "Mon"
9
+ - "Tue"
10
+ - "Wed"
11
+ - "Thu"
12
+ - "Fri"
13
+ - "Sat"
14
+ - "Sun"
15
+ day_names:
16
+ - "Monday"
17
+ - "Tuesday"
18
+ - "Wednesday"
19
+ - "Thursday"
20
+ - "Friday"
21
+ - "Saturday"
22
+ - "Sunday"
23
+ abbr_month_names:
24
+ - "Jan"
25
+ - "Feb"
26
+ - "Mar"
27
+ - "Apr"
28
+ - "May"
29
+ - "Jun"
30
+ - "Jul"
31
+ - "Aug"
32
+ - "Sep"
33
+ - "Oct"
34
+ - "Nov"
35
+ - "Dec"
36
+ month_names:
37
+ - "January"
38
+ - "February"
39
+ - "March"
40
+ - "April"
41
+ - "May"
42
+ - "June"
43
+ - "July"
44
+ - "August"
45
+ - "September"
46
+ - "October"
47
+ - "November"
48
+ - "December"
49
+ time:
50
+ am: "am"
51
+ pm: "pm"
52
+ layouts:
53
+ about: "About"
54
+ code_of_conduct: "Code of conduct"
55
+ license: "Licence"
56
+ page: "Page"
57
+ post: "Post"
58
+ theme: "Customize"
data/_data/es.yml CHANGED
@@ -1,3 +1,58 @@
1
1
  ---
2
- date_format: "%d/%m/%Y"
3
2
  locale: "Castellano"
3
+ date:
4
+ format: "%d/%m/%Y"
5
+ published_at: "Publicado en"
6
+ last_modified_at: "Última modificación"
7
+ abbr_day_names:
8
+ - "Lun"
9
+ - "Mar"
10
+ - "Mié"
11
+ - "Jue"
12
+ - "Vie"
13
+ - "Sáb"
14
+ - "Dom"
15
+ day_names:
16
+ - "Lunes"
17
+ - "Martes"
18
+ - "Miércoles"
19
+ - "Jueves"
20
+ - "Viernes"
21
+ - "Sábado"
22
+ - "Domingo"
23
+ abbr_month_names:
24
+ - "Ene"
25
+ - "Feb"
26
+ - "Mar"
27
+ - "Abr"
28
+ - "May"
29
+ - "Jun"
30
+ - "Jul"
31
+ - "Ago"
32
+ - "Sep"
33
+ - "Oct"
34
+ - "Nov"
35
+ - "Dic"
36
+ month_names:
37
+ - "Enero"
38
+ - "Febrero"
39
+ - "Marzo"
40
+ - "Abril"
41
+ - "Mayo"
42
+ - "Junio"
43
+ - "Julio"
44
+ - "Agosto"
45
+ - "Septiembre"
46
+ - "Octubre"
47
+ - "Noviembre"
48
+ - "Diciembre"
49
+ time:
50
+ am: "am"
51
+ pm: "pm"
52
+ layouts:
53
+ about: "Acerca"
54
+ code_of_conduct: "Código de conducta"
55
+ license: "Licencia"
56
+ page: "Página"
57
+ post: "Artículo"
58
+ theme: "Personalizar"
@@ -0,0 +1,155 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ es: "Título"
7
+ en: "Post"
8
+ help:
9
+ es: ""
10
+ en: ""
11
+ tagline:
12
+ type: "string"
13
+ label:
14
+ es: "Bajada"
15
+ en: "Tagline"
16
+ help:
17
+ es: "La bajada es una descripción corta que acompaña al nombre del sitio"
18
+ en: "The tagline is a short description of your site"
19
+ description:
20
+ type: "text"
21
+ required: true
22
+ label:
23
+ es: "Descripción"
24
+ en: "Description"
25
+ help:
26
+ es: ""
27
+ en: ""
28
+ logo:
29
+ type: "image"
30
+ path:
31
+ label:
32
+ es: "Logo"
33
+ en: "Logo"
34
+ help:
35
+ es: ""
36
+ en: ""
37
+ description:
38
+ label:
39
+ es: "Descripción del logo"
40
+ en: "Logo description"
41
+ help:
42
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
43
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
44
+ image:
45
+ type: "image"
46
+ path:
47
+ label:
48
+ es: "Imagen para redes sociales"
49
+ en: "Image for social networks"
50
+ help:
51
+ es: ""
52
+ en: ""
53
+ description:
54
+ label:
55
+ es: "Descripción de la imagen"
56
+ en: "Image description"
57
+ help:
58
+ es: "Describí la imagen por razones de accesibilidad e indexacion en buscadores"
59
+ en: "Describe the image for accesibility purposes and for indexation in search engines"
60
+ email:
61
+ type: "email"
62
+ label:
63
+ es: "Correo electrónico"
64
+ en: "E-mail address"
65
+ help:
66
+ es: ""
67
+ en: ""
68
+ social_networks:
69
+ type: "array"
70
+ label:
71
+ es: "Redes sociales"
72
+ en: "Social networks"
73
+ help:
74
+ es: "Direcciones completas de los perfiles en redes sociales"
75
+ en: "Full addresses of social network profiles"
76
+ facebook_app_id:
77
+ type: "string"
78
+ label:
79
+ es: "Identificador de app de Facebook"
80
+ en: "Facebook app ID"
81
+ help:
82
+ es: ""
83
+ en: ""
84
+ webmaster_verification_google:
85
+ type: "string"
86
+ label:
87
+ es: "Verificación de sitio web en Google"
88
+ en: "Webmaster verification on Google"
89
+ help:
90
+ es: ""
91
+ en: ""
92
+ webmaster_verification_bing:
93
+ type: "string"
94
+ label:
95
+ es: "Verificación de sitio web en Bing"
96
+ en: "Webmaster verification on Bing"
97
+ help:
98
+ es: ""
99
+ en: ""
100
+ webmaster_verification_alexa:
101
+ type: "string"
102
+ label:
103
+ es: "Verificación de sitio web en Alexa"
104
+ en: "Webmaster verification on Alexa"
105
+ help:
106
+ es: ""
107
+ en: ""
108
+ webmaster_verification_yandex:
109
+ type: "string"
110
+ label:
111
+ es: "Verificación de sitio web en Yandex"
112
+ en: "Webmaster verification on Yandex"
113
+ help:
114
+ es: ""
115
+ en: ""
116
+ webmaster_verification_baidu:
117
+ type: "string"
118
+ label:
119
+ es: "Verificación de sitio web en Baidu"
120
+ en: "Webmaster verification on Baidu"
121
+ help:
122
+ es: ""
123
+ en: ""
124
+ webmaster_verification_facebook:
125
+ type: "string"
126
+ label:
127
+ es: "Verificación de sitio web en Facebook"
128
+ en: "Webmaster verification on Facebook"
129
+ help:
130
+ es: ""
131
+ en: ""
132
+ locales:
133
+ type: "locales"
134
+ label:
135
+ es: "Traducciones"
136
+ en: "Translations"
137
+ help:
138
+ es: "Vínculo al mismo artículo en otros idiomas"
139
+ en: "Link to same post in other languages"
140
+ draft:
141
+ type: "boolean"
142
+ label:
143
+ es: "Borrador"
144
+ en: "Draft"
145
+ help:
146
+ 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\""
147
+ 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)."
148
+ order:
149
+ type: "order"
150
+ label:
151
+ es: "Orden"
152
+ en: "Order"
153
+ help:
154
+ es: "La posición del artículo en la lista de artículos"
155
+ 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 del Codigo de Conducta"
7
+ en: "Title of code of conduct"
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 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,295 @@
1
+ ---
2
+ title:
3
+ type: "string"
4
+ required: true
5
+ label:
6
+ en: "Title"
7
+ es: "Título"
8
+ help:
9
+ en: "The name you want to give to this customization"
10
+ es: "El nombre que quieras darle a esta personalización"
11
+ font_family_sans_serif:
12
+ type: "predefined_value"
13
+ label:
14
+ en: "Select a typography for the site"
15
+ es: "Selecciona una tipografía para el sitio"
16
+ help:
17
+ en: "If you'd like us to add support for a typography, please send us an e-mail"
18
+ es: "Si quieres que agreguemos una tipografía, por favor envíanos un e-mail"
19
+ default:
20
+ en: ""
21
+ es: ""
22
+ values:
23
+ en:
24
+ "": "Default"
25
+ Roboto: "Roboto"
26
+ Saira: "Saira"
27
+ es:
28
+ "": "Default"
29
+ Roboto: "Roboto"
30
+ Saira: "Saira"
31
+ font_family_monospace:
32
+ type: "predefined_value"
33
+ label:
34
+ en: "Select a monospace typography for the site"
35
+ es: "Selecciona una tipografía monospace para el sitio"
36
+ help:
37
+ en: ""
38
+ es: ""
39
+ default:
40
+ en: ""
41
+ es: ""
42
+ values:
43
+ en:
44
+ "": "Default"
45
+ Roboto Mono: "Roboto Mono"
46
+ Liberation Mono: "Liberation Mono"
47
+ es:
48
+ "": "Default"
49
+ Roboto Mono: "Roboto Mono"
50
+ Liberation Mono: "Liberation Mono"
51
+ headings_font_family:
52
+ type: "predefined_value"
53
+ label:
54
+ en: "Select a typography for headings"
55
+ es: "Selecciona una tipografía para los títulos del sitio"
56
+ help:
57
+ en: "If you'd us to add support for a typography, please send us an e-mail"
58
+ es: "Si quieres que agreguemos una tipografía, por favor envíanos un e-mail"
59
+ default:
60
+ en: ""
61
+ es: ""
62
+ values:
63
+ en:
64
+ "": "Default"
65
+ Roboto: "Roboto"
66
+ Saira: "Saira"
67
+ es:
68
+ "": "Default"
69
+ Roboto: "Roboto"
70
+ Saira: "Saira"
71
+ enable_rounded:
72
+ type: "boolean"
73
+ label:
74
+ en: "Rounded corners"
75
+ es: "Esquinas redondeadas"
76
+ help:
77
+ en: "For buttons, form inputs, etc."
78
+ es: "De los botones, campos de formularios, etc."
79
+ default:
80
+ es: false
81
+ en: false
82
+ enable_shadows:
83
+ type: "boolean"
84
+ label:
85
+ en: "Shadows"
86
+ es: "Sombras"
87
+ help:
88
+ en: "Shadows behind elements"
89
+ es: "Sombras en los elementos"
90
+ default:
91
+ es: false
92
+ en: false
93
+ body_bg:
94
+ type: "color"
95
+ label:
96
+ en: "Background color"
97
+ es: "Color de fondo"
98
+ help:
99
+ en: "Site's background color"
100
+ es: "Color de fondo del sitio"
101
+ default:
102
+ es: "#FFFFFF"
103
+ en: "#FFFFFF"
104
+ body_color:
105
+ type: "color"
106
+ label:
107
+ en: "Text color"
108
+ es: "Color del texto"
109
+ help:
110
+ en: ""
111
+ es: ""
112
+ default:
113
+ es: "#212529"
114
+ en: "#212529"
115
+ primary:
116
+ type: "color"
117
+ label:
118
+ en: "Primary color"
119
+ es: "Color principal"
120
+ help:
121
+ en: "Highlights certain elements"
122
+ es: "Resalta algunos elementos"
123
+ default:
124
+ es: "#f206f9"
125
+ en: "#f206f9"
126
+ secondary:
127
+ type: "color"
128
+ label:
129
+ en: "Secondary color"
130
+ es: "Color secundario"
131
+ help:
132
+ en: "Highlights certain elements"
133
+ es: "Resalta algunos elementos"
134
+ default:
135
+ es: "#13fefe"
136
+ en: "#13fefe"
137
+ link_color:
138
+ type: "color"
139
+ label:
140
+ en: "Link color"
141
+ es: "Color de los vínculos"
142
+ help:
143
+ en: ""
144
+ es: ""
145
+ default:
146
+ es: "#007bff"
147
+ en: "#007bff"
148
+ link_hover_color:
149
+ type: "color"
150
+ label:
151
+ en: "Link color when selected"
152
+ es: "Color de los vínculos al seleccionarlos"
153
+ help:
154
+ en: ""
155
+ es: ""
156
+ default:
157
+ es: "#0056b3"
158
+ en: "#0056b3"
159
+ h1_font_size:
160
+ type: "string"
161
+ label:
162
+ en: "Height for first level headings"
163
+ es: "Altura de los títulos de primer nivel"
164
+ help:
165
+ en: ""
166
+ es: ""
167
+ default:
168
+ es: "2.5rem"
169
+ en: "2.5rem"
170
+ h2_font_size:
171
+ type: "string"
172
+ label:
173
+ en: "Height for second level headings"
174
+ es: "Altura de los títulos de segundo nivel"
175
+ help:
176
+ en: ""
177
+ es: ""
178
+ default:
179
+ es: "2rem"
180
+ en: "2rem"
181
+ h3_font_size:
182
+ type: "string"
183
+ label:
184
+ en: "Height for third level headings"
185
+ es: "Altura de los títulos de tercer nivel"
186
+ help:
187
+ en: ""
188
+ es: ""
189
+ default:
190
+ es: "1.75rem"
191
+ en: "1.75rem"
192
+ h4_font_size:
193
+ type: "string"
194
+ label:
195
+ en: "Height for fourth level headings"
196
+ es: "Altura de los títulos de cuarto nivel"
197
+ help:
198
+ en: ""
199
+ es: ""
200
+ default:
201
+ es: "1.5rem"
202
+ en: "1.5rem"
203
+ h5_font_size:
204
+ type: "string"
205
+ label:
206
+ en: "Height for fifth level headings"
207
+ es: "Altura de los títulos de quinto nivel"
208
+ help:
209
+ en: ""
210
+ es: ""
211
+ default:
212
+ es: "1.25rem"
213
+ en: "1.25rem"
214
+ h6_font_size:
215
+ type: "string"
216
+ label:
217
+ en: "Height for sixth level headings"
218
+ es: "Altura de los títulos de sexto nivel"
219
+ help:
220
+ en: ""
221
+ es: ""
222
+ default:
223
+ es: "1rem"
224
+ en: "1rem"
225
+ mark_bg:
226
+ type: "color"
227
+ label:
228
+ en: "Highlight color"
229
+ es: "Color de resaltado"
230
+ help:
231
+ en: "Default color for highlighted text"
232
+ es: "Color por defecto para el texto resaltado"
233
+ default:
234
+ es: "#fcf8e3"
235
+ en: "#fcf8e3"
236
+ navbar_light_color:
237
+ type: "color"
238
+ label:
239
+ en: "Navigation bar item color"
240
+ es: "Color de ítem en la barra de navegación"
241
+ help:
242
+ en: "Text and icons"
243
+ es: "Texto e íconos"
244
+ default:
245
+ es: "#ced4da"
246
+ en: "#ced4da"
247
+ navbar_light_hover_color:
248
+ type: "color"
249
+ label:
250
+ en: "Navigation bar item color when selected"
251
+ es: "Color de ítem seleccionado en la barra de navegación"
252
+ help:
253
+ en: "Text and icons"
254
+ es: "Texto e íconos"
255
+ default:
256
+ es: "#6c757d"
257
+ en: "#6c757d"
258
+ navbar_light_active_color:
259
+ type: "color"
260
+ label:
261
+ en: "Navigation bar item color when active"
262
+ es: "Color de ítem activo en la barra de navegación"
263
+ help:
264
+ en: "Text and icons"
265
+ es: "Texto e íconos"
266
+ default:
267
+ es: "#212529"
268
+ en: "#212529"
269
+ testing:
270
+ type: "boolean"
271
+ label:
272
+ en: "Testing"
273
+ es: "Testeo"
274
+ help:
275
+ en: "When activated, shows screen information for testing"
276
+ es: "Al activar se muestra información de la pantalla para testing"
277
+ default:
278
+ es: false
279
+ en: false
280
+ draft:
281
+ type: "boolean"
282
+ label:
283
+ es: "Borrador"
284
+ en: "Draft"
285
+ help:
286
+ 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\""
287
+ 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)."
288
+ order:
289
+ type: "order"
290
+ label:
291
+ es: "Orden"
292
+ en: "Order"
293
+ help:
294
+ es: "La posición del artículo en la lista de artículos"
295
+ en: "Position in list of posts"
@@ -1,6 +1,12 @@
1
+ {% assign about = site.posts | find: "layout", "about" %}
2
+
1
3
  <nav class="navbar navbar-expand-lg navbar-light bg-light d-print-block" role="navigation" aria-label="{{ site.i18n.menu.title }}">
2
- <a class="navbar-brand" href="">
3
- {% include_cached logo.svg %}
4
+ <a class="navbar-brand" href="?#">
5
+ {% if about.logo.path %}
6
+ <img src="{{ about.logo.path | thumbnail: nil, 30 | uri_escape }}" height="30" alt="{{ about.logo.description | default: about.title }}" />
7
+ {% else %}
8
+ {{ about.title }}
9
+ {% endif %}
4
10
  </a>
5
11
 
6
12
  {% comment %}
@@ -0,0 +1,56 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign licence = site.posts | find: "layout", "license" %}
6
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
+
8
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
9
+ <header>
10
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
11
+
12
+ {%- if page.description -%}
13
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
14
+ {%- endif -%}
15
+
16
+ <p>
17
+ {{ site.i18n.published_at }}
18
+
19
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
20
+ {{ page.date | date_local: date_format }}
21
+ </time>
22
+
23
+ {% if page.last_modified_at %}
24
+ {{ site.i18n.last_modified_at }}
25
+
26
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
27
+ {{ page.last_modified_at | date_local: date_format }}
28
+ </time>
29
+ {% endif %}
30
+ </p>
31
+ </header>
32
+
33
+ <div class="e-content" itemprop="articleBody">
34
+ {{ content }}
35
+ </div>
36
+
37
+ <footer>
38
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
39
+ {{ site.url }}{{ page.url }}
40
+ </a>
41
+
42
+ {%- if page.uuid -%}
43
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
44
+ {%- endif -%}
45
+
46
+ {%- if license -%}
47
+ <p itemprop="license" itemtype="http://schema.org/CreativeWork">
48
+ <a rel="license" itemprop="url" href="{{ license.url }}">
49
+ <span itemprop="articleBody">
50
+ {{ license.description }}
51
+ </span>
52
+ </a>
53
+ </p>
54
+ {%- endif -%}
55
+ </footer>
56
+ </article>
@@ -1,3 +1,6 @@
1
+ {%- assign license = site.posts | find: "layout", "license" -%}
2
+ {%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%}
3
+
1
4
  <!DOCTYPE html>
2
5
  <html lang="{{ site.lang }}" dir="{{ site.dir }}">
3
6
  <head>
@@ -13,15 +16,25 @@
13
16
  {% seo %}
14
17
  {% feed_meta %}
15
18
  </head>
16
- <body>
19
+ <body class="min-vh-100 d-flex flex-column">
17
20
  {% include navbar.html %}
18
21
 
19
- <main class="container">
22
+ <main class="container flex-grow-1">
20
23
  <div class="row justify-content-center d-print-block">
21
24
  <div class="col-md-8">
22
25
  {{ content }}
23
26
  </div>
24
27
  </div>
25
28
  </main>
29
+
30
+ <footer class="p-3">
31
+ {% if license %}
32
+ <a href="{{ license.url }}" rel="license">{{ license.title }}</a>
33
+ {% endif %}
34
+
35
+ {% if code_of_conduct %}
36
+ <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a>
37
+ {% endif %}
38
+ </footer>
26
39
  </body>
27
40
  </html>
data/_layouts/home.html CHANGED
@@ -2,6 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+ {% assign posts = site.posts | where: "layout", "post" %}
6
+
5
7
  <section class="home">
6
8
  <header>
7
9
  <h1 class="page-heading">{{ site.title }}</h1>
@@ -13,7 +15,7 @@ layout: default
13
15
  {%- if site.posts.size > 0 -%}
14
16
  <section class="articles">
15
17
  <h2>{{ site.i18n.home.articles | default: "Articles" }}</h2>
16
- {%- for post in site.posts -%}
18
+ {%- for post in posts -%}
17
19
  <article>
18
20
  {%- assign date_format = site.i18n.date_format | default: "%b %-d, %Y" -%}
19
21
  <span class="post-meta">{{ post.date | date: date_format }}</span>
@@ -0,0 +1,56 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign licence = site.posts | find: "layout", "license" %}
6
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
+
8
+ <article class="h-entry" itemscope itemtype="http://schema.org/Article">
9
+ <header>
10
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
11
+
12
+ {%- if page.description -%}
13
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
14
+ {%- endif -%}
15
+
16
+ <p>
17
+ {{ site.i18n.published_at }}
18
+
19
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
20
+ {{ page.date | date_local: date_format }}
21
+ </time>
22
+
23
+ {% if page.last_modified_at %}
24
+ {{ site.i18n.last_modified_at }}
25
+
26
+ <time class="dt-published" datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="datePublished">
27
+ {{ page.last_modified_at | date_local: date_format }}
28
+ </time>
29
+ {% endif %}
30
+ </p>
31
+ </header>
32
+
33
+ <div class="e-content" itemprop="articleBody">
34
+ {{ content }}
35
+ </div>
36
+
37
+ <footer>
38
+ <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
39
+ {{ site.url }}{{ page.url }}
40
+ </a>
41
+
42
+ {%- if page.uuid -%}
43
+ <span hidden itemprop="identifier">{{ page.uuid }}</span>
44
+ {%- endif -%}
45
+
46
+ {%- if license -%}
47
+ <p itemprop="license" itemtype="http://schema.org/CreativeWork">
48
+ <a rel="license" itemprop="url" href="{{ license.url }}">
49
+ <span itemprop="articleBody">
50
+ {{ license.description }}
51
+ </span>
52
+ </a>
53
+ </p>
54
+ {%- endif -%}
55
+ </footer>
56
+ </article>
data/_layouts/page.html CHANGED
@@ -2,15 +2,15 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% comment %}
6
- TODO: Pages are the same as posts.
7
- {% endcomment %}
5
+ {% assign licence = site.posts | find: "layout", "license" %}
6
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
+
8
8
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
9
9
  <header>
10
- <h1 class="p-name" itemprop="name headline">{{ page.title | escape }}</h1>
10
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
11
11
 
12
12
  {%- if page.description -%}
13
- <p class="lead p-summary" itemprop="description">{{ page.description | escape }}</p>
13
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
14
14
  {%- endif -%}
15
15
 
16
16
  {%- if page.image.path -%}
@@ -25,14 +25,13 @@ layout: default
25
25
 
26
26
  <p>
27
27
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
28
- {%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
29
- {{ page.date | date: date_format }}
28
+ {{ page.date | date_local: date_format }}
30
29
  </time>
31
30
  {%- for author in page.author -%}
32
31
 
33
32
  <span itemprop="author" itemscope itemtype="http://schema.org/Person">
34
33
  <span class="p-author h-card" itemprop="name">
35
- {{ author | escape }}
34
+ {{ author | default: '' | escape }}
36
35
  </span>
37
36
  </span>
38
37
  {%- endfor -%}
@@ -45,18 +44,18 @@ layout: default
45
44
 
46
45
  <footer>
47
46
  <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
48
- {{ site.url }}/{{ page.url }}
47
+ {{ site.url }}{{ page.url }}
49
48
  </a>
50
49
 
51
50
  {%- if page.uuid -%}
52
51
  <span hidden itemprop="identifier">{{ page.uuid }}</span>
53
52
  {%- endif -%}
54
53
 
55
- {%- if page.license.url -%}
54
+ {%- if license -%}
56
55
  <p itemprop="license" itemtype="http://schema.org/CreativeWork">
57
- <a rel="license" itemprop="url" href="{{ page.license.url }}">
56
+ <a rel="license" itemprop="url" href="{{ license.url }}">
58
57
  <span itemprop="articleBody">
59
- {{ page.license.description }}
58
+ {{ license.description }}
60
59
  </span>
61
60
  </a>
62
61
  </p>
data/_layouts/post.html CHANGED
@@ -2,12 +2,15 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
+ {% assign licence = site.posts | find: "layout", "license" %}
6
+ {% assign date_format = site.i18n.date.format | default: "%b %-d, %Y" %}
7
+
5
8
  <article class="h-entry" itemscope itemtype="http://schema.org/Article">
6
9
  <header>
7
- <h1 class="p-name" itemprop="name headline">{{ page.title | escape }}</h1>
10
+ <h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
8
11
 
9
12
  {%- if page.description -%}
10
- <p class="lead p-summary" itemprop="description">{{ page.description | escape }}</p>
13
+ <p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
11
14
  {%- endif -%}
12
15
 
13
16
  {%- if page.image.path -%}
@@ -22,14 +25,13 @@ layout: default
22
25
 
23
26
  <p>
24
27
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
25
- {%- assign date_format = site.i18n.date | default: "%b %-d, %Y" -%}
26
- {{ page.date | date: date_format }}
28
+ {{ page.date | date_local: date_format }}
27
29
  </time>
28
30
  {%- for author in page.author -%}
29
31
 
30
32
  <span itemprop="author" itemscope itemtype="http://schema.org/Person">
31
33
  <span class="p-author h-card" itemprop="name">
32
- {{ author | escape }}
34
+ {{ author | default: '' | escape }}
33
35
  </span>
34
36
  </span>
35
37
  {%- endfor -%}
@@ -42,18 +44,18 @@ layout: default
42
44
 
43
45
  <footer>
44
46
  <a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
45
- {{ site.url }}/{{ page.url }}
47
+ {{ site.url }}{{ page.url }}
46
48
  </a>
47
49
 
48
50
  {%- if page.uuid -%}
49
51
  <span hidden itemprop="identifier">{{ page.uuid }}</span>
50
52
  {%- endif -%}
51
53
 
52
- {%- if page.license.url -%}
54
+ {%- if license -%}
53
55
  <p itemprop="license" itemtype="http://schema.org/CreativeWork">
54
- <a rel="license" itemprop="url" href="{{ page.license.url }}">
56
+ <a rel="license" itemprop="url" href="{{ license.url }}">
55
57
  <span itemprop="articleBody">
56
- {{ page.license.description }}
58
+ {{ license.description }}
57
59
  </span>
58
60
  </a>
59
61
  </p>
data/_sass/variables.scss CHANGED
@@ -1,12 +1,3 @@
1
1
  $print-page-size: a4;
2
-
3
2
  $enable-print-styles: true;
4
3
  $enable-responsive-font-sizes: true;
5
-
6
- $font-family-sans-serif: Saira, sans-serif;
7
-
8
- $cyan: #13fefe;
9
- $magenta: #f206f9;
10
-
11
- $primary: $magenta;
12
- $secondary: $cyan;
@@ -1,22 +1,18 @@
1
1
  ---
2
2
  ---
3
3
 
4
+ {%- assign theme = site.posts | find: "layout", "theme" -%}
5
+
6
+ {% if theme %}
7
+ {{ theme | yaml_to_scss: site.data.layouts.theme }}
8
+ {% endif %}
9
+
4
10
  @import "variables";
11
+ @import "bootstrap/scss/bootstrap";
5
12
  @import "saira";
6
13
  @import "selection";
7
- @import "bootstrap/scss/bootstrap-reboot";
8
- @import "bootstrap/scss/bootstrap-grid";
9
- @import "bootstrap/scss/images";
10
- @import "bootstrap/scss/nav";
11
- @import "bootstrap/scss/navbar";
12
- @import "bootstrap/scss/type";
13
- @import "bootstrap/scss/forms";
14
- @import "bootstrap/scss/buttons";
15
14
  @import "buttons";
16
15
  @import "crypto";
17
- @import "bootstrap/scss/utilities/display";
18
- @import "bootstrap/scss/utilities/screenreaders";
19
- @import "bootstrap/scss/print";
20
16
  @import "print";
21
17
  @import "images";
22
18
  @import "custom";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sutty-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - f
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-relative-urls
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: sutty-liquid
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: bundler
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -137,12 +151,18 @@ files:
137
151
  - README.md
138
152
  - _data/en.yml
139
153
  - _data/es.yml
154
+ - _data/layouts/about.yml
155
+ - _data/layouts/code_of_conduct.yml
156
+ - _data/layouts/license.yml
140
157
  - _data/layouts/page.yml
141
158
  - _data/layouts/post.yml
159
+ - _data/layouts/theme.yml
142
160
  - _includes/logo.svg
143
161
  - _includes/navbar.html
162
+ - _layouts/code_of_conduct.html
144
163
  - _layouts/default.html
145
164
  - _layouts/home.html
165
+ - _layouts/license.html
146
166
  - _layouts/page.html
147
167
  - _layouts/post.html
148
168
  - _sass/buttons.scss