sutty-jekyll-theme 0.3.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/_data/en.yml +5 -0
  4. data/_data/es.yml +5 -0
  5. data/_data/layouts/menu_dropdown.yml +39 -0
  6. data/_data/layouts/menu_external.yml +45 -0
  7. data/_data/layouts/menu_internal.yml +52 -0
  8. data/_data/layouts/page.yml +14 -0
  9. data/_data/layouts/theme.yml +4 -0
  10. data/_data/schema.yml +12 -0
  11. data/_includes/menu.html +29 -0
  12. data/_includes/menu_dropdown.html +16 -0
  13. data/_includes/menu_external.html +9 -0
  14. data/_includes/menu_internal.html +7 -0
  15. data/_layouts/default.html +1 -1
  16. data/_layouts/post.html +10 -10
  17. data/_sass/content.scss +3 -0
  18. data/_sass/fonts.scss +4 -0
  19. data/_sass/lora_ital_wght_0_400..700_1_400..700.scss +126 -0
  20. data/_sass/menu.scss +36 -0
  21. data/_sass/saira_ital_wght_0_100..900_1_100..900.scss +60 -0
  22. data/assets/css/styles.scss +2 -3
  23. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LIftL.woff2 +0 -0
  24. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LJftLp_A.woff2 +0 -0
  25. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LLPtLp_A.woff2 +0 -0
  26. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LL_tLp_A.woff2 +0 -0
  27. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LLvtLp_A.woff2 +0 -0
  28. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LT_tLp_A.woff2 +0 -0
  29. data/assets/fonts/lora/v35/0QIhMX1D_JOuMw_LXftLp_A.woff2 +0 -0
  30. data/assets/fonts/lora/v35/0QIvMX1D_JOuM2T7I-NP.woff2 +0 -0
  31. data/assets/fonts/lora/v35/0QIvMX1D_JOuM3b7I-NP.woff2 +0 -0
  32. data/assets/fonts/lora/v35/0QIvMX1D_JOuMw77I-NP.woff2 +0 -0
  33. data/assets/fonts/lora/v35/0QIvMX1D_JOuMwT7I-NP.woff2 +0 -0
  34. data/assets/fonts/lora/v35/0QIvMX1D_JOuMwX7I-NP.woff2 +0 -0
  35. data/assets/fonts/lora/v35/0QIvMX1D_JOuMwf7I-NP.woff2 +0 -0
  36. data/assets/fonts/lora/v35/0QIvMX1D_JOuMwr7Iw.woff2 +0 -0
  37. data/assets/fonts/saira/v20/memhYa2wxmKQyNkiV50dulWP7s95AqZTzbvQfS0.woff2 +0 -0
  38. data/assets/fonts/saira/v20/memhYa2wxmKQyNkiV50dulWP7s95AqZTzbvefS2-vw.woff2 +0 -0
  39. data/assets/fonts/saira/v20/memhYa2wxmKQyNkiV50dulWP7s95AqZTzbvffS2-vw.woff2 +0 -0
  40. data/assets/fonts/saira/v20/memjYa2wxmKQyPMrZX79wwYZQMhsyuSLh4vSZSk.woff2 +0 -0
  41. data/assets/fonts/saira/v20/memjYa2wxmKQyPMrZX79wwYZQMhsyuSLhovSZSk.woff2 +0 -0
  42. data/assets/fonts/saira/v20/memjYa2wxmKQyPMrZX79wwYZQMhsyuSLiIvS.woff2 +0 -0
  43. data.tar.gz.sig +0 -0
  44. metadata +76 -44
  45. metadata.gz.sig +0 -0
  46. data/_includes/activity_pub/actor.html +0 -11
  47. data/_includes/activity_pub/actor_mention.html +0 -28
  48. data/_includes/activity_pub/button.html +0 -22
  49. data/_includes/activity_pub/button_bar.html +0 -16
  50. data/_includes/activity_pub/cards.html +0 -28
  51. data/_includes/activity_pub/fediverse_interactions.html +0 -2
  52. data/_includes/activity_pub/generic_modal.html +0 -55
  53. data/_includes/activity_pub/image_modal.html +0 -27
  54. data/_includes/activity_pub/interactions.html +0 -78
  55. data/_includes/activity_pub/login_modal.html +0 -70
  56. data/_includes/activity_pub/reaction.html +0 -45
  57. data/_includes/activity_pub/reactions.html +0 -17
  58. data/_includes/activity_pub/replying_to.html +0 -23
  59. data/_includes/activity_pub/text_modal.html +0 -16
  60. data/_includes/activity_pub/toot_card.html +0 -95
  61. data/_includes/activity_pub/url.html +0 -8
  62. data/_includes/activity_pub/video_modal.html +0 -20
  63. data/_includes/bootstrap/custom_select.html +0 -18
  64. data/_includes/external_link.html +0 -15
  65. data/_includes/fa.html +0 -11
  66. data/_sass/saira.scss +0 -31
  67. data/assets/fonts/forkawesome-webfont.woff2 +0 -0
  68. data/assets/fonts/roboto/v27/2-subset.woff2 +0 -0
  69. data/assets/fonts/roboto/v27/2.ttf +0 -0
  70. data/assets/fonts/roboto/v27/3-subset.woff2 +0 -0
  71. data/assets/fonts/roboto/v27/3.ttf +0 -0
  72. data/assets/fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9-subset.woff2 +0 -0
  73. data/assets/fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9.ttf +0 -0
  74. data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1MmgWxP-subset.woff2 +0 -0
  75. data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1MmgWxP.ttf +0 -0
  76. data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP-subset.woff2 +0 -0
  77. data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP.ttf +0 -0
  78. data/assets/fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw-subset.woff2 +0 -0
  79. data/assets/fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw.ttf +0 -0
  80. data/assets/fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q-subset.woff2 +0 -0
  81. data/assets/fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q.ttf +0 -0
  82. data/assets/fonts/saira/LICENSE +0 -90
  83. data/assets/fonts/saira/Saira-Bold-subset.woff2 +0 -0
  84. data/assets/fonts/saira/Saira-BoldItalic-subset.woff2 +0 -0
  85. data/assets/fonts/saira/Saira-Medium-subset.woff2 +0 -0
  86. data/assets/fonts/saira/Saira-MediumItalic-subset.woff2 +0 -0
