al_folio_core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +12 -0
  3. data/LICENSE +20 -0
  4. data/README.md +28 -0
  5. data/_includes/audio 2.liquid +30 -0
  6. data/_includes/audio.liquid +30 -0
  7. data/_includes/bib_search 2.liquid +4 -0
  8. data/_includes/bib_search.liquid +4 -0
  9. data/_includes/calendar 2.liquid +25 -0
  10. data/_includes/calendar.liquid +25 -0
  11. data/_includes/citation 2.liquid +26 -0
  12. data/_includes/citation.liquid +26 -0
  13. data/_includes/course_schedule 2.liquid +71 -0
  14. data/_includes/course_schedule.liquid +71 -0
  15. data/_includes/courses 2.liquid +37 -0
  16. data/_includes/courses.liquid +37 -0
  17. data/_includes/disqus 2.liquid +13 -0
  18. data/_includes/disqus.liquid +13 -0
  19. data/_includes/figure 2.liquid +86 -0
  20. data/_includes/figure.liquid +86 -0
  21. data/_includes/footer 2.liquid +34 -0
  22. data/_includes/footer.liquid +34 -0
  23. data/_includes/giscus 2.liquid +25 -0
  24. data/_includes/giscus.liquid +25 -0
  25. data/_includes/head 2.liquid +147 -0
  26. data/_includes/head.liquid +147 -0
  27. data/_includes/header 2.liquid +149 -0
  28. data/_includes/header.liquid +149 -0
  29. data/_includes/latest_posts 2.liquid +48 -0
  30. data/_includes/latest_posts.liquid +48 -0
  31. data/_includes/metadata 2.liquid +247 -0
  32. data/_includes/metadata.liquid +247 -0
  33. data/_includes/news 2.liquid +34 -0
  34. data/_includes/news.liquid +34 -0
  35. data/_includes/newsletter 2.liquid +68 -0
  36. data/_includes/newsletter.liquid +68 -0
  37. data/_includes/pagination 2.liquid +21 -0
  38. data/_includes/pagination.liquid +21 -0
  39. data/_includes/plugins/al_analytics_scripts 2.liquid +4 -0
  40. data/_includes/plugins/al_analytics_scripts.liquid +4 -0
  41. data/_includes/plugins/al_charts_scripts 2.liquid +4 -0
  42. data/_includes/plugins/al_charts_scripts.liquid +4 -0
  43. data/_includes/plugins/al_comments 2.liquid +4 -0
  44. data/_includes/plugins/al_comments.liquid +4 -0
  45. data/_includes/plugins/al_cookie_scripts 2.liquid +4 -0
  46. data/_includes/plugins/al_cookie_scripts.liquid +4 -0
  47. data/_includes/plugins/al_cookie_styles 2.liquid +4 -0
  48. data/_includes/plugins/al_cookie_styles.liquid +4 -0
  49. data/_includes/plugins/al_img_tools_scripts 2.liquid +4 -0
  50. data/_includes/plugins/al_img_tools_scripts.liquid +4 -0
  51. data/_includes/plugins/al_img_tools_styles 2.liquid +4 -0
  52. data/_includes/plugins/al_img_tools_styles.liquid +4 -0
  53. data/_includes/plugins/al_math_scripts 2.liquid +4 -0
  54. data/_includes/plugins/al_math_scripts.liquid +4 -0
  55. data/_includes/plugins/al_math_styles 2.liquid +4 -0
  56. data/_includes/plugins/al_math_styles.liquid +4 -0
  57. data/_includes/plugins/al_newsletter_form_center 2.liquid +4 -0
  58. data/_includes/plugins/al_newsletter_form_center.liquid +4 -0
  59. data/_includes/plugins/al_newsletter_form_center_margin 2.liquid +1 -0
  60. data/_includes/plugins/al_newsletter_form_center_margin.liquid +1 -0
  61. data/_includes/plugins/al_newsletter_form_left 2.liquid +1 -0
  62. data/_includes/plugins/al_newsletter_form_left.liquid +1 -0
  63. data/_includes/plugins/al_newsletter_scripts 2.liquid +1 -0
  64. data/_includes/plugins/al_newsletter_scripts.liquid +1 -0
  65. data/_includes/plugins/al_search_assets 2.liquid +5 -0
  66. data/_includes/plugins/al_search_assets.liquid +5 -0
  67. data/_includes/projects 2.liquid +35 -0
  68. data/_includes/projects.liquid +35 -0
  69. data/_includes/projects_horizontal 2.liquid +34 -0
  70. data/_includes/projects_horizontal.liquid +34 -0
  71. data/_includes/related_posts 2.liquid +40 -0
  72. data/_includes/related_posts.liquid +40 -0
  73. data/_includes/repository/repo 2.liquid +47 -0
  74. data/_includes/repository/repo.liquid +47 -0
  75. data/_includes/repository/repo_trophies 2.liquid +42 -0
  76. data/_includes/repository/repo_trophies.liquid +42 -0
  77. data/_includes/repository/repo_user 2.liquid +34 -0
  78. data/_includes/repository/repo_user.liquid +34 -0
  79. data/_includes/scripts 2.liquid +123 -0
  80. data/_includes/scripts.liquid +123 -0
  81. data/_includes/selected_papers 2.liquid +3 -0
  82. data/_includes/selected_papers.liquid +3 -0
  83. data/_includes/video 2.liquid +97 -0
  84. data/_includes/video.liquid +97 -0
  85. data/_layouts/about 2.liquid +84 -0
  86. data/_layouts/about.liquid +84 -0
  87. data/_layouts/archive 2.liquid +38 -0
  88. data/_layouts/archive.liquid +38 -0
  89. data/_layouts/bib 2.liquid +395 -0
  90. data/_layouts/bib.liquid +395 -0
  91. data/_layouts/book-review 2.liquid +265 -0
  92. data/_layouts/book-review.liquid +265 -0
  93. data/_layouts/book-shelf 2.liquid +49 -0
  94. data/_layouts/book-shelf.liquid +49 -0
  95. data/_layouts/course 2.liquid +75 -0
  96. data/_layouts/course.liquid +75 -0
  97. data/_layouts/cv 2.liquid +18 -0
  98. data/_layouts/cv.liquid +18 -0
  99. data/_layouts/default 2.liquid +56 -0
  100. data/_layouts/default.liquid +56 -0
  101. data/_layouts/distill 2.liquid +21 -0
  102. data/_layouts/distill.liquid +21 -0
  103. data/_layouts/none 2.liquid +1 -0
  104. data/_layouts/none.liquid +1 -0
  105. data/_layouts/page 2.liquid +31 -0
  106. data/_layouts/page.liquid +31 -0
  107. data/_layouts/post 2.liquid +94 -0
  108. data/_layouts/post.liquid +94 -0
  109. data/_layouts/profiles 2.liquid +36 -0
  110. data/_layouts/profiles.liquid +36 -0
  111. data/_sass/_blog 2.scss +204 -0
  112. data/_sass/_blog.scss +204 -0
  113. data/_sass/_components 2.scss +261 -0
  114. data/_sass/_components.scss +261 -0
  115. data/_sass/_footer 2.scss +35 -0
  116. data/_sass/_footer.scss +35 -0
  117. data/_sass/_layout 2.scss +58 -0
  118. data/_sass/_layout.scss +58 -0
  119. data/_sass/_navbar 2.scss +190 -0
  120. data/_sass/_navbar.scss +190 -0
  121. data/_sass/_publications 2.scss +188 -0
  122. data/_sass/_publications.scss +188 -0
  123. data/_sass/_tabs 2.scss +48 -0
  124. data/_sass/_tabs.scss +48 -0
  125. data/_sass/_teachings 2.scss +77 -0
  126. data/_sass/_teachings.scss +77 -0
  127. data/_sass/_themes 2.scss +208 -0
  128. data/_sass/_themes.scss +208 -0
  129. data/_sass/_typograms 2.scss +132 -0
  130. data/_sass/_typograms.scss +132 -0
  131. data/_sass/_typography 2.scss +136 -0
  132. data/_sass/_typography.scss +136 -0
  133. data/_sass/_utilities 2.scss +607 -0
  134. data/_sass/_utilities.scss +607 -0
  135. data/_sass/_variables 2.scss +52 -0
  136. data/_sass/_variables.scss +52 -0
  137. data/_sass/font-awesome/_animated 2.scss +150 -0
  138. data/_sass/font-awesome/_animated.scss +150 -0
  139. data/_sass/font-awesome/_bordered 2.scss +24 -0
  140. data/_sass/font-awesome/_bordered.scss +24 -0
  141. data/_sass/font-awesome/_core 2.scss +29 -0
  142. data/_sass/font-awesome/_core.scss +29 -0
  143. data/_sass/font-awesome/_fa 2.scss +3 -0
  144. data/_sass/font-awesome/_fa.scss +3 -0
  145. data/_sass/font-awesome/_functions 2.scss +8 -0
  146. data/_sass/font-awesome/_functions.scss +8 -0
  147. data/_sass/font-awesome/_icons 2.scss +15 -0
  148. data/_sass/font-awesome/_icons.scss +15 -0
  149. data/_sass/font-awesome/_list 2.scss +19 -0
  150. data/_sass/font-awesome/_list.scss +19 -0
  151. data/_sass/font-awesome/_mixins 2.scss +28 -0
  152. data/_sass/font-awesome/_mixins.scss +28 -0
  153. data/_sass/font-awesome/_pulled 2.scss +15 -0
  154. data/_sass/font-awesome/_pulled.scss +15 -0
  155. data/_sass/font-awesome/_rotated-flipped 2.scss +32 -0
  156. data/_sass/font-awesome/_rotated-flipped.scss +32 -0
  157. data/_sass/font-awesome/_shims 2.scss +2193 -0
  158. data/_sass/font-awesome/_shims.scss +2193 -0
  159. data/_sass/font-awesome/_sizing 2.scss +18 -0
  160. data/_sass/font-awesome/_sizing.scss +18 -0
  161. data/_sass/font-awesome/_stacked 2.scss +33 -0
  162. data/_sass/font-awesome/_stacked.scss +33 -0
  163. data/_sass/font-awesome/_variables 2.scss +5130 -0
  164. data/_sass/font-awesome/_variables.scss +5130 -0
  165. data/_sass/font-awesome/_widths 2.scss +12 -0
  166. data/_sass/font-awesome/_widths.scss +12 -0
  167. data/_sass/font-awesome/brands 2.scss +45 -0
  168. data/_sass/font-awesome/brands.scss +45 -0
  169. data/_sass/font-awesome/fontawesome 2.scss +18 -0
  170. data/_sass/font-awesome/fontawesome.scss +18 -0
  171. data/_sass/font-awesome/regular 2.scss +51 -0
  172. data/_sass/font-awesome/regular.scss +51 -0
  173. data/_sass/font-awesome/solid 2.scss +51 -0
  174. data/_sass/font-awesome/solid.scss +51 -0
  175. data/_sass/font-awesome/v4-shims 2.scss +11 -0
  176. data/_sass/font-awesome/v4-shims.scss +11 -0
  177. data/_scripts/giscus-setup 2.js +48 -0
  178. data/_scripts/giscus-setup.js +48 -0
  179. data/assets/css/academicons.min 2.css +1 -0
  180. data/assets/css/academicons.min.css +1 -0
  181. data/assets/css/jekyll-pygments-themes-github 2.css +209 -0
  182. data/assets/css/jekyll-pygments-themes-github.css +209 -0
  183. data/assets/css/jekyll-pygments-themes-native 2.css +232 -0
  184. data/assets/css/jekyll-pygments-themes-native.css +232 -0
  185. data/assets/css/jupyter 2.css +383 -0
  186. data/assets/css/jupyter-grade3 2.css +3758 -0
  187. data/assets/css/jupyter-grade3.css +3758 -0
  188. data/assets/css/jupyter-monokai 2.css +3758 -0
  189. data/assets/css/jupyter-monokai.css +3758 -0
  190. data/assets/css/jupyter.css +383 -0
  191. data/assets/css/main 2.scss +37 -0
  192. data/assets/css/main.scss +37 -0
  193. data/assets/css/scholar-icons 2.css +386 -0
  194. data/assets/css/scholar-icons.css +386 -0
  195. data/assets/css/tailwind 2.css +2 -0
  196. data/assets/css/tailwind.css +2 -0
  197. data/assets/js/bibsearch 2.js +70 -0
  198. data/assets/js/bibsearch.js +70 -0
  199. data/assets/js/calendar-setup 2.js +16 -0
  200. data/assets/js/calendar-setup.js +16 -0
  201. data/assets/js/common 2.js +137 -0
  202. data/assets/js/common.js +137 -0
  203. data/assets/js/copy_code 2.js +56 -0
  204. data/assets/js/copy_code.js +56 -0
  205. data/assets/js/highlight-search-term 2.js +110 -0
  206. data/assets/js/highlight-search-term.js +110 -0
  207. data/assets/js/jupyter_new_tab 2.js +18 -0
  208. data/assets/js/jupyter_new_tab.js +18 -0
  209. data/assets/js/masonry 2.js +12 -0
  210. data/assets/js/masonry.js +12 -0
  211. data/assets/js/nav-toggle 2.js +102 -0
  212. data/assets/js/nav-toggle.js +102 -0
  213. data/assets/js/no_defer 2.js +31 -0
  214. data/assets/js/no_defer.js +31 -0
  215. data/assets/js/progress-bar 2.js +69 -0
  216. data/assets/js/progress-bar.js +69 -0
  217. data/assets/js/search/hotkeys-js/hotkeys.esm.min 2.js +18 -0
  218. data/assets/js/search/hotkeys-js/hotkeys.esm.min.js +18 -0
  219. data/assets/js/search/lit/decorators.min 2.js +7 -0
  220. data/assets/js/search/lit/decorators.min.js +7 -0
  221. data/assets/js/search/lit/directives/class-map.min.js +7 -0
  222. data/assets/js/search/lit/directives/join.min.js +7 -0
  223. data/assets/js/search/lit/directives/live.min.js +7 -0
  224. data/assets/js/search/lit/directives/ref.min.js +7 -0
  225. data/assets/js/search/lit/directives/repeat.min.js +7 -0
  226. data/assets/js/search/lit/directives/unsafe-html.min.js +7 -0
  227. data/assets/js/search/lit/index.min 2.js +7 -0
  228. data/assets/js/search/lit/index.min.js +7 -0
  229. data/assets/js/search/lit-element/lit-element.min 2.js +12 -0
  230. data/assets/js/search/lit-element/lit-element.min.js +12 -0
  231. data/assets/js/search/lit-html/directives/class-map.min.js +22 -0
  232. data/assets/js/search/lit-html/directives/join.min.js +12 -0
  233. data/assets/js/search/lit-html/directives/live.min.js +28 -0
  234. data/assets/js/search/lit-html/directives/ref.min.js +32 -0
  235. data/assets/js/search/lit-html/directives/repeat.min.js +27 -0
  236. data/assets/js/search/lit-html/directives/unsafe-html.min.js +22 -0
  237. data/assets/js/search/lit-html/is-server.min 2.js +12 -0
  238. data/assets/js/search/lit-html/is-server.min.js +12 -0
  239. data/assets/js/search/lit-html/lit-html.min 2.js +12 -0
  240. data/assets/js/search/lit-html/lit-html.min.js +12 -0
  241. data/assets/js/search/reactive-element/decorators/custom-element.min.js +12 -0
  242. data/assets/js/search/reactive-element/decorators/event-options.min.js +12 -0
  243. data/assets/js/search/reactive-element/decorators/property.min.js +22 -0
  244. data/assets/js/search/reactive-element/decorators/query-all.min.js +17 -0
  245. data/assets/js/search/reactive-element/decorators/query-assigned-elements.min.js +17 -0
  246. data/assets/js/search/reactive-element/decorators/query-assigned-nodes.min.js +17 -0
  247. data/assets/js/search/reactive-element/decorators/query-async.min.js +17 -0
  248. data/assets/js/search/reactive-element/decorators/query.min.js +17 -0
  249. data/assets/js/search/reactive-element/decorators/state.min.js +27 -0
  250. data/assets/js/search/reactive-element/reactive-element.min 2.js +17 -0
  251. data/assets/js/search/reactive-element/reactive-element.min.js +17 -0
  252. data/assets/js/tabs.min 2.js +5 -0
  253. data/assets/js/tabs.min.js +5 -0
  254. data/assets/js/theme 2.js +329 -0
  255. data/assets/js/theme.js +329 -0
  256. data/assets/js/tooltips-setup 2.js +116 -0
  257. data/assets/js/tooltips-setup.js +116 -0
  258. data/assets/js/typograms 2.js +1341 -0
  259. data/assets/js/typograms.js +1341 -0
  260. data/assets/js/vanilla-back-to-top.min 2.js +1 -0
  261. data/assets/js/vanilla-back-to-top.min.js +1 -0
  262. data/assets/tailwind/app 2.css +855 -0
  263. data/assets/tailwind/app.css +855 -0
  264. data/assets/tailwind/bootstrap-compat.input 2.css +54 -0
  265. data/assets/tailwind/bootstrap-compat.input.css +54 -0
  266. data/assets/tailwind/input 2.css +2 -0
  267. data/assets/tailwind/input.css +2 -0
  268. data/lib/al_folio_core/version.rb +5 -0
  269. data/lib/al_folio_core.rb +282 -0
  270. data/migrations/1.0.0_to_1.1.0 2.yml +26 -0
  271. data/migrations/1.0.0_to_1.1.0.yml +26 -0
  272. data/migrations/1.1.0_to_1.2.0 2.yml +17 -0
  273. data/migrations/1.1.0_to_1.2.0.yml +17 -0
  274. metadata +393 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7543a0131f549b267b8523e2d30583df0755e16bd311f6aafdeb77b00449220c
