adhesiones-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +168 -0
  3. data/README.md +113 -0
  4. data/_config.yml +45 -0
  5. data/_data/en.yml +50 -0
  6. data/_data/es.yml +50 -0
  7. data/_data/layouts/adhesion.yml +70 -0
  8. data/_data/layouts/post.yml +123 -0
  9. data/_includes/boolean.html +30 -0
  10. data/_includes/contact.html +19 -0
  11. data/_includes/content.html +1 -0
  12. data/_includes/email.html +1 -0
  13. data/_includes/file.html +33 -0
  14. data/_includes/form/boolean.html +1 -0
  15. data/_includes/form/content.html +1 -0
  16. data/_includes/form/email.html +1 -0
  17. data/_includes/form/file.html +1 -0
  18. data/_includes/form/hidden.html +1 -0
  19. data/_includes/form/input.html +1 -0
  20. data/_includes/form/markdown_content.html +1 -0
  21. data/_includes/form/number.html +1 -0
  22. data/_includes/form/predefined_array.html +1 -0
  23. data/_includes/form/section.html +1 -0
  24. data/_includes/form/separator.html +1 -0
  25. data/_includes/form/string.html +1 -0
  26. data/_includes/form/submit.html +1 -0
  27. data/_includes/form/text.html +1 -0
  28. data/_includes/form/url.html +1 -0
  29. data/_includes/hidden.html +5 -0
  30. data/_includes/input.html +33 -0
  31. data/_includes/markdown_content.html +1 -0
  32. data/_includes/navbar.html +29 -0
  33. data/_includes/number.html +1 -0
  34. data/_includes/predefined_array.html +39 -0
  35. data/_includes/section.html +1 -0
  36. data/_includes/separator.html +1 -0
  37. data/_includes/share.html +12 -0
  38. data/_includes/share_box.html +16 -0
  39. data/_includes/string.html +3 -0
  40. data/_includes/submit.html +1 -0
  41. data/_includes/text.html +32 -0
  42. data/_includes/url.html +1 -0
  43. data/_layouts/default.html +26 -0
  44. data/_layouts/home.html +182 -0
  45. data/_layouts/post.html +69 -0
  46. data/_sass/accessibility.scss +13 -0
  47. data/_sass/font.scss +17 -0
  48. data/_sass/helpers.scss +54 -0
  49. data/_sass/share.html +12 -0
  50. data/_sass/share_box.html +16 -0
  51. data/_sass/share_box.scss +26 -0
  52. data/_sass/toggler.scss +39 -0
  53. data/assets/css/styles.scss +83 -0
  54. data/assets/fonts/forkawesome-webfont.woff2 +0 -0
  55. data/assets/fonts/saira/v3/Saira-subset.zopfli.woff +0 -0
  56. data/assets/fonts/saira/v3/Saira.ttf +0 -0
  57. data/assets/fonts/saira/v3/SairaBold-subset.zopfli.woff +0 -0
  58. data/assets/fonts/saira/v3/SairaBold.ttf +0 -0
  59. data/assets/fonts/saira/v3/SairaMedium-subset.zopfli.woff +0 -0
  60. data/assets/fonts/saira/v3/SairaMedium.ttf +0 -0
  61. data/assets/js/script.js +39 -0
  62. metadata +261 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 33ca5107c05d3712dff3634de2f36f98b6fa996df620bf6391feb35236f4d2da