@@ -1,95 +0,0 @@
1
- {%- comment -%}
2
- Toot card
3
-
4
- @param :component_class [String] Las clases del componente
5
- @param :profile [String]
6
- @param :activity [String]
7
- {%- endcomment -%}
8
-
9
- {% assign extra_class = include.activity.attachment | size | equals: 1 | ternary: 'col', 'col-6' %}
10
-
11
- <div class="d-flex flex-column media {{ include.component_class }}">
12
- <div class="d-flex">
13
- {%
14
- include embed_responsive.html
15
- x=1
16
- y=1
17
- src=include.profile.icon.url
18
- alt=include.profile.icon.name
19
- width=40
20
- embed_class="mr-2 align-self-center w-49px"
21
- img_class="h-100 object-fit-cover"
22
- %}
23
-
24
- <div class="">
25
- <p>{% include_cached activity_pub/actor.html actor=include.profile %}</p>
26
- <p>{% include_cached activity_pub/actor_mention.html actor=include.profile %}</p>
27
- </div>
28
- </div>
29
-
30
- <div class="media-body w-100">
31
- {% capture content %}
32
- <div class="content mt-2">
33
- {{ include.activity.content | sanitize_html }}
34
- </div>
35
-
36
- {% unless include.activity.attachment == empty %}
37
- <div class="row no-gutters mt-2">
38
- {% for attachment in include.activity.attachment %}
39
- {% if attachment.mediaType == "video/mp4" %}
40
- {% include activity_pub/video_modal.html video=attachment extra=extra_class %}
41
- {% else %}
42
- {% include activity_pub/image_modal.html image=attachment extra=extra_class %}
43
- {% endif %}
44
- {% endfor %}
45
- </div>
46
- {% endunless %}
47
- {% endcapture %}
48
-
49
- {% if include.activity.sensitive %}
50
- {% capture summary_title %}
51
- <strong>{{ site.i18n.sensitive }}:</strong> {{ include.activity.summary }}
52
- {% endcapture %}
53
-
54
- {%
55
- include details.html
56
- element_title=summary_title
57
- element_text=content
58
- summary_class="align-items-center btn-lg btn-secondary p-2 text-left f-16"
59
- component_class="my-3"
60
- font_size="ml-3 lead"
61
- %}
62
- {% else %}
63
- {{ content }}
64
- {% endif %}
65
-
66
- <div class="d-flex gray justify-content-between my-2 align-items-center">
67
- {%- assign timestamp_field = include.activity.updated | ternary: 'updated', 'published' -%}
68
- {%- assign timestamp = include.activity[timestamp_field] -%}
69
-
70
- {%- capture timestamp -%}
71
- {% include date.html date=timestamp format=site.i18n.date_time.format %}
72
- {%- endcapture -%}
73
-
74
- {%- capture uri -%}
75
- {%- include_cached activity_pub/url.html activity=include.activity -%}
76
- {%- endcapture -%}
77
-
78
- {% include external_link.html href=uri text=timestamp %}
79
-
80
- <div>
81
- {% if include.activity.shares.totalItems %}
82
- {%- include fa.html icon="retweet" class="px-1" description=site.i18n.total_shares content=include.activity.shares.totalItems -%}
83
- {% endif %}
84
-
85
- {% if include.activity.likes.totalItems %}
86
- {%- include fa.html icon="star-o" class="px-1" description=site.i18n.total_likes content=include.activity.likes.totalItems -%}
87
- {% endif %}
88
- </div>
89
-
90
- {%- include fa.html icon="globe" description=site.i18n.globe -%}
91
- </div>
92
-
93
- {% include activity_pub/button_bar.html uri=include.activity.id profile=include.profile %}
94
- </div>
95
- </div>
@@ -1,8 +0,0 @@
1
- {%- comment -%}
2
- Finds the URL
3
-
4
- @param activity [ActivityDrop]
5
- {%- endcomment -%}
6
-
7
- {%- assign uri = include.activity.url | find: 'rel', 'canonical' -%}
8
- {{- uri.href | default: include.activity.url | default: include.activity.id | strip_html -}}
@@ -1,20 +0,0 @@
1
- {%- comment -%}
2
- Modal con imagen
3
-
4
- @param :image [Image] la imagen que queremos en el modal, contiene url y alt text
5
- {%- endcomment -%}
6
-
7
- {% capture body %}
8
- <video src="{{include.video.url}}" controls></video>
9
- {% endcapture %}
10
-
11
- <div class="{{ include.extra }} px-1" data-controller="modal">
12
- <div class="embed-responsive embed-responsive-16by9">
13
- <video
14
- class="cursor-pointer min-w-100px w-100 embed-responsive-item object-fit-cover"
15
- src="{{include.video.url}}"
16
- data-action="click->modal#show"
17
- ></video>
18
- </div>
19
- {% include activity_pub/generic_modal.html header_class="text-white" body=body body_class="d-flex justify-content-center" footer_class="d-none" content_class="background-transparent border-0" %}
20
- </div>
@@ -1,18 +0,0 @@
1
- {% comment %}
2
-
3
- @param class [String] Extra classes
4
- @param extra [String] Extra attributes
5
- @param options [Array<Hash>] Options
6
- @param selected [Boolean] Default option
7
- @param extra [String] Extra attributes
8
- @param value [String] Value
9
- @param title [String] Title
10
- {% endcomment %}
11
-
12
- <select class="custom-select {{ include.class }}" {{ include.extra }}>
13
- {% for options in include.options %}
14
- <option {{ options.selected }} {{ options.extra }} value="{{ options.value | default: options.title | escape }}">
15
- {{- options.title -}}
16
- </option>
17
- {% endfor %}
18
- </select>
@@ -1,15 +0,0 @@
1
- {%- comment -%}
2
-
3
- Link externo.
4
-
5
- @param :href [String] La URL
6
- @param :class [String] Las clases del link
7
- {%- endcomment -%}
8
-
9
- <a
10
- class="text-decoration-none {{ include.class }}"
11
- href="{{ include.href | uri_escape }}"
12
- {{ include.href | start_with: "https://" | value_if: 'rel="noopener" target="_blank"' }}
13
- {{ include.href | start_with: "http://" | value_if: 'rel="noopener" target="_blank"' }}>
14
- {{ include.text }}
15
- </a>
data/_includes/fa.html DELETED
@@ -1,11 +0,0 @@
1
- {%- comment -%}
2
-
3
- Un ícono
4
-
5
- @param :icon [String] El ícono
6
- @param :class [String] Las clases
7
- @param :description [String] La descripción
8
- {%- endcomment -%}
9
-
10
- <i title="{{ include.description | escape_once }}" aria-hidden="true" class="fa fa-{{ include.icon }} {{ include.class }}">{{ include.content }}</i>
11
- <span class="sr-only">{{ include.description }}</span>
data/_sass/saira.scss DELETED
@@ -1,31 +0,0 @@
1
- @font-face {
2
- font-family: "Saira";
3
- font-style: normal;
4
- font-weight: 400;
5
- font-display: swap;
6
- src: url("../fonts/saira/Saira-Medium-subset.woff2") format("woff2");
7
- }
8
-
9
- @font-face {
10
- font-family: "Saira";
11
- font-style: italic;
12
- font-weight: 400;
13
- font-display: swap;
14
- src: url("../fonts/saira/Saira-MediumItalic-subset.woff2") format("woff2");
15
- }
16
-
17
- @font-face {
18
- font-family: "Saira";
19
- font-style: normal;
20
- font-weight: bold;
21
- font-display: swap;
22
- src: url("../fonts/saira/Saira-Bold-subset.woff2") format("woff2");
23
- }
24
-
25
- @font-face {
26
- font-family: "Saira";
27
- font-style: italic;
28
- font-weight: bold;
29
- font-display: swap;
30
- src: url("../fonts/saira/Saira-BoldItalic-subset.woff2") format("woff2");
31
- }
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,90 +0,0 @@
1
- SIL OPEN FONT LICENSE
2
-
3
- Version 1.1 - 26 February 2007
4
-
5
- PREAMBLE
6
-
7
- The goals of the Open Font License (OFL) are to stimulate worldwide
8
- development of collaborative font projects, to support the font creation
9
- efforts of academic and linguistic communities, and to provide a free and
10
- open framework in which fonts may be shared and improved in partnership
11
- with others.
12
-
13
- The OFL allows the licensed fonts to be used, studied, modified and
14
- redistributed freely as long as they are not sold by themselves. The
15
- fonts, including any derivative works, can be bundled, embedded,
16
- redistributed and/or sold with any software provided that any reserved
17
- names are not used by derivative works. The fonts and derivatives,
18
- however, cannot be released under any other type of license. The
19
- requirement for fonts to remain under this license does not apply
20
- to any document created using the fonts or their derivatives.
21
-
22
- DEFINITIONS
23
-
24
- "Font Software" refers to the set of files released by the Copyright
25
- Holder(s) under this license and clearly marked as such. This may
26
- include source files, build scripts and documentation.
27
-
28
- "Reserved Font Name" refers to any names specified as such after the
29
- copyright statement(s).
30
-
31
- "Original Version" refers to the collection of Font Software components as
32
- distributed by the Copyright Holder(s).
33
-
34
- "Modified Version" refers to any derivative made by adding to, deleting,
35
- or substituting — in part or in whole — any of the components of the
36
- Original Version, by changing formats or by porting the Font Software to a
37
- new environment.
38
-
39
- "Author" refers to any designer, engineer, programmer, technical
40
- writer or other person who contributed to the Font Software.
41
-
42
- PERMISSION & CONDITIONS
43
-
44
- Permission is hereby granted, free of charge, to any person obtaining
45
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
46
- redistribute, and sell modified and unmodified copies of the Font
47
- Software, subject to the following conditions:
48
-
49
- 1) Neither the Font Software nor any of its individual components,
50
- in Original or Modified Versions, may be sold by itself.
51
-
52
- 2) Original or Modified Versions of the Font Software may be bundled,
53
- redistributed and/or sold with any software, provided that each copy
54
- contains the above copyright notice and this license. These can be
55
- included either as stand-alone text files, human-readable headers or
56
- in the appropriate machine-readable metadata fields within text or
57
- binary files as long as those fields can be easily viewed by the user.
58
-
59
- 3) No Modified Version of the Font Software may use the Reserved Font
60
- Name(s) unless explicit written permission is granted by the corresponding
61
- Copyright Holder. This restriction only applies to the primary font name as
62
- presented to the users.
63
-
64
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
65
- Software shall not be used to promote, endorse or advertise any
66
- Modified Version, except to acknowledge the contribution(s) of the
67
- Copyright Holder(s) and the Author(s) or with their explicit written
68
- permission.
69
-
70
- 5) The Font Software, modified or unmodified, in part or in whole,
71
- must be distributed entirely under this license, and must not be
72
- distributed under any other license. The requirement for fonts to
73
- remain under this license does not apply to any document created
74
- using the Font Software.
75
- TERMINATION
76
-
77
- This license becomes null and void if any of the above conditions are
78
- not met.
79
-
80
- DISCLAIMER
81
-
82
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
83
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
84
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
85
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
86
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
87
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
88
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
89
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
90
- OTHER DEALINGS IN THE FONT SOFTWARE.