4
+ data.tar.gz: a70250ddf07ccb430824963d7a8a768f673d9dc99fbd7f3d6c8a29a42682d020
5
+ SHA512:
6
+ metadata.gz: e914feeb2a643c14985cba6378b2a966e5ea40c838bcfc73960d75b997868f2915c7df497e0db5f0454ec2431d62db511c8fbbe9dfefcac82294e039e14d46df
7
+ data.tar.gz: c71d63fde1b2ad9430440c70e74f09301161aff552ab547966158d95a9fde4ae146cc051df7cf1becbc7c1224e454716ebd9700ab2a7733ecae045f0c3e351fa
data/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## 1.1.0 - 2026-02-10
4
+
5
+ - Delegated CV and Distill rendering to `al_folio_cv` and `al_folio_distill`.
6
+ - Removed CV/Distill templates and distill runtime assets from core ownership.
7
+ - Merged `al_utils` tags/filters into core (`details`, `file_exists`, `hideCustomBibtex`, `remove_accents`).
8
+
9
+ ## 1.0.0 - 2026-02-08
10
+
11
+ - Initial release.
12
+ - Added v1 API contract checks and legacy content migration warnings.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Maruan Al-Shedivat.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Al-Folio Core
2
+
3
+ Core runtime/theme gem for al-folio v1.x.
4
+
5
+ ## Responsibilities
6
+
7
+ - Validate v1 config contract (`al_folio.api_version`, Tailwind and Distill runtime keys)
8
+ - Emit migration warnings for legacy Bootstrap-marked content when compat mode is off
9
+ - Provide shared theme layout/includes/runtime for starter sites
10
+ - Delegate CV and Distill rendering to `al_folio_cv` and `al_folio_distill`
11
+ - Delegate cookie consent runtime to `al_cookie`
12
+ - Provide built-in utility tags/filters (`details`, `file_exists`, `hideCustomBibtex`, `remove_accents`)
13
+ - Ship migration manifests consumed by `al_folio_upgrade`
14
+ - Exclude legacy Bootstrap/MDB and plugin-owned duplicate runtime assets
15
+
16
+ ## Migration manifests
17
+
18
+ Version manifests live under `migrations/` and are packaged with the gem.
19
+
20
+ ## Theme usage
21
+
22
+ Use the gem as a Jekyll theme in starter sites:
23
+
24
+ ```yaml
25
+ theme: al_folio_core
26
+ plugins:
27
+ - al_folio_core
28
+ ```
@@ -0,0 +1,30 @@
1
+ <figure>
2
+ <audio
3
+ src="{% if include.cache_bust %}{{ include.path | relative_url | bust_file_cache }}{% else %}{{ include.path | relative_url }}{% endif %}"
4
+ {% if include.class %}
5
+ class="{{ include.class }}"
6
+ {% endif %}
7
+ {% if include.alt %}
8
+ alt="{{ include.alt }}"
9
+ {% endif %}
10
+ {% if include.title %}
11
+ title="{{ include.title }}"
12
+ {% endif %}
13
+ {% if include.autoplay %}
14
+ autoplay
15
+ {% endif %}
16
+ {% if include.controls %}
17
+ controls
18
+ {% endif %}
19
+ {% if include.loop %}
20
+ loop
21
+ {% endif %}
22
+ {% if include.muted %}
23
+ muted
24
+ {% endif %}
25
+ />
26
+
27
+ {% if include.caption %}
28
+ <figcaption class="caption">{{ include.caption }}</figcaption>
29
+ {% endif %}
30
+ </figure>
@@ -0,0 +1,30 @@
1
+ <figure>
2
+ <audio
3
+ src="{% if include.cache_bust %}{{ include.path | relative_url | bust_file_cache }}{% else %}{{ include.path | relative_url }}{% endif %}"
4
+ {% if include.class %}
5
+ class="{{ include.class }}"
6
+ {% endif %}
7
+ {% if include.alt %}
8
+ alt="{{ include.alt }}"
9
+ {% endif %}
10
+ {% if include.title %}
11
+ title="{{ include.title }}"
12
+ {% endif %}
13
+ {% if include.autoplay %}
14
+ autoplay
15
+ {% endif %}
16
+ {% if include.controls %}
17
+ controls
18
+ {% endif %}
19
+ {% if include.loop %}
20
+ loop
21
+ {% endif %}
22
+ {% if include.muted %}
23
+ muted
24
+ {% endif %}
25
+ />
26
+
27
+ {% if include.caption %}
28
+ <figcaption class="caption">{{ include.caption }}</figcaption>
29
+ {% endif %}
30
+ </figure>
@@ -0,0 +1,4 @@
1
+ {% if site.bib_search %}
2
+ <script src="{{ '/assets/js/bibsearch.js' | relative_url | bust_file_cache }}" type="module"></script>
3
+ <input type="text" id="bibsearch" spellcheck="false" autocomplete="off" class="search bibsearch-form-input" placeholder="Type to filter">
4
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ {% if site.bib_search %}
2
+ <script src="{{ '/assets/js/bibsearch.js' | relative_url | bust_file_cache }}" type="module"></script>
3
+ <input type="text" id="bibsearch" spellcheck="false" autocomplete="off" class="search bibsearch-form-input" placeholder="Type to filter">
4
+ {% endif %}
@@ -0,0 +1,25 @@
1
+ {% if include.calendar_id %}
2
+ <div class="post mt-4">
3
+ <h2 class="mb-3"><i class="fas fa-calendar-alt"></i> Upcoming Events</h2>
4
+
5
+ <button
6
+ class="btn btn-sm btn-outline-primary mb-3"
7
+ onclick="toggleCalendar()"
8
+ id="calendar-toggle-btn"
9
+ >
10
+ Show Calendar
11
+ </button>
12
+
13
+ <div class="calendar-wrapper" id="calendar-container" style="display: none;">
14
+ <iframe
15
+ id="calendar-iframe"
16
+ data-calendar-id="{{ include.calendar_id }}"
17
+ data-timezone="{{ include.timezone | default: 'UTC' }}"
18
+ style="{{ include.style | default: 'border:0; width:100%; height:600px;' }}"
19
+ frameborder="0"
20
+ scrolling="no"
21
+ >
22
+ </iframe>
23
+ </div>
24
+ </div>
25
+ {% endif %}
@@ -0,0 +1,25 @@
1
+ {% if include.calendar_id %}
2
+ <div class="post mt-4">
3
+ <h2 class="mb-3"><i class="fas fa-calendar-alt"></i> Upcoming Events</h2>
4
+
5
+ <button
6
+ class="btn btn-sm btn-outline-primary mb-3"
7
+ onclick="toggleCalendar()"
8
+ id="calendar-toggle-btn"
9
+ >
10
+ Show Calendar
11
+ </button>
12
+
13
+ <div class="calendar-wrapper" id="calendar-container" style="display: none;">
14
+ <iframe
15
+ id="calendar-iframe"
16
+ data-calendar-id="{{ include.calendar_id }}"
17
+ data-timezone="{{ include.timezone | default: 'UTC' }}"
18
+ style="{{ include.style | default: 'border:0; width:100%; height:600px;' }}"
19
+ frameborder="0"
20
+ scrolling="no"
21
+ >
22
+ </iframe>
23
+ </div>
24
+ </div>
25
+ {% endif %}
@@ -0,0 +1,26 @@
1
+ <br>
2
+ <hr>
3
+ <br>
4
+
5
+ If you found this useful, please cite this as:
6
+
7
+ {% capture citation_quote -%}
8
+ > {{ site.last_name }}, {{ site.first_name }}{% if site.middle_name %} {{ site.middle_name }}{% endif %} ({{ page.date | date: "%b %Y" }}). {{ page.title }}. {% if site.title != 'blank' %}{{ site.title }}. {% endif %}{{ site.url }}.
9
+ {%- endcapture %}
10
+ {{ citation_quote | markdownify }}
11
+
12
+ <p>or as a BibTeX entry:</p>
13
+
14
+ {% capture citation_code -%}
15
+ ```bibtex
16
+ @article{ {{- site.last_name | downcase }}{{ page.date | date: "%Y" }}{{ page.title | slugify }},
17
+ title = { {{- page.title -}} },
18
+ author = { {{- site.last_name }}, {{ site.first_name }}{% if site.middle_name %} {{ site.middle_name }}{% endif -%}},
19
+ {%- if site.title != 'blank' %}journal = { {{- site.title -}} },{% endif %}
20
+ year = { {{- page.date | date: "%Y" -}} },
21
+ month = { {{- page.date | date: "%b" -}} },
22
+ url = { {{- site.url }}{{ page.url -}} }
23
+ }
24
+ ```
25
+ {%- endcapture %}
26
+ {{ citation_code | markdownify }}
@@ -0,0 +1,26 @@
1
+ <br>
2
+ <hr>
3
+ <br>
4
+
5
+ If you found this useful, please cite this as:
6
+
7
+ {% capture citation_quote -%}
8
+ > {{ site.last_name }}, {{ site.first_name }}{% if site.middle_name %} {{ site.middle_name }}{% endif %} ({{ page.date | date: "%b %Y" }}). {{ page.title }}. {% if site.title != 'blank' %}{{ site.title }}. {% endif %}{{ site.url }}.
9
+ {%- endcapture %}
10
+ {{ citation_quote | markdownify }}
11
+
12
+ <p>or as a BibTeX entry:</p>
13
+
14
+ {% capture citation_code -%}
15
+ ```bibtex
16
+ @article{ {{- site.last_name | downcase }}{{ page.date | date: "%Y" }}{{ page.title | slugify }},
17
+ title = { {{- page.title -}} },
18
+ author = { {{- site.last_name }}, {{ site.first_name }}{% if site.middle_name %} {{ site.middle_name }}{% endif -%}},
19
+ {%- if site.title != 'blank' %}journal = { {{- site.title -}} },{% endif %}
20
+ year = { {{- page.date | date: "%Y" -}} },
21
+ month = { {{- page.date | date: "%b" -}} },
22
+ url = { {{- site.url }}{{ page.url -}} }
23
+ }
24
+ ```
25
+ {%- endcapture %}
26
+ {{ citation_code | markdownify }}
@@ -0,0 +1,71 @@
1
+ {% assign course = site.teachings | where: 'course_id', include.course_id | first %}
2
+
3
+ {% if course %}
4
+ <div class="course-schedule">
5
+ <h2>{{ course.title }}</h2>
6
+
7
+ {% if course.description %}
8
+ <div class="course-description">
9
+ {{ course.description | markdownify }}
10
+ </div>
11
+ {% endif %}
12
+
13
+ {% if course.instructor %}
14
+ <p><strong>Instructor:</strong> {{ course.instructor }}</p>
15
+ {% endif %}
16
+
17
+ {% if course.term %}
18
+ <p><strong>Term:</strong> {{ course.term }}</p>
19
+ {% endif %}
20
+
21
+ {% if course.schedule %}
22
+ <table class="table table-sm table-responsive">
23
+ <thead>
24
+ <tr>
25
+ <th>Week</th>
26
+ <th>Date</th>
27
+ <th>Topic</th>
28
+ <th>Materials</th>
29
+ </tr>
30
+ </thead>
31
+ <tbody>
32
+ {% for entry in course.schedule %}
33
+ <tr>
34
+ <td>{{ entry.week }}</td>
35
+ <td>{{ entry.date }}</td>
36
+ <td>
37
+ {% if entry.topic %}
38
+ <strong>{{ entry.topic }}</strong>
39
+ {% endif %}
40
+ {% if entry.description %}
41
+ <div class="schedule-description">{{ entry.description | markdownify }}</div>
42
+ {% endif %}
43
+ </td>
44
+ <td>
45
+ {% if entry.materials %}
46
+ <ul class="schedule-materials">
47
+ {% for material in entry.materials %}
48
+ <li>
49
+ {% if material.url %}
50
+ {% if material.url contains '://' %}
51
+ <a href="{{ material.url }}" target="_blank">{{ material.name }}</a>
52
+ {% else %}
53
+ <a href="{{ material.url | relative_url }}" target="_blank">{{ material.name }}</a>
54
+ {% endif %}
55
+ {% else %}
56
+ {{ material.name }}
57
+ {% endif %}
58
+ </li>
59
+ {% endfor %}
60
+ </ul>
61
+ {% endif %}
62
+ </td>
63
+ </tr>
64
+ {% endfor %}
65
+ </tbody>
66
+ </table>
67
+ {% else %}
68
+ <p>No schedule available for this course.</p>
69
+ {% endif %}
70
+ </div>
71
+ {% endif %}
@@ -0,0 +1,71 @@
1
+ {% assign course = site.teachings | where: 'course_id', include.course_id | first %}
2
+
3
+ {% if course %}
4
+ <div class="course-schedule">
5
+ <h2>{{ course.title }}</h2>
6
+
7
+ {% if course.description %}
8
+ <div class="course-description">
9
+ {{ course.description | markdownify }}
10
+ </div>
11
+ {% endif %}
12
+
13
+ {% if course.instructor %}
14
+ <p><strong>Instructor:</strong> {{ course.instructor }}</p>
15
+ {% endif %}
16
+
17
+ {% if course.term %}
18
+ <p><strong>Term:</strong> {{ course.term }}</p>
19
+ {% endif %}
20
+
21
+ {% if course.schedule %}
22
+ <table class="table table-sm table-responsive">
23
+ <thead>
24
+ <tr>
25
+ <th>Week</th>
26
+ <th>Date</th>
27
+ <th>Topic</th>
28
+ <th>Materials</th>
29
+ </tr>
30
+ </thead>
31
+ <tbody>
32
+ {% for entry in course.schedule %}
33
+ <tr>
34
+ <td>{{ entry.week }}</td>
35
+ <td>{{ entry.date }}</td>
36
+ <td>
37
+ {% if entry.topic %}
38
+ <strong>{{ entry.topic }}</strong>
39
+ {% endif %}
40
+ {% if entry.description %}
41
+ <div class="schedule-description">{{ entry.description | markdownify }}</div>
42
+ {% endif %}
43
+ </td>
44
+ <td>
45
+ {% if entry.materials %}
46
+ <ul class="schedule-materials">
47
+ {% for material in entry.materials %}
48
+ <li>
49
+ {% if material.url %}
50
+ {% if material.url contains '://' %}
51
+ <a href="{{ material.url }}" target="_blank">{{ material.name }}</a>
52
+ {% else %}
53
+ <a href="{{ material.url | relative_url }}" target="_blank">{{ material.name }}</a>
54
+ {% endif %}
55
+ {% else %}
56
+ {{ material.name }}
57
+ {% endif %}
58
+ </li>
59
+ {% endfor %}
60
+ </ul>
61
+ {% endif %}
62
+ </td>
63
+ </tr>
64
+ {% endfor %}
65
+ </tbody>
66
+ </table>
67
+ {% else %}
68
+ <p>No schedule available for this course.</p>
69
+ {% endif %}
70
+ </div>
71
+ {% endif %}
@@ -0,0 +1,37 @@
1
+ {% if site.teachings %}
2
+ <div class="courses">
3
+ {% assign courses_by_year = site.teachings | sort: 'year' | reverse | group_by: 'year' %}
4
+
5
+ {% for year_group in courses_by_year %}
6
+ <h2 class="year">{{ year_group.name }}</h2>
7
+ <div class="course-list">
8
+ {% assign year_courses = year_group.items | sort: 'term' %}
9
+ {% for course in year_courses %}
10
+ <div class="course-item">
11
+ <h3 class="course-title">
12
+ <a href="{{ course.url | relative_url }}">{{ course.title }}</a>
13
+ </h3>
14
+
15
+ <div class="course-meta">
16
+ {% if course.term %}
17
+ <span class="course-term">{{ course.term }}</span>
18
+ {% endif %}
19
+
20
+ {% if course.instructor %}
21
+ <span class="course-instructor">{{ course.instructor }}</span>
22
+ {% endif %}
23
+ </div>
24
+
25
+ {% if course.description %}
26
+ <div class="course-description">
27
+ {{ course.description | markdownify }}
28
+ </div>
29
+ {% endif %}
30
+ </div>
31
+ {% endfor %}
32
+ </div>
33
+ {% endfor %}
34
+ </div>
35
+ {% else %}
36
+ <p>No courses available yet.</p>
37
+ {% endif %}
@@ -0,0 +1,37 @@
1
+ {% if site.teachings %}
2
+ <div class="courses">
3
+ {% assign courses_by_year = site.teachings | sort: 'year' | reverse | group_by: 'year' %}
4
+
5
+ {% for year_group in courses_by_year %}
6
+ <h2 class="year">{{ year_group.name }}</h2>
7
+ <div class="course-list">
8
+ {% assign year_courses = year_group.items | sort: 'term' %}
9
+ {% for course in year_courses %}
10
+ <div class="course-item">
11
+ <h3 class="course-title">
12
+ <a href="{{ course.url | relative_url }}">{{ course.title }}</a>
13
+ </h3>
14
+
15
+ <div class="course-meta">
16
+ {% if course.term %}
17
+ <span class="course-term">{{ course.term }}</span>
18
+ {% endif %}
19
+
20
+ {% if course.instructor %}
21
+ <span class="course-instructor">{{ course.instructor }}</span>
22
+ {% endif %}
23
+ </div>
24
+
25
+ {% if course.description %}
26
+ <div class="course-description">
27
+ {{ course.description | markdownify }}
28
+ </div>
29
+ {% endif %}
30
+ </div>
31
+ {% endfor %}
32
+ </div>
33
+ {% endfor %}
34
+ </div>
35
+ {% else %}
36
+ <p>No courses available yet.</p>
37
+ {% endif %}
@@ -0,0 +1,13 @@
1
+ <div id="disqus_thread" style="max-width: {{ site.max_width }}; margin: 0 auto;">
2
+ <script type="text/javascript">
3
+ var disqus_shortname = '{{ site.disqus_shortname }}';
4
+ var disqus_identifier = '{{ page.id }}';
5
+ var disqus_title = {{ page.title | jsonify }};
6
+ (function() {
7
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
9
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10
+ })();
11
+ </script>
12
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13
+ </div>
@@ -0,0 +1,13 @@
1
+ <div id="disqus_thread" style="max-width: {{ site.max_width }}; margin: 0 auto;">
2
+ <script type="text/javascript">
3
+ var disqus_shortname = '{{ site.disqus_shortname }}';
4
+ var disqus_identifier = '{{ page.id }}';
5
+ var disqus_title = {{ page.title | jsonify }};
6
+ (function() {
7
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
8
+ dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
9
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
10
+ })();
11
+ </script>
12
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
13
+ </div>
@@ -0,0 +1,86 @@
1
+ {% assign img_path = include.path | remove: '.jpg' | remove: '.jpeg' | remove: '.png' | remove: '.tiff' | remove: '.gif' %}
2
+ {% assign parts = include.path | split: '.' %}
3
+ {% assign ext = parts.last %}
4
+
5
+ <figure
6
+ {% if include.slot %}
7
+ slot="{{ include.slot }}"
8
+ {% endif %}
9
+ >
10
+ <picture>
11
+ <!-- Auto scaling with imagemagick -->
12
+ <!--
13
+ See https://www.debugbear.com/blog/responsive-images#w-descriptors-and-the-sizes-attribute and
14
+ https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images for info on defining 'sizes' for responsive images
15
+ -->
16
+ {% if site.imagemagick.enabled %}
17
+ {% unless include.avoid_scaling %}
18
+ <source
19
+ class="responsive-img-srcset"
20
+ {% if ext == 'gif' or ext == 'jpeg' or ext == 'jpg' or ext == 'png' or ext == 'tiff' %}
21
+ srcset="{% for i in site.imagemagick.widths %}{{ img_path | relative_url }}-{{ i }}.webp {{ i }}w,{% endfor %}"
22
+ type="image/webp"
23
+ {% else %}
24
+ srcset="{{ include.path | relative_url }}"
25
+ {% endif %}
26
+ {% if include.sizes %}
27
+ sizes="{{ include.sizes }}"
28
+ {% else %}
29
+ sizes="95vw"
30
+ {% endif %}
31
+ >
32
+ {% endunless %}
33
+ {% endif %}
34
+ <img
35
+ src="{% if include.url %}{{ include.url }}{% elsif include.cache_bust %}{{ include.path | relative_url | bust_file_cache }}{% else %}{{ include.path | relative_url }}{% endif %}"
36
+ {% if include.class %}
37
+ class="{{ include.class }}"
38
+ {% endif %}
39
+ {% if include.width %}
40
+ width="{{ include.width }}"
41
+ {% else %}
42
+ width="100%"
43
+ {% endif %}
44
+ {% if include.height %}
45
+ height="{{ include.height }}"
46
+ {% else %}
47
+ height="auto"
48
+ {% endif %}
49
+ {% if include['min-width'] or include['min-height'] or include['max-width'] or include['max-height'] %}
50
+ style="
51
+ {% if include['min-width'] %}
52
+ min-width: {{ include.min-width }};
53
+ {% endif %}
54
+ {% if include['min-height'] %}
55
+ min-height: {{ include.min-height }};
56
+ {% endif %}
57
+ {% if include['max-width'] %}
58
+ max-width: {{ include.max-width }};
59
+ {% endif %}
60
+ {% if include['max-height'] %}
61
+ max-height: {{ include.max-height }};
62
+ {% endif %}
63
+ "
64
+ {% endif %}
65
+ {% if include.alt %}
66
+ alt="{{ include.alt }}"
67
+ {% endif %}
68
+ {% if include.title %}
69
+ title="{{ include.title }}"
70
+ {% endif %}
71
+ {% if include.zoomable %}
72
+ data-zoomable
73
+ {% endif %}
74
+ {% if include.loading %}
75
+ loading="{{ include.loading }}"
76
+ {% elsif site.lazy_loading_images %}
77
+ loading="lazy"
78
+ {% endif %}
79
+ onerror="this.onerror=null; $('.responsive-img-srcset').remove();"
80
+ >
81
+ </picture>
82
+
83
+ {% if include.caption %}
84
+ <figcaption class="caption">{{ include.caption }}</figcaption>
85
+ {% endif %}
86
+ </figure>