compost-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE.txt +202 -0
  4. data/README.md +70 -0
  5. data/_data/components.yml +21 -0
  6. data/_data/en.yml +23 -0
  7. data/_data/es.yml +19 -0
  8. data/_data/full_width_components.yml +5 -0
  9. data/_data/layouts/about.yml +108 -0
  10. data/_data/layouts/author.yml +62 -0
  11. data/_data/layouts/back_cover.yml +101 -0
  12. data/_data/layouts/button.yml +34 -0
  13. data/_data/layouts/button_copy.yml +34 -0
  14. data/_data/layouts/footer.yml +90 -0
  15. data/_data/layouts/front_cover.yml +91 -0
  16. data/_data/layouts/goal.yml +63 -0
  17. data/_data/layouts/menu.yml +35 -0
  18. data/_data/layouts/post.yml +110 -0
  19. data/_data/layouts/support.yml +78 -0
  20. data/_data/layouts/supporter.yml +50 -0
  21. data/_data/layouts/theme.yml +267 -0
  22. data/_data/manifest.json +1314 -0
  23. data/_data/theme.yml +184 -0
  24. data/_data/theme.yml.html +143 -0
  25. data/_includes/author_block.html +22 -0
  26. data/_includes/biography.html +10 -0
  27. data/_includes/btn_header.html +14 -0
  28. data/_includes/buttons/with_copy.html +24 -0
  29. data/_includes/buttons/with_link.html +17 -0
  30. data/_includes/card_horizontal.html +27 -0
  31. data/_includes/cover_post/generic.html +34 -0
  32. data/_includes/cover_post/home.html +23 -0
  33. data/_includes/cover_post/menu.html +19 -0
  34. data/_includes/device_detector.html +30 -0
  35. data/_includes/embed_responsive.html +16 -0
  36. data/_includes/footer.html +32 -0
  37. data/_includes/goal.html +28 -0
  38. data/_includes/header.html +24 -0
  39. data/_includes/header_toggler.html +84 -0
  40. data/_includes/headings/generic.html +14 -0
  41. data/_includes/headings/h1.html +9 -0
  42. data/_includes/headings/h2.html +9 -0
  43. data/_includes/headings/h3.html +9 -0
  44. data/_includes/headings/with_link.html +15 -0
  45. data/_includes/image_supporter.html +13 -0
  46. data/_includes/image_with_link.html +22 -0
  47. data/_includes/license_block.html +15 -0
  48. data/_includes/menu_close.html +11 -0
  49. data/_includes/menu_item.html +10 -0
  50. data/_includes/menu_open.html +11 -0
  51. data/_includes/navigation_post.html +39 -0
  52. data/_includes/picture.html +25 -0
  53. data/_includes/script.html +5 -0
  54. data/_includes/svg/copy-icon.svg +1 -0
  55. data/_includes/svg/done-icon.svg +1 -0
  56. data/_includes/svg/menu.svg +9 -0
  57. data/_includes/svg/x.svg +3 -0
  58. data/_includes/text_link.html +12 -0
  59. data/_includes/theme/author_block.html +3 -0
  60. data/_includes/theme/biography.html +5 -0
  61. data/_includes/theme/btn_header.html +6 -0
  62. data/_includes/theme/button_with_copy.html +1 -0
  63. data/_includes/theme/button_with_link.html +5 -0
  64. data/_includes/theme/card_horizontal.html +18 -0
  65. data/_includes/theme/colors.html +14 -0
  66. data/_includes/theme/content.html +41 -0
  67. data/_includes/theme/cover_post.html +19 -0
  68. data/_includes/theme/embed_responsive.html +10 -0
  69. data/_includes/theme/font_sizes.html +18 -0
  70. data/_includes/theme/footer.html +49 -0
  71. data/_includes/theme/goal.html +5 -0
  72. data/_includes/theme/header_close.html +18 -0
  73. data/_includes/theme/header_open.html +18 -0
  74. data/_includes/theme/header_toggler.html +11 -0
  75. data/_includes/theme/image_supporter.html +5 -0
  76. data/_includes/theme/image_with_link.html +4 -0
  77. data/_includes/theme/letter_spacing.html +3 -0
  78. data/_includes/theme/license_block.html +1 -0
  79. data/_includes/theme/menu_item.html +7 -0
  80. data/_includes/theme/navigation_post.html +17 -0
  81. data/_includes/theme/picture.html +5 -0
  82. data/_includes/toggler/toggler.html +21 -0
  83. data/_includes/toggler/toggler_label.html +21 -0
  84. data/_includes/toggler/toggler_related.html +23 -0
  85. data/_layouts/about.html +9 -0
  86. data/_layouts/back_cover.html +68 -0
  87. data/_layouts/default.html +52 -0
  88. data/_layouts/default_with_menu.html +24 -0
  89. data/_layouts/home.html +35 -0
  90. data/_layouts/post.html +58 -0
  91. data/_layouts/support.html +45 -0
  92. data/_layouts/theme.html +60 -0
  93. data/_sass/content.scss +93 -0
  94. data/_sass/open_sans.scss +80 -0
  95. data/_sass/open_sans_wght_700.scss +80 -0
  96. data/_sass/roboto_mono_ital_wght_0_400_0_700_1_400_1_700.scss +28 -0
  97. data/_sass/source_serif_4_ital_wght_0_400_0_700_1_400_1_700.scss +28 -0
  98. data/_sass/toggler.scss +20 -0
  99. data/_sass/utilities.scss +245 -0
  100. data/_sass/work_sans_ital_wght_1_300.scss +7 -0
  101. data/assets/css/styles.scss +23 -0
  102. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVI.woff2 +0 -0
  103. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4iaVIGxA.woff2 +0 -0
  104. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4jaVIGxA.woff2 +0 -0
  105. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4kaVIGxA.woff2 +0 -0
  106. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4saVIGxA.woff2 +0 -0
  107. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4taVIGxA.woff2 +0 -0
  108. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4uaVIGxA.woff2 +0 -0
  109. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4vaVIGxA.woff2 +0 -0
  110. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2 +0 -0
  111. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4iaVIGxA.woff2 +0 -0
  112. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4jaVIGxA.woff2 +0 -0
  113. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4kaVIGxA.woff2 +0 -0
  114. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4saVIGxA.woff2 +0 -0
  115. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4taVIGxA.woff2 +0 -0
  116. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVIGxA.woff2 +0 -0
  117. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVIGxA.woff2 +0 -0
  118. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAOW9-subset.woff2 +0 -0
  119. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAOW9.ttf +0 -0
  120. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrmAB-W9-subset.woff2 +0 -0
  121. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrmAB-W9.ttf +0 -0
  122. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vqPQw-subset.woff2 +0 -0
  123. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vqPQw.ttf +0 -0
  124. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_Of2PQw-subset.woff2 +0 -0
  125. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_Of2PQw.ttf +0 -0
  126. data/assets/fonts/sourceserif4/SourceSerif4-Bold.ttf.woff2 +3 -0
  127. data/assets/fonts/sourceserif4/SourceSerif4-BoldIt.ttf.woff2 +3 -0
  128. data/assets/fonts/sourceserif4/SourceSerif4-It.ttf.woff2 +3 -0
  129. data/assets/fonts/sourceserif4/SourceSerif4-Regular.ttf.woff2 +3 -0
  130. data/assets/fonts/worksans/v18/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUgGsJow-subset.woff2 +0 -0
  131. data/assets/fonts/worksans/v18/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUgGsJow.ttf +0 -0
  132. data/assets/js/env.js +8 -0
  133. data/assets/js/pack.K7EEKFVP.js +40 -0
  134. data/assets/js/pack.K7EEKFVP.js.map +7 -0
  135. metadata +457 -0