4
+ data.tar.gz: 71bda5f9a5879a0ccb9a34a650fd7102dd7aacdf3a3cd5497c57492f969813b6
5
+ SHA512:
6
+ metadata.gz: b04ac3592499f8cca0a1f579192576f0d2997508f4c2e47db07ce3253b1bdbe8c913e576f0b5c2cfd075d36eea6f8345ac33bb9e8d9b260402cbfb9a299a6945
7
+ data.tar.gz: 2364976c79529f3886e652a916901b8346dd2c717b4da0807ab80b797df94f732d94f720034ced1fc53d47006214524264226dba5bc1f33fcbcf9d7a33bf1cbc
@@ -0,0 +1,168 @@
1
+ Copyright (c) 2020 Sutty
2
+
3
+ The following license is modified from the MIT license and downloaded
4
+ from <https://github.com/Laurelai/anti-fascist-mit-license> on
5
+ 2019-07-11.
6
+
7
+ Anti-Fascist MIT License:
8
+
9
+ The following conditions must be met by any person obtaining a copy of
10
+ this software:
11
+
12
+ - You MAY NOT be a fascist.
13
+ - You MUST not financially support fascists.
14
+ - You MUST not intentionally provide or knowingly provide through
15
+ inaction a platform for fascists to spread propaganda or organize.
16
+ - You MUST not publicly voice support for fascists.
17
+ - You MAY NOT be a member of any fascist organization, even if you are a
18
+ member to infiltrate for anti-fascist purposes.
19
+
20
+ "Fascist" can be understood as any group or individual who promotes the
21
+ political ideology of fascism.
22
+
23
+ "Fascism" can be broken down into 11 ideological features as well as 8
24
+ tactics that can form a fascist system in varying combinations, for the
25
+ sake of simplicity and brevity the individual or organization in
26
+ question must match to at least 5 features or tactics or a combination
27
+ of the two determined by the individual licencer.
28
+
29
+ Said licencer may provide a list if an individual or group matches to at
30
+ least 5 features upon request from the individual or group in question.
31
+
32
+ The ideological features are listed below.
33
+
34
+ 1. Hyper-nationalism.
35
+
36
+ As defined as "The belief in the superiority of one's nation and of the
37
+ paramount importance of advancing it."
38
+
39
+ 2. Militarism.
40
+
41
+ As defined as "Advocating for an increase in military forces beyond what
42
+ the real defense of a nation needs, more influence of the military upon
43
+ the policies of the civilian government, and a preference for force as a
44
+ solution over diplomacy for problems."
45
+
46
+ 3. Glorification of violence and readiness to use it in politics.
47
+
48
+ As defined as "The belief that violence can be used to cleanse a
49
+ tarnished nation, also by using violence to harm, intimidate or kill
50
+ political oppoenents."
51
+
52
+ 4. Fetishization of youth.
53
+
54
+ As defined as "Extolling the virtues of youth and making a special
55
+ appeal to young people to join a cause or organization"
56
+
57
+ 5. Fetishization of masculinity.
58
+
59
+ As defined as "Extolling the virtues of male authority or patriarchy and
60
+ making a special appeal to men to be leaders of households and groups"
61
+
62
+ 6. Leader cult.
63
+
64
+ As defined as "Creating an idealized, heroic, and worshipful image of a
65
+ leader, often through unquestioning flattery and praise."
66
+
67
+ 7. Lost-golden-age syndrome.
68
+
69
+ As defined as "Creating or promoting the idea that a nation had a lost
70
+ or stolen golden age in the past that must be returned to"
71
+
72
+ 8. Self-definition by opposition.
73
+
74
+ As defined as "Creating or promoting the idea that the group or
75
+ individual is the only person or way who can fight real or imagined
76
+ evils within a society."
77
+
78
+ 9. Mass mobilization and mass party.
79
+
80
+ As defined as "Creating or promoting the creation of a populist group or
81
+ party for the advancment of fascist tactics or features."
82
+
83
+ 10. Hierarchical party structure and tendency to purge the disloyal.
84
+
85
+ As defined as "Removal of membership from a group for lacking absolute
86
+ loyalty or lacking further usefulness to the group. Also having a
87
+ hierarchical structure within the group itself."
88
+
89
+ 11. Theatricality.
90
+
91
+ As defined as "Using spectacle to gain and keep the attention of those
92
+ inside and outside of the group using speeches full of absolutes and or
93
+ superlatives. Elaborate collective rituals (rallies) meant to reenforce
94
+ loyalty within the group."
95
+
96
+ Fascist tactics include
97
+
98
+ 1) Persecution of national minorities.
99
+ 2) Persecution of racial minorities.
100
+ 3) Persecution of religious minorities (Anti-Semitism, Islamophobia and others).
101
+ 4) Promotion of a type of national purity.
102
+ 5) Promotion of a state run by ideologically oriented corporate bodies.
103
+ 6) Persecution of gender or sexual minorities.
104
+ 7) Persecution of the disabled.
105
+ 8) Formation of extra-legal forces (brownshirts) to defend fascist values.
106
+
107
+ Special criteria: Meeting only one point of the special criteria is
108
+ enough to consider someone or a group to be fascist for the purposes of
109
+ this licence.
110
+
111
+ 1. Promotion of any theories that state members of the jewish ethnicity
112
+ or faith control or largely control the world, finance, or other
113
+ global major power system.
114
+
115
+ 2. Denial of the holocaust or any other historically proven genocide.
116
+
117
+ 3. Promotion of ethnostates.
118
+
119
+ 4. Advocating for eugenics. Either positive or negative eugenics.
120
+ Promotion for the rights of abortion are not considered eugenics.
121
+
122
+ 5. Advocating for the removal of rights or legal protections from a
123
+ class or group of people.
124
+
125
+ Former fascists: People or organizations who used to promote the
126
+ political ideology of fascism but no longer do so must meet the
127
+ following criterea to be able to use this software.
128
+
129
+ 1. Publicly disavow past fascist deeds and ideologies.
130
+
131
+ 2. Expose any and all known fascists former allies to the public.
132
+
133
+ A suggested route would be through the one peoples project
134
+ (onepeoplesproject.com). If they can confirm you have done so that
135
+ will count as meeting condition two.
136
+
137
+ 3. Publicly destroy any and all fascist paraphenelia you have in your
138
+ posession including removal of tattoos and body markings
139
+ affiliated with fascist groups or gangs.
140
+
141
+ ANTI-FASCIST-MIT LICENSE:
142
+
143
+ Permission is hereby granted, free of charge, to any person obtaining a
144
+ copy of this software and associated documentation files (the
145
+ "Software"), to deal in the Software without restriction, including
146
+ without limitation the rights to use, copy, modify, merge, publish,
147
+ distribute, sublicense, and/or sell copies of the Software, and to
148
+ permit persons to whom the Software is furnished to do so, subject to
149
+ the following conditions:
150
+
151
+ The above copyright notice and this permission notice shall be included
152
+ in all copies or substantial portions of the Software.
153
+
154
+ The above licence agreement conditions are met in full.
155
+
156
+ The Anti-Fascist MIT License may only be used under the terms of the
157
+ Anti-Fascist MIT License.
158
+
159
+ Any modified versions of this software must also include the
160
+ Anti-Fascist MIT Licence.
161
+
162
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
163
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
164
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
165
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
166
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
167
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
168
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,113 @@
1
+ # sutty-base-jekyll-theme
2
+
3
+ CAMBIAME: Esta es una plantilla base para comenzar cualquier plantilla
4
+ relacionada con Sutty, con el entorno de desarrollo que usamos según
5
+ nuestro flujo de trabajo.
6
+
7
+ La instalación de esta gema se realiza bifurcando el desarrollo de esta
8
+ usando git, por ejemplo:
9
+
10
+ ```bash
11
+ # Hacer un fork local desde sutty-base-jekyll-theme a nuestra plantilla
12
+ git clone https://0xacab.org/sutty/jekyll/sutty-base-jekyll-theme.git \
13
+ CAMBIAME-jekyll-theme
14
+ cd CAMBIAME-jekyll-theme
15
+
16
+ # Sutty-base ahora es el proyecto base, desde el que podemos tomar
17
+ # cambios, pero no enviamos para no mezclar las cosas
18
+ git remote rename origin upstream
19
+
20
+ # Agregamos el repositorio donde vamos a enviar y publicar cambios
21
+ git remote add origin \
22
+ git@0xacab.org:sutty/jekyll/CAMBIAME-jekyll-theme.git
23
+
24
+ # Configuramos git para que envíe siempre los cambios al repositorio
25
+ # nuevo
26
+ git push --set-upstream origin master
27
+ ```
28
+
29
+ Para empezar, hay que buscar y reemplazar en todos los archivos donde
30
+ diga `CAMBIAME`.
31
+
32
+ También hay que instalar las dependencias de CSS y JS con `yarn`.
33
+
34
+ ## Publicación
35
+
36
+ Para publicar la plantilla, primero hay que cambiar el nombre al archivo
37
+ `sutty-base-jekyll-theme.gemspec`:
38
+
39
+ ```bash
40
+ git mv {sutty-base,CAMBIAME}-jekyll-theme.gemspec
41
+ ```
42
+
43
+ Cada vez que actualicemos la gema hay que editar
44
+ `CAMBIAME-jekyll-theme.gemspec` para cambiar la versión.
45
+
46
+ Y luego para compilar y publicar la gema:
47
+
48
+ ```bash
49
+ gem build CAMBIAME-jekyll-theme.gemspec
50
+ gem push CAMBIAME-VERSION.gemspec
51
+ ```
52
+
53
+ También hay que actualizar la versión en el
54
+ [skel](https://0xacab.org/sutty/skel.sutty.nl/).
55
+
56
+
57
+ ## Installation
58
+
59
+ Add this line to your Jekyll site's `Gemfile`:
60
+
61
+ ```ruby
62
+ gem "CAMBIAME-jekyll-theme"
63
+ ```
64
+
65
+ And add this line to your Jekyll site's `_config.yml`:
66
+
67
+ ```yaml
68
+ theme: CAMBIAME-jekyll-theme
69
+ ```
70
+
71
+ And then execute:
72
+
73
+ $ bundle
74
+
75
+ Or install it yourself as:
76
+
77
+ $ gem install CAMBIAME-jekyll-theme
78
+
79
+ ## Usage
80
+
81
+ CAMBIAME
82
+
83
+ ## Contributing
84
+
85
+ Bug reports and pull requests are welcome on 0xacab.org at
86
+ https://0xacab.org/sutty/jekyll/CAMBIAME-jekyll-theme. This project is
87
+ intended to be a safe, welcoming space for collaboration, and
88
+ contributors are expected to adhere to the [Sutty's code of
89
+ conduct](http://sutty.nl/en/code-of-conduct).
90
+
91
+ ## Development
92
+
93
+ To set up your environment to develop this theme, run `bundle install`.
94
+
95
+ Your theme is setup just like a normal Jekyll site! To test your theme,
96
+ run `bundle exec jekyll serve` and open your browser at
97
+ `http://localhost:4000`. This starts a Jekyll server using your
98
+ theme. Add pages, documents, data, etc. like normal to test your theme's
99
+ contents. As you make modifications to your theme and to your content,
100
+ your site will regenerate and you should see the changes in the browser
101
+ after a refresh, just like normal.
102
+
103
+ When your theme is released, only the files in `_layouts`, `_includes`,
104
+ `_sass` and `assets` tracked with Git will be bundled.
105
+
106
+ To add a custom directory to your theme-gem, please edit the array in
107
+ `CAMBIAME-jekyll-theme.gemspec` accordingly.
108
+
109
+ ## License
110
+
111
+ The theme is available as open source under the terms of the [Antifacist
112
+ MIT License](LICENSE.txt).
113
+
@@ -0,0 +1,45 @@
1
+ sutty: 'https://api.sutty.nl/'
2
+ url: 'https://adhesiones.sutty.nl/'
3
+ hostname: 'adhesiones.sutty.nl'
4
+ title: 'Adhesiones'
5
+ plugins:
6
+ - jekyll-locales
7
+ - jekyll-relative-urls
8
+ - jekyll-feed
9
+ - jekyll-seo-tag
10
+ - jekyll-images
11
+ - jekyll-include-cache
12
+ # Agregar node_modules a la lista de directorios donde SASS busca
13
+ # archivos. Podríamos haber agregado solo "node_modules/bootstrap/scss"
14
+ # pero queríamos dejarlo abierto para poder cambiar de framework o
15
+ # llamar a varios a la vez.
16
+ sass:
17
+ load_paths:
18
+ - node_modules
19
+ # Opciones para generar las URLs de las páginas. Por defecto Jekyll
20
+ # crea /categoria/año/mes/dia/titulo.html que me parece innecesariamente
21
+ # larga.
22
+ #
23
+ # Con esto generamos URLs relativas (sin / al principio) y solo el
24
+ # titulo convertido en slug. El slug es la versión limpia del título,
25
+ # sin espacios ni mayusculas, a veces sin tildes.
26
+ #
27
+ # En realidad Jekyll es un poco confuso acá porque :title es el nombre
28
+ # del archivo usado en _posts/yyyy-mm-dd-slug.md y no el titulo
29
+ # slugificado. De todas formas Sutty se encarga de que coincidan.
30
+ permalink: ":title/"
31
+ # El nombre de la plantilla
32
+ # theme: sutty-base-jekyll-theme
33
+ # La lista de resoluciones de imágenes disponibles para jekyll-images.
34
+ # Estamos usando los puntos de quiebre de bootstrap.
35
+ #
36
+ # https://getbootstrap.com/docs/4.4/layout/overview/#responsive-breakpoints
37
+ images:
38
+ sizes:
39
+ - 576
40
+ - 768
41
+ - 992
42
+ - 1140
43
+
44
+ locales:
45
+ - es
@@ -0,0 +1,50 @@
1
+ ---
2
+ locale: Inglés
3
+ date: '%m/%d/%Y'
4
+ layouts:
5
+ post: Article
6
+ adhesion: Endorsement
7
+ home:
8
+ campaign:
9
+ text: Create your campaign
10
+ url: https://sutty.nl/en/
11
+ print:
12
+ text: Print
13
+ icon: print
14
+ form:
15
+ title: Join the struggle
16
+ submit: Endorse
17
+ adhesiones: Endorsements
18
+ metric: signaturas
19
+ share_post:
20
+ text: Share your endorsement
21
+ icon: share-alt
22
+ footer: "Site made with [Sutty](https://sutty.nl/en/), designed by [librenauta](https://copiona.com/) - [Create your campaign here](https://sutty.nl/)"
23
+ share:
24
+ text: Share
25
+ icon: share-square
26
+ items:
27
+ - title: Fediverse
28
+ url: "https://fediverse.sutty.nl/en/?u=%url&t=%title&d=%description"
29
+ icon: mastodon-alt
30
+ - title: Facebook
31
+ url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
32
+ icon: facebook-official
33
+ - title: Twitter
34
+ url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=ContamosConVoz"
35
+ icon: twitter
36
+ - title: Whatsapp
37
+ url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
38
+ icon: whatsapp
39
+ - title: Telegram
40
+ url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
41
+ icon: telegram
42
+ - title: Tumblr
43
+ url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=ContamosConVoz"
44
+ icon: tumblr
45
+ - title: Reddit
46
+ url: "https://reddit.com/submit?url=%url&title=ConVozContamos%20-%20%title"
47
+ icon: reddit
48
+ - title: E-mail
49
+ url: "mailto:?subject=%title&body=%description%0A%0A%url"
50
+ icon: envelope
@@ -0,0 +1,50 @@
1
+ ---
2
+ locale: Castellano
3
+ date: '%d/%m/%Y'
4
+ layouts:
5
+ post: Artículo
6
+ adhesion: Adhesión
7
+ home:
8
+ campaign:
9
+ text: Creá tu campaña
10
+ url: https://sutty.nl/
11
+ print:
12
+ text: Imprimir
13
+ icon: print
14
+ form:
15
+ title: Sumate a la lucha
16
+ submit: Adherir
17
+ adhesiones: Adhesiones
18
+ metric: firmas
19
+ share_post:
20
+ text: Compartir adhesión
21
+ icon: share-alt
22
+ footer: "Sitio hecho con [Sutty](https://sutty.nl/es/), diseño por [librenauta](https://copiona.com/) - creá tu campaña [aquí](https://sutty.nl/)"
23
+ share:
24
+ text: Compartir
25
+ icon: share-square
26
+ items:
27
+ - title: Fediverso
28
+ url: "https://fediverse.sutty.nl/es/?u=%url&t=%title&d=%description"
29
+ icon: mastodon-alt
30
+ - title: Facebook
31
+ url: "https://www.facebook.com/sharer/sharer.php?u=%url&t=%title%0A%0A%description"
32
+ icon: facebook-official
33
+ - title: Twitter
34
+ url: "https://twitter.com/intent/tweet?url=%url&text=%title%0A%0A%description&hashtags=ContamosConVoz"
35
+ icon: twitter
36
+ - title: Whatsapp
37
+ url: "https://api.whatsapp.com/send?text=%title%0A%0A%description%0A%0A%url"
38
+ icon: whatsapp
39
+ - title: Telegram
40
+ url: "https://t.me/share/url?url=%url&text=%title%0A%0A%description"
41
+ icon: telegram
42
+ - title: Tumblr
43
+ url: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=%url&title=%title&caption=%description&tags=ContamosConVoz"
44
+ icon: tumblr
45
+ - title: Reddit
46
+ url: "https://reddit.com/submit?url=%url&title=ConVozContamos%20-%20%title"
47
+ icon: reddit
48
+ - title: Correo
49
+ url: "mailto:?subject=%title&body=%description%0A%0A%url"
50
+ icon: envelope
@@ -0,0 +1,70 @@
1
+ ---
2
+ title:
3
+ type: 'string'
4
+ required: true
5
+ col: 4
6
+ label:
7
+ es: 'Nombre de la organización'
8
+ en: 'Organization name'
9
+ help:
10
+ es: ''
11
+ en: ''
12
+ web:
13
+ type: 'url'
14
+ col: 4
15
+ label:
16
+ es: 'Sitio de la organización'
17
+ en: 'Organization website'
18
+ help:
19
+ es: ''
20
+ en: ''
21
+ email:
22
+ type: 'email'
23
+ col: 4
24
+ label:
25
+ es: 'Correo electrónico'
26
+ en: 'E-mail'
27
+ logo:
28
+ type: 'file'
29
+ path:
30
+ label:
31
+ es: 'Logo'
32
+ en: 'Logo'
33
+ help:
34
+ es: ''
35
+ en: ''
36
+ content:
37
+ type: 'markdown_content'
38
+ label:
39
+ es: 'Adhesión'
40
+ en: 'Endorsement'
41
+ help:
42
+ es: ''
43
+ en: ''
44
+ consent:
45
+ type: 'boolean'
46
+ required: true
47
+ label:
48
+ es: 'Acepto las políticas de privacidad'
49
+ en: 'I agree to the privacy policy'
50
+ help:
51
+ es: ''
52
+ en: ''
53
+ draft:
54
+ skip: true
55
+ type: 'boolean'
56
+ label:
57
+ es: 'Borrador'
58
+ en: 'Draft'
59
+ help:
60
+ es: 'Este artículo aun no está listo para publicar'
61
+ en: "This post isn't ready to be published yet"
62
+ order:
63
+ skip: true
64
+ type: 'order'
65
+ label:
66
+ es: 'Orden'
67
+ en: 'Order'
68
+ help:
69
+ es: 'La posición del artículo en la lista de artículos'
70
+ en: 'The post position in the posts list'