@@ -0,0 +1,28 @@
1
+ {%- comment -%}
2
+
3
+ Las barras de progreso de los objetivos/metas
4
+
5
+ @param :title [String] El título del objetivo
6
+ @param :text [String] La descripción
7
+ @param :currency [String] La moneda
8
+ @param :value_now [Float] El valor actual
9
+ @param :value_max [Float] El valor máximo
10
+ {%- endcomment -%}
11
+
12
+ {% assign width = include.value_now | divided_by: include.value_max | times: 100 %}
13
+
14
+ <div class="mb-3">
15
+ <div class="progress position-relative border border-width-3 border-black lh-4">
16
+ <div
17
+ data-support-us-target="goal"
18
+ class="progress-bar o-2 collapsing width"
19
+ style="width: {{ width }}%"
20
+ role="progressbar"
21
+ aria-valuenow="{{ include.value_now }}"
22
+ aria-valuemin="0"
23
+ aria-valuemax="{{ include.value_max }}"></div>
24
+ <span class="d-flex position-absolute h-100 align-items-center font-weight-bold f-16 lead-md px-4">{{ include.title }}</span>
25
+ </div>
26
+
27
+ <p class="p-2"><strong>{{ include.currency }}{{ include.value_max | round }}</strong> {{ include.text }}</p>
28
+ </div>
@@ -0,0 +1,24 @@
1
+ {%- comment -%}
2
+
3
+ Items de cabecera (excepto el ícono de hamburguesa)
4
+
5
+ @param :logo_src [String] La imagen del logo
6
+ @param :logo_alt [String] El alt del logo
7
+ @param :btn_src [String] La imagen del botón
8
+ @param :btn_href [String] El link del botón
9
+ @param :btn_alt [String] El alt del botón
10
+ {%- endcomment -%}
11
+
12
+ {% include image_with_link.html
13
+ src=include.logo_src
14
+ href="?#"
15
+ alt=include.logo_alt
16
+ width=333
17
+ img_class="w-221px w-md-333px" %}
18
+
19
+ {% include btn_header.html
20
+ src=include.btn_src
21
+ href=include.btn_href
22
+ alt=include.btn_alt
23
+ width=67
24
+ img_class="w-44px w-md-67px" %}
@@ -0,0 +1,84 @@
1
+ {%- comment -%}
2
+
3
+ Cabecera y menú con toggler
4
+
5
+ @param :logo_open_src [String] La imagen del logo con menú abierto
6
+ @param :logo_open_alt [String] El alt de la imagen del logo con menú abierto
7
+ @param :btn_open_src [String] La imagen del botón con menú abierto
8
+ @param :logo_close_src [String] La imagen del logo con menú cerrado
9
+ @param :logo_close_alt [String] El alt de la imagen del logo con menú cerrado
10
+ @param :btn_close_src [String] La imagen del botón con menú cerrado
11
+ @param :btn_alt [String] El alt de la imagen del botón
12
+ @param :btn_href [String] El link de la imagen del botón
13
+ @param :background_class [String] Las clases de la imagen de fondo del header
14
+ {%- endcomment -%}
15
+
16
+ {%- assign menu_id = menu | prepend: 'r-' -%}
17
+ {%- assign items = site.posts | where: "layout", "menu" -%}
18
+ {%- assign posts = site.posts | where: "layout", "post" -%}
19
+ {%- assign back_cover = site.posts | find: "layout", "back_cover" -%}
20
+ {%- assign footer = site.posts | find: "layout", "footer" -%}
21
+
22
+ <div data-controller="body-scroll" class="position-relative p-3 {{ include.background_class }}">
23
+ <div class="d-flex justify-content-between align-items-center container-lg mx-auto">
24
+ {%- capture menu_svg -%}
25
+ {% include menu_close.html class="w-36px w-md-54px" container_class="stroke-white" %}
26
+ {%- endcapture -%}
27
+
28
+ {% include toggler/toggler_label.html id=menu_id class="m-0" content=menu_svg %}
29
+
30
+ {% capture toggled_content %}
31
+ <div class="background-image-site background-size-100 w-100 p-2 pb-12 border-bottom-dashed border-black">
32
+ <div class="d-flex justify-content-between align-items-center container mx-auto">
33
+ {%- capture menu_svg -%}
34
+ {% include menu_open.html class="w-36px w-md-54px" container_class="fill-black" %}
35
+ {%- endcapture -%}
36
+
37
+ {% include toggler/toggler_label.html id=menu_id class="m-0" content=menu_svg %}
38
+
39
+ {% include
40
+ header.html
41
+ logo_src=include.logo_open_src
42
+ logo_alt=include.logo_open_alt
43
+ btn_src=include.btn_open_src
44
+ btn_href=include.btn_href
45
+ btn_alt=include.btn_alt %}
46
+ </div>
47
+ </div>
48
+
49
+ <div class="background-white pt-5">
50
+ <div class="container-lg mx-auto">
51
+ <div class="ml-14 mt-3">
52
+ {% for item in items %}
53
+ {% include menu_item.html text=item.title href=item.post.url %}
54
+ {% endfor %}
55
+ </div>
56
+
57
+ <div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 no-gutters mt-40 px-20 px-md-0">
58
+ {% for post in posts %}
59
+ <div class="col pb-5">
60
+ {% include cover_post/menu.html authors=post.authors title=post.title src=post.image.path alt=post.image.description href=post.url %}
61
+ </div>
62
+ {% endfor %}
63
+
64
+ <div class="col pb-5">
65
+ {% include cover_post/menu.html title=back_cover.title src=back_cover.image.path alt=back_cover.image.description href=back_cover.url %}
66
+ </div>
67
+ </div>
68
+ </div>
69
+
70
+ {% include footer.html col_1=footer.column_1 col_2=footer.column_2 col_3=footer.column_3 col_4=footer.column_4 src=footer.image.path %}
71
+ </div>
72
+ {% endcapture %}
73
+
74
+ {% include toggler/toggler.html id=menu_id extra='data-action="toggle-media#toggle" data-menu-target="toggler"' toggled_content=toggled_content toggled_class="top-0 left-0 w-100 zindex-dropdown" %}
75
+
76
+ {% include
77
+ header.html
78
+ logo_src=include.logo_close_src
79
+ logo_alt=include.logo_close_alt
80
+ btn_src=include.btn_close_src
81
+ btn_href=include.btn_href
82
+ btn_alt=include.btn_alt %}
83
+ </div>
84
+ </div>
@@ -0,0 +1,14 @@
1
+ {%- comment -%}
2
+
3
+ La base para un encabezado
4
+
5
+ @param :level [Integer] El nivel
6
+ @param :text [String] El contenido
7
+ @param :class [String] Clases para aplicar a títulos
8
+ {%- endcomment -%}
9
+
10
+ {%- assign slug = include.text | slugify -%}
11
+
12
+ <h{{ include.level }} id="{{ slug }}" class="{{ include.class }}">
13
+ {{- include.text -}}
14
+ </h{{ include.level }}>
@@ -0,0 +1,9 @@
1
+ {%- comment -%}
2
+
3
+ Encabezado de primer nivel
4
+
5
+ @param :text [String] El contenido
6
+ @param :class [String] Clases para aplicar a títulos
7
+ {%- endcomment -%}
8
+
9
+ {%- include headings/generic.html level=1 text=include.text class=include.class -%}
@@ -0,0 +1,9 @@
1
+ {%- comment -%}
2
+
3
+ Encabezado de segundo nivel
4
+
5
+ @param :text [String] El contenido
6
+ @param :class [String] Clases para aplicar a títulos
7
+ {%- endcomment -%}
8
+
9
+ {%- include headings/generic.html level=2 text=include.text class=include.class -%}
@@ -0,0 +1,9 @@
1
+ {%- comment -%}
2
+
3
+ Encabezado de tercer nivel
4
+
5
+ @param :text [String] El contenido
6
+ @param :class [String] Clases para aplicar a títulos
7
+ {%- endcomment -%}
8
+
9
+ {%- include headings/generic.html level=3 text=include.text class=include.class -%}
@@ -0,0 +1,15 @@
1
+ {%- comment -%}
2
+
3
+ La base para un encabezado
4
+
5
+ @param :level [Integer] El nivel
6
+ @param :text [String] El contenido
7
+ @param :class [String] Clases para aplicar a títulos
8
+ {%- endcomment -%}
9
+
10
+ {%- assign slug = include.text | slugify -%}
11
+ <h{{ include.level }} id="{{ slug }}">
12
+ <a class="{{ include.class }}" href="#{{ slug }}">
13
+ {{- include.text -}}
14
+ </a>
15
+ </h{{ include.level }}>
@@ -0,0 +1,13 @@
1
+ {%- comment -%}
2
+
3
+ componente de imagen que tiene un link [url]
4
+
5
+ @param :src [String]
6
+ @param :href [String] El link
7
+ @param :width [Integer] Ancho de la imagen
8
+ @param :alt [String] El alt de la imagen
9
+ {%- endcomment -%}
10
+
11
+ <div class="p-2">
12
+ {% include image_with_link.html src=include.src width=include.width alt=include.alt img_class="w-100 h-100 object-fit-cover" href=include.href %}
13
+ </div>
@@ -0,0 +1,22 @@
1
+ {%- comment -%}
2
+
3
+ componente de imagen que tiene un link [url]
4
+
5
+ @param :src [String]
6
+ @param :href [String] El link
7
+ @param :width [Integer] Ancho de la imagen
8
+ @param :alt [String] El alt de la imagen
9
+ @param :a_class [String] Clases para a
10
+ @param :component_class [String] Clases para el componente
11
+ {%- endcomment -%}
12
+
13
+ <div
14
+ class="position-relative {{ include.component_class }}">
15
+ <a class="stretched-link"
16
+ href="{{ include.href | uri_escape }}"
17
+ {{ include.href | start_with: "https://" | value_if: 'rel="noopener" target="_blank"' }}
18
+ {{ include.href | start_with: "http://" | value_if: 'rel="noopener" target="_blank"' }}>
19
+ <span class="sr-only">{{ include.alt }}</span>
20
+ </a>
21
+ {% include picture.html src=include.src width=include.width alt=include.alt img_class=include.img_class %}
22
+ </div>
@@ -0,0 +1,15 @@
1
+ {%- comment -%}
2
+
3
+ License block
4
+
5
+ @param :title [String] El título
6
+ @param :content [HTML] El contenido
7
+ {%- endcomment -%}
8
+ <div class="background-light-gray p-4 my-32 text-monospace text-left border border-light_gray">
9
+ <div class="font-weight-bold">
10
+ <p rel="license">{{ site.i18n.content_license }} {{- include.title -}}</p>
11
+ </div>
12
+ <div class="content mt-2 mb-2">
13
+ {{- include.content -}}
14
+ </div>
15
+ </div>
@@ -0,0 +1,11 @@
1
+ {%- comment -%}
2
+
3
+ El icono de la hamburguesa para abrir y cerrar el menú
4
+
5
+ @param :class [String] Las clases de la imagen
6
+ @param :container_class [String] Las clases del contenedor
7
+ {%- endcomment -%}
8
+
9
+ <div class="{{ include.container_class }} cursor-pointer">
10
+ {% include svg/menu.svg class=include.class %}
11
+ </div>
@@ -0,0 +1,10 @@
1
+ {%- comment -%}
2
+
3
+ Item del menú
4
+
5
+ @param :text [String] El contenido
6
+ @param :href [String] El link
7
+ @param :class [String] Las clases
8
+ {%- endcomment -%}
9
+
10
+ {% include text_link.html text=include.text class="display-4 letter-spacing-6 text-uppercase font-weight-bold text-decoration-none ml-20 mr-50 d-flex d-md-inline-flex" href=include.href %}
@@ -0,0 +1,11 @@
1
+ {%- comment -%}
2
+
3
+ El icono de la hamburguesa para abrir y cerrar el menú
4
+
5
+ @param :class [String] Las clases de la imagen
6
+ @param :container_class [String] Las clases del contenedor
7
+ {%- endcomment -%}
8
+
9
+ <div class="{{ include.container_class }} cursor-pointer">
10
+ {% include svg/x.svg class=include.class %}
11
+ </div>
@@ -0,0 +1,39 @@
1
+ {%- comment -%}
2
+
3
+ Los botones de navegación de los posts
4
+
5
+ @param :src_previous [String] El src de imagen de Previous
6
+ @param :src_next [String] El src de imagen de Next
7
+ @param :src_home [String] El src de imagen de Home
8
+ @param :href_previous [String] El link de Previous
9
+ @param :href_home [String] El link de Home
10
+ @param :href_next [String] El link de Next
11
+ @param :alt_previous [String] El alt de Previous
12
+ @param :alt_next [String] El alt de Next
13
+ {%- endcomment -%}
14
+
15
+ {% assign previous_class = include.href_previous | blank | value_if: "invisible" %}
16
+ {% assign next_class = include.href_next | blank | value_if: "invisible" %}
17
+
18
+ <div class="d-flex align-items-center">
19
+ <div
20
+ class="mt-3 transform-scale-n8 transform-scale-hover-1"
21
+ {% unless previous_class %}
22
+ aria-hidden="true"
23
+ {% endunless %}>
24
+ {% include image_with_link.html src=include.src_previous alt=include.alt_previous width=51 href=include.href_previous img_class="px-2" component_class=previous_class %}
25
+ </div>
26
+
27
+ <div
28
+ class="transform-scale-n8 transform-scale-hover-1">
29
+ {% include image_with_link.html src=include.src_home alt=site.i18n.home width=79 href=include.href_home img_class="px-2" %}
30
+ </div>
31
+
32
+ <div
33
+ class="mt-3 transform-scale-n8 transform-scale-hover-1"
34
+ {% unless next_class %}
35
+ aria-hidden="true"
36
+ {% endunless %}>
37
+ {% include image_with_link.html src=include.src_next alt=include.alt_next width=51 href=include.href_next img_class="px-2" component_class=next_class %}
38
+ </div>
39
+ </div>
@@ -0,0 +1,25 @@
1
+ {%- comment -%}
2
+
3
+ Image component
4
+
5
+ @param :src [String]
6
+ @param :alt [String]
7
+ @param :width [Integer]
8
+ @param :class [String]
9
+ @param :img_class [String]
10
+ {%- endcomment -%}
11
+
12
+ <picture class="{{ include.class }}">
13
+ <source
14
+ srcset="
15
+ {%- for pixel_density in site.data.theme.pixel_densities %}
16
+ {%- assign w = include.width | times: pixel_density -%}
17
+ {{- include.src | thumbnail: w | uri_escape }} {{ pixel_density }}x,
18
+ {% endfor -%}
19
+ " />
20
+
21
+ <img
22
+ class="{{ include.img_class }}"
23
+ src="{{ include.src | thumbnail: include.width | uri_escape }}"
24
+ alt="{{ include.alt | escape_once }}" />
25
+ </picture>
@@ -0,0 +1,5 @@
1
+ {% comment %}
2
+ @param :src [String]
3
+ {% endcomment %}
4
+
5
+ <script defer src="{{ include.src | uri_escape }}" data-turbo-track="reload"></script>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" fill="#ffffff"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" fill="#ffffff"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>
@@ -0,0 +1,9 @@
1
+ <svg
2
+ class="{{ include.class }}"
3
+ viewBox="0 0 16 14"
4
+ fill="white"
5
+ xmlns="http://www.w3.org/2000/svg">
6
+ <line x1="1" y1="1" x2="15" y2="1" stroke="black" stroke-width="2" stroke-linecap="round"/>
7
+ <line x1="1" y1="6.81836" x2="15" y2="6.81836" stroke="black" stroke-width="2" stroke-linecap="round"/>
8
+ <line x1="1" y1="12.6362" x2="15" y2="12.6362" stroke="black" stroke-width="2" stroke-linecap="round"/>
9
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg class="{{ include.class }}" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0.656874 0.000938353C0.373797 0.0285864 0.132829 0.218575 0.0399914 0.487445C-0.0530995 0.756315 0.0194448 1.05461 0.22516 1.25095L5.15691 6.19413L0.22516 11.1259C-0.0604506 11.4115 -0.0604506 11.8744 0.22516 12.16C0.51077 12.4457 0.973668 12.4457 1.25932 12.16L6.2025 7.21686L11.1342 12.16C11.4199 12.4457 11.8828 12.4457 12.1681 12.16C12.4538 11.8744 12.4538 11.4115 12.1684 11.1259L7.22522 6.19413L12.1684 1.25095C12.3853 1.04143 12.4505 0.719549 12.332 0.442055C12.2133 0.164562 11.9358 -0.0109708 11.6342 0.000951234C11.4458 0.00551695 11.2667 0.0828794 11.1343 0.217061L6.20251 5.14882L1.25933 0.217061C1.12134 0.0773015 0.932629 -0.00057474 0.736551 0.000951234C0.709917 -0.000317078 0.683538 -0.000317078 0.656902 0.000951234L0.656874 0.000938353Z" fill="white"/>
3
+ </svg>
@@ -0,0 +1,12 @@
1
+ {%- comment -%}
2
+
3
+ Un texto con link. Por ejemplo, para los items del menú.
4
+
5
+ @param :href [String] El link
6
+ @param :text [String] El contenido
7
+ @param :class [String] Las clases
8
+ {%- endcomment -%}
9
+
10
+ <a class="{{ include.class }}" href="{{ include.href | uri_escape }}">
11
+ <span>{{ include.text}}</span>
12
+ </a>
@@ -0,0 +1,3 @@
1
+ {% assign links = "https://celinenguyen.com/,https://www.are.na/celine-nguyen/" | split: "," %}
2
+
3
+ {% include author_block.html title="ℂ𝕖𝕝𝕚𝕟𝕖 ✿" links=links %}
@@ -0,0 +1,5 @@
1
+ <p class="content">
2
+ Biografía de autore en los artículos
3
+ </p>
4
+
5
+ {% include biography.html text="Artist/educator <strong>Andi Wong</strong> enjoys connecting dots and coloring outside the lines. She is project coordinator for ArtsEd4All." %}
@@ -0,0 +1,6 @@
1
+ {% include headings/with_link.html level=2 text="Botón de Support en la cabecera cuando el menú está cerrado" %}
2
+
3
+ {% include btn_header.html src="public/mushroom_close.gif" href="#" alt="Mushroom close menu" component_class="background-black" width=67 img_class="w-67px" %}
4
+
5
+ {% include headings/with_link.html level=2 text="Botón de Support en la cabecera cuando el menú está abierto" %}
6
+ {% include btn_header.html src="public/mushroom_open.gif" href="#" alt="Mushroom open menu" component_class="background-transparent" width=67 img_class="w-67px" %}
@@ -0,0 +1 @@
1
+ {% include buttons/with_copy.html copy="compostmag.eth" text="Contribute ETH or tokens" %}
@@ -0,0 +1,5 @@
1
+ {% include buttons/with_link.html href="#" text="Become a subscriber" %}
2
+
3
+ {% include headings/with_link.html level=2 text="Botón con link externo" %}
4
+
5
+ {% include buttons/with_link.html href="https://sutty.nl/" text="Find out more about Sutty" %}
@@ -0,0 +1,18 @@
1
+ {%- capture content_card -%}
2
+ <p>As dominant platforms continue to construct an unimaginative
3
+ reality of sleekness, convenience, and extraction, we wonder: How do
4
+ we <em>Inoculate</em> networks with our consideration and attention,
5
+ against the flattening, homogenizing forces of the internet?</p>
6
+
7
+ <p>This second issue of COMPOST magazine takes a step back; widening
8
+ our scope and probing how we shape digital networks and how they shape
9
+ us back.</p>
10
+ {% endcapture %}
11
+
12
+ {% include card_horizontal.html
13
+ title="INOCULATE"
14
+ subtitle="ISSUE 02"
15
+ src="public/placeholder.png"
16
+ alt="portada compost"
17
+ content=content_card
18
+ %}
@@ -0,0 +1,14 @@
1
+ <div class="row row-cols-2 row-cols-md-4">
2
+ {% for color in site.data.theme.colors %}
3
+ <div class="col">
4
+ <div class="w-100 embed-responsive embed-responsive-1by1">
5
+ <div class="embed-responsive-item background-{{ color[0] | replace: "_", "-" }} d-flex align-items-center justify-content-center">
6
+ <div>
7
+ <p>{{ color[0] | replace: "_", "-" }}</p>
8
+ <p>{{ color[1] }}</p>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ {% endfor %}
14
+ </div>
@@ -0,0 +1,41 @@
1
+ <div class="content">
2
+ <h2>Título 2</h2>
3
+ <h3>Título 3</h3>
4
+ <h4>Título 4</h4>
5
+ <h5>Título 5</h5>
6
+ <h6>Título 6</h6>
7
+
8
+ <p class="display-1">Display 1</p>
9
+ <p class="display-2">Display 2</p>
10
+ <p class="display-3">Display 3</p>
11
+ <p class="display-4">Display 4</p>
12
+
13
+ <p class="lead">Párrafo resaltado</p>
14
+
15
+ <p class="lead-md">
16
+ <strong>Lorem ipsum dolor sit amet</strong>, consectetur adipiscing
17
+ elit, sed do eiusmod tempor incididunt ut labore et dolore magna
18
+ aliqua. <a href="#">Ut enim ad minim veniam</a>, quis nostrud
19
+ exercitation ullamco laboris nisi ut aliquip ex ea commodo
20
+ consequat. <em>Duis aute irure dolor</em> in reprehenderit in
21
+ voluptate velit esse cillum dolore eu fugiat nulla pariatur.
22
+ Excepteur <mark>sint occaecat cupidatat non proident</mark>, sunt in
23
+ culpa qui officia <small>deserunt mollit anim id est laborum</small>.
24
+ </p>
25
+
26
+ <ul>
27
+ <li>Lorem ipsum dolor sit amet</li>
28
+ <li>consectetur adipiscing elit</li>
29
+ <li>sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</li>
30
+ </ul>
31
+
32
+ <ol>
33
+ <li>Lorem ipsum dolor sit amet</li>
34
+ <li>consectetur adipiscing elit</li>
35
+ <li>sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</li>
36
+ </ol>
37
+
38
+ <blockquote>
39
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
40
+ </blockquote>
41
+ </div>
@@ -0,0 +1,19 @@
1
+ {% include headings/h2.html text="Índice de posts en el menú" %}
2
+
3
+ <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 no-gutters">
4
+ {% include cover_post/menu.html title="Foreword" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" %}
5
+
6
+ {% include cover_post/menu.html author="Kola Heyward-Rotimi" title="Qubit Guarantee" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" %}
7
+
8
+ {% include cover_post/menu.html author="Eeshita Kapadiya and Mrinalini Sebastian" title="RE: Sister" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" %}
9
+ </article>
10
+
11
+ {% include headings/h2.html text="Índice de posts en el home" %}
12
+
13
+ <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 no-gutters">
14
+ {% include cover_post/home.html title="Foreword" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" description="A letter from the editors." %}
15
+
16
+ {% include cover_post/home.html author="Kola Heyward-Rotimi" title="Qubit Guarantee" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" description="A cybersecurity specialist named Kurt uses his employers' quantum computing platform to help corporations nullify ransomware attacks--but a routine job goes far off-script when he's sent to Raleigh, North Carolina." %}
17
+
18
+ {% include cover_post/home.html author="Eeshita Kapadiya and Mrinalini Sebastian" title="RE: Sister" src="public/placeholder.png" alt="Descripción de la imagen" href="https://sutty.nl/" description="What happens when two women write to each other about food?" %}
19
+ </article>
@@ -0,0 +1,10 @@
1
+ {% for embed_responsive_aspect_ratio in site.data.theme.embed_responsive_aspect_ratios %}
2
+ {% assign x = embed_responsive_aspect_ratio | split: " " | first | remove: "(" %}
3
+ {% assign y = embed_responsive_aspect_ratio | split: " " | last | remove: ")" %}
4
+ {% assign text = x | append: "by" | append: y %}
5
+
6
+ <div class="mb-3">
7
+ {% include headings/with_link.html level=2 text=text %}
8
+ {% include embed_responsive.html src="public/placeholder.png" width=576 x=x y=y %}
9
+ </div>
10
+ {% endfor %}
@@ -0,0 +1,18 @@
1
+ {% for font_size in site.data.theme.font_sizes %}
2
+ <div class="mb-3">
3
+ {% assign title = "Tipografía f-" | append: font_size[0] %}
4
+ {% include headings/with_link.html level=2 text=title %}
5
+
6
+ <p class="f-{{ font_size[0] }}">
7
+ <strong>Lorem ipsum dolor sit amet</strong>, consectetur
8
+ adipiscing elit, sed do eiusmod tempor incididunt ut labore et
9
+ dolore magna aliqua. <a href="#">Ut enim ad minim veniam</a>, quis
10
+ nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
11
+ consequat. <em>Duis aute irure dolor</em> in reprehenderit in
12
+ voluptate velit esse cillum dolore eu fugiat nulla pariatur.
13
+ Excepteur <mark>sint occaecat cupidatat non proident</mark>, sunt
14
+ in culpa qui officia <small>deserunt mollit anim id est
15
+ laborum</small>.
16
+ </p>
17
+ </div>
18
+ {% endfor %}
@@ -0,0 +1,49 @@
1
+ {%- capture footer_col_1 -%}
2
+ <p class="footer-column-header">COMPOST is a magazine about the digital commons.</p>
3
+ <p>Issue 02, September 2021.</p>
4
+ <p>We are a project by
5
+ <a href="https://distributed.press" target="_blank">Distributed Press</a> and hosted by
6
+ <a href="https://hypha.coop" target="_blank">Hypha Worker Co-operative</a>.
7
+ </p>
8
+
9
+ <div class="footer-column-header" title="Previous Issues">Previous Issues</div>
10
+ <div><a href="https://one.compost.digital/" class="transform-url">Issue 01</a></div>
11
+ {%- endcapture -%}
12
+
13
+ {%- capture footer_col_2 -%}
14
+ <p class="footer-column-header">COMPOST is published to the web and <a href="https://getdweb.net" target="_blank">DWeb</a> using the <a href="https://github.com/hyphacoop/api.distributed.press" target="_blank">Distributed Press API</a>.</p>
15
+ <p>Read it on:</p>
16
+ <div><a href="https://two.compost.digital" target="_blank">https://two.compost.digital</a></div>
17
+ <div><a href="https://ipfs.distributed.press/ipns/two.compost.digital/" target="_blank">ipns://two.compost.digital</a></div>
18
+ <div><a href="https://hyper.distributed.press/two.compost.digital/" target="_blank">hyper://two.compost.digital</a>
19
+ </div>
20
+ <p>Unless otherwise stated, all content on this website is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International license</a>.</p>
21
+ {%- endcapture -%}
22
+
23
+ {%- capture footer_col_3 -%}
24
+ <div class="footer-column-header" title="Social Web">Social Web</div>
25
+ <div><a href="https://www.are.na/compost/" target="_blank">Are.na</a></div>
26
+ <div><a href="https://social.coop/@COMPOST" target="_blank">Mastodon</a></div>
27
+ <div><a href="https://www.twitter.com/COMPOSTmag" target="_blank">Twitter</a></div>
28
+ <div><a href="https://github.com/hyphacoop/two.compost.digital" target="_blank">GitHub</a></div>
29
+ <div class="footer-column-header" title="Keep in touch">Keep in touch</div>
30
+ <div><a href="https://link.hypha.coop/compost-newsletter" target="_blank">Join our newsletter</a></div>
31
+ <div><a href="https://github.com/hyphacoop/distributed-press-organizing/wiki" target="_blank">Read our Wiki</a>
32
+ </div>
33
+ <div><a href="mailto:hello@compost.digital">Email us</a></div>
34
+ {%- endcapture -%}
35
+
36
+ {%- capture footer_col_4 -%}
37
+ <div class="footer-column-header" title="Support Us">Support Us</div>
38
+ <div><a href="../support-us/#web-monetization">Web Monetization</a></div>
39
+ <div><a href="https://opencollective.com/compost" target="_blank">Open Collective</a></div>
40
+ <div><a href="https://gitcoin.co/grants/1385/compost" target="_blank">Gitcoin</a></div>
41
+ <div><a href="../support-us/" target="_blank">compostmag.eth</a></div>
42
+ {%- endcapture -%}
43
+ {% include footer.html
44
+ src=""
45
+ col_1=footer_col_1
46
+ col_2=footer_col_2
47
+ col_3=footer_col_3
48
+ col_4=footer_col_4
49
+ %}
@@ -0,0 +1,5 @@
1
+ <div class="content">
2
+ <p>Barra de progreso de objetivos/metas</p>
3
+ </div>
4
+
5
+ {% include goal.html title="LAUNCH ISSUE THREE!" text="We're still looking for funding for future issues! Help us reach our goal!" value_now=5000 value_max=25000.0 height="75px" currency="$" %}
@@ -0,0 +1,18 @@
1
+ {% include headings/with_link.html level=2 text="Cabecera con el menú cerrado" %}
2
+
3
+ <div class="d-flex position-relative background-black justify-content-between align-items-center p-3">
4
+ {% include menu_close.html class="w-36px w-md-54px" container_class="stroke-white" %}
5
+
6
+ {% include
7
+ header.html
8
+ logo_src="public/logo_white.png"
9
+ logo_href="?#"
10
+ logo_alt="Compost"
11
+ logo_width=333
12
+ logo_class="w-221px w-md-333px"
13
+ btn_src="public/mushroom_close.gif"
14
+ btn_href="#"
15
+ btn_alt="Mushroom close menu"
16
+ btn_class="w-44px w-md-67px"
17
+ btn_width=67 %}
18
+ </div>