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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +12 -0
- data/LICENSE +20 -0
- data/README.md +28 -0
- data/_includes/audio 2.liquid +30 -0
- data/_includes/audio.liquid +30 -0
- data/_includes/bib_search 2.liquid +4 -0
- data/_includes/bib_search.liquid +4 -0
- data/_includes/calendar 2.liquid +25 -0
- data/_includes/calendar.liquid +25 -0
- data/_includes/citation 2.liquid +26 -0
- data/_includes/citation.liquid +26 -0
- data/_includes/course_schedule 2.liquid +71 -0
- data/_includes/course_schedule.liquid +71 -0
- data/_includes/courses 2.liquid +37 -0
- data/_includes/courses.liquid +37 -0
- data/_includes/disqus 2.liquid +13 -0
- data/_includes/disqus.liquid +13 -0
- data/_includes/figure 2.liquid +86 -0
- data/_includes/figure.liquid +86 -0
- data/_includes/footer 2.liquid +34 -0
- data/_includes/footer.liquid +34 -0
- data/_includes/giscus 2.liquid +25 -0
- data/_includes/giscus.liquid +25 -0
- data/_includes/head 2.liquid +147 -0
- data/_includes/head.liquid +147 -0
- data/_includes/header 2.liquid +149 -0
- data/_includes/header.liquid +149 -0
- data/_includes/latest_posts 2.liquid +48 -0
- data/_includes/latest_posts.liquid +48 -0
- data/_includes/metadata 2.liquid +247 -0
- data/_includes/metadata.liquid +247 -0
- data/_includes/news 2.liquid +34 -0
- data/_includes/news.liquid +34 -0
- data/_includes/newsletter 2.liquid +68 -0
- data/_includes/newsletter.liquid +68 -0
- data/_includes/pagination 2.liquid +21 -0
- data/_includes/pagination.liquid +21 -0
- data/_includes/plugins/al_analytics_scripts 2.liquid +4 -0
- data/_includes/plugins/al_analytics_scripts.liquid +4 -0
- data/_includes/plugins/al_charts_scripts 2.liquid +4 -0
- data/_includes/plugins/al_charts_scripts.liquid +4 -0
- data/_includes/plugins/al_comments 2.liquid +4 -0
- data/_includes/plugins/al_comments.liquid +4 -0
- data/_includes/plugins/al_cookie_scripts 2.liquid +4 -0
- data/_includes/plugins/al_cookie_scripts.liquid +4 -0
- data/_includes/plugins/al_cookie_styles 2.liquid +4 -0
- data/_includes/plugins/al_cookie_styles.liquid +4 -0
- data/_includes/plugins/al_img_tools_scripts 2.liquid +4 -0
- data/_includes/plugins/al_img_tools_scripts.liquid +4 -0
- data/_includes/plugins/al_img_tools_styles 2.liquid +4 -0
- data/_includes/plugins/al_img_tools_styles.liquid +4 -0
- data/_includes/plugins/al_math_scripts 2.liquid +4 -0
- data/_includes/plugins/al_math_scripts.liquid +4 -0
- data/_includes/plugins/al_math_styles 2.liquid +4 -0
- data/_includes/plugins/al_math_styles.liquid +4 -0
- data/_includes/plugins/al_newsletter_form_center 2.liquid +4 -0
- data/_includes/plugins/al_newsletter_form_center.liquid +4 -0
- data/_includes/plugins/al_newsletter_form_center_margin 2.liquid +1 -0
- data/_includes/plugins/al_newsletter_form_center_margin.liquid +1 -0
- data/_includes/plugins/al_newsletter_form_left 2.liquid +1 -0
- data/_includes/plugins/al_newsletter_form_left.liquid +1 -0
- data/_includes/plugins/al_newsletter_scripts 2.liquid +1 -0
- data/_includes/plugins/al_newsletter_scripts.liquid +1 -0
- data/_includes/plugins/al_search_assets 2.liquid +5 -0
- data/_includes/plugins/al_search_assets.liquid +5 -0
- data/_includes/projects 2.liquid +35 -0
- data/_includes/projects.liquid +35 -0
- data/_includes/projects_horizontal 2.liquid +34 -0
- data/_includes/projects_horizontal.liquid +34 -0
- data/_includes/related_posts 2.liquid +40 -0
- data/_includes/related_posts.liquid +40 -0
- data/_includes/repository/repo 2.liquid +47 -0
- data/_includes/repository/repo.liquid +47 -0
- data/_includes/repository/repo_trophies 2.liquid +42 -0
- data/_includes/repository/repo_trophies.liquid +42 -0
- data/_includes/repository/repo_user 2.liquid +34 -0
- data/_includes/repository/repo_user.liquid +34 -0
- data/_includes/scripts 2.liquid +123 -0
- data/_includes/scripts.liquid +123 -0
- data/_includes/selected_papers 2.liquid +3 -0
- data/_includes/selected_papers.liquid +3 -0
- data/_includes/video 2.liquid +97 -0
- data/_includes/video.liquid +97 -0
- data/_layouts/about 2.liquid +84 -0
- data/_layouts/about.liquid +84 -0
- data/_layouts/archive 2.liquid +38 -0
- data/_layouts/archive.liquid +38 -0
- data/_layouts/bib 2.liquid +395 -0
- data/_layouts/bib.liquid +395 -0
- data/_layouts/book-review 2.liquid +265 -0
- data/_layouts/book-review.liquid +265 -0
- data/_layouts/book-shelf 2.liquid +49 -0
- data/_layouts/book-shelf.liquid +49 -0
- data/_layouts/course 2.liquid +75 -0
- data/_layouts/course.liquid +75 -0
- data/_layouts/cv 2.liquid +18 -0
- data/_layouts/cv.liquid +18 -0
- data/_layouts/default 2.liquid +56 -0
- data/_layouts/default.liquid +56 -0
- data/_layouts/distill 2.liquid +21 -0
- data/_layouts/distill.liquid +21 -0
- data/_layouts/none 2.liquid +1 -0
- data/_layouts/none.liquid +1 -0
- data/_layouts/page 2.liquid +31 -0
- data/_layouts/page.liquid +31 -0
- data/_layouts/post 2.liquid +94 -0
- data/_layouts/post.liquid +94 -0
- data/_layouts/profiles 2.liquid +36 -0
- data/_layouts/profiles.liquid +36 -0
- data/_sass/_blog 2.scss +204 -0
- data/_sass/_blog.scss +204 -0
- data/_sass/_components 2.scss +261 -0
- data/_sass/_components.scss +261 -0
- data/_sass/_footer 2.scss +35 -0
- data/_sass/_footer.scss +35 -0
- data/_sass/_layout 2.scss +58 -0
- data/_sass/_layout.scss +58 -0
- data/_sass/_navbar 2.scss +190 -0
- data/_sass/_navbar.scss +190 -0
- data/_sass/_publications 2.scss +188 -0
- data/_sass/_publications.scss +188 -0
- data/_sass/_tabs 2.scss +48 -0
- data/_sass/_tabs.scss +48 -0
- data/_sass/_teachings 2.scss +77 -0
- data/_sass/_teachings.scss +77 -0
- data/_sass/_themes 2.scss +208 -0
- data/_sass/_themes.scss +208 -0
- data/_sass/_typograms 2.scss +132 -0
- data/_sass/_typograms.scss +132 -0
- data/_sass/_typography 2.scss +136 -0
- data/_sass/_typography.scss +136 -0
- data/_sass/_utilities 2.scss +607 -0
- data/_sass/_utilities.scss +607 -0
- data/_sass/_variables 2.scss +52 -0
- data/_sass/_variables.scss +52 -0
- data/_sass/font-awesome/_animated 2.scss +150 -0
- data/_sass/font-awesome/_animated.scss +150 -0
- data/_sass/font-awesome/_bordered 2.scss +24 -0
- data/_sass/font-awesome/_bordered.scss +24 -0
- data/_sass/font-awesome/_core 2.scss +29 -0
- data/_sass/font-awesome/_core.scss +29 -0
- data/_sass/font-awesome/_fa 2.scss +3 -0
- data/_sass/font-awesome/_fa.scss +3 -0
- data/_sass/font-awesome/_functions 2.scss +8 -0
- data/_sass/font-awesome/_functions.scss +8 -0
- data/_sass/font-awesome/_icons 2.scss +15 -0
- data/_sass/font-awesome/_icons.scss +15 -0
- data/_sass/font-awesome/_list 2.scss +19 -0
- data/_sass/font-awesome/_list.scss +19 -0
- data/_sass/font-awesome/_mixins 2.scss +28 -0
- data/_sass/font-awesome/_mixins.scss +28 -0
- data/_sass/font-awesome/_pulled 2.scss +15 -0
- data/_sass/font-awesome/_pulled.scss +15 -0
- data/_sass/font-awesome/_rotated-flipped 2.scss +32 -0
- data/_sass/font-awesome/_rotated-flipped.scss +32 -0
- data/_sass/font-awesome/_shims 2.scss +2193 -0
- data/_sass/font-awesome/_shims.scss +2193 -0
- data/_sass/font-awesome/_sizing 2.scss +18 -0
- data/_sass/font-awesome/_sizing.scss +18 -0
- data/_sass/font-awesome/_stacked 2.scss +33 -0
- data/_sass/font-awesome/_stacked.scss +33 -0
- data/_sass/font-awesome/_variables 2.scss +5130 -0
- data/_sass/font-awesome/_variables.scss +5130 -0
- data/_sass/font-awesome/_widths 2.scss +12 -0
- data/_sass/font-awesome/_widths.scss +12 -0
- data/_sass/font-awesome/brands 2.scss +45 -0
- data/_sass/font-awesome/brands.scss +45 -0
- data/_sass/font-awesome/fontawesome 2.scss +18 -0
- data/_sass/font-awesome/fontawesome.scss +18 -0
- data/_sass/font-awesome/regular 2.scss +51 -0
- data/_sass/font-awesome/regular.scss +51 -0
- data/_sass/font-awesome/solid 2.scss +51 -0
- data/_sass/font-awesome/solid.scss +51 -0
- data/_sass/font-awesome/v4-shims 2.scss +11 -0
- data/_sass/font-awesome/v4-shims.scss +11 -0
- data/_scripts/giscus-setup 2.js +48 -0
- data/_scripts/giscus-setup.js +48 -0
- data/assets/css/academicons.min 2.css +1 -0
- data/assets/css/academicons.min.css +1 -0
- data/assets/css/jekyll-pygments-themes-github 2.css +209 -0
- data/assets/css/jekyll-pygments-themes-github.css +209 -0
- data/assets/css/jekyll-pygments-themes-native 2.css +232 -0
- data/assets/css/jekyll-pygments-themes-native.css +232 -0
- data/assets/css/jupyter 2.css +383 -0
- data/assets/css/jupyter-grade3 2.css +3758 -0
- data/assets/css/jupyter-grade3.css +3758 -0
- data/assets/css/jupyter-monokai 2.css +3758 -0
- data/assets/css/jupyter-monokai.css +3758 -0
- data/assets/css/jupyter.css +383 -0
- data/assets/css/main 2.scss +37 -0
- data/assets/css/main.scss +37 -0
- data/assets/css/scholar-icons 2.css +386 -0
- data/assets/css/scholar-icons.css +386 -0
- data/assets/css/tailwind 2.css +2 -0
- data/assets/css/tailwind.css +2 -0
- data/assets/js/bibsearch 2.js +70 -0
- data/assets/js/bibsearch.js +70 -0
- data/assets/js/calendar-setup 2.js +16 -0
- data/assets/js/calendar-setup.js +16 -0
- data/assets/js/common 2.js +137 -0
- data/assets/js/common.js +137 -0
- data/assets/js/copy_code 2.js +56 -0
- data/assets/js/copy_code.js +56 -0
- data/assets/js/highlight-search-term 2.js +110 -0
- data/assets/js/highlight-search-term.js +110 -0
- data/assets/js/jupyter_new_tab 2.js +18 -0
- data/assets/js/jupyter_new_tab.js +18 -0
- data/assets/js/masonry 2.js +12 -0
- data/assets/js/masonry.js +12 -0
- data/assets/js/nav-toggle 2.js +102 -0
- data/assets/js/nav-toggle.js +102 -0
- data/assets/js/no_defer 2.js +31 -0
- data/assets/js/no_defer.js +31 -0
- data/assets/js/progress-bar 2.js +69 -0
- data/assets/js/progress-bar.js +69 -0
- data/assets/js/search/hotkeys-js/hotkeys.esm.min 2.js +18 -0
- data/assets/js/search/hotkeys-js/hotkeys.esm.min.js +18 -0
- data/assets/js/search/lit/decorators.min 2.js +7 -0
- data/assets/js/search/lit/decorators.min.js +7 -0
- data/assets/js/search/lit/directives/class-map.min.js +7 -0
- data/assets/js/search/lit/directives/join.min.js +7 -0
- data/assets/js/search/lit/directives/live.min.js +7 -0
- data/assets/js/search/lit/directives/ref.min.js +7 -0
- data/assets/js/search/lit/directives/repeat.min.js +7 -0
- data/assets/js/search/lit/directives/unsafe-html.min.js +7 -0
- data/assets/js/search/lit/index.min 2.js +7 -0
- data/assets/js/search/lit/index.min.js +7 -0
- data/assets/js/search/lit-element/lit-element.min 2.js +12 -0
- data/assets/js/search/lit-element/lit-element.min.js +12 -0
- data/assets/js/search/lit-html/directives/class-map.min.js +22 -0
- data/assets/js/search/lit-html/directives/join.min.js +12 -0
- data/assets/js/search/lit-html/directives/live.min.js +28 -0
- data/assets/js/search/lit-html/directives/ref.min.js +32 -0
- data/assets/js/search/lit-html/directives/repeat.min.js +27 -0
- data/assets/js/search/lit-html/directives/unsafe-html.min.js +22 -0
- data/assets/js/search/lit-html/is-server.min 2.js +12 -0
- data/assets/js/search/lit-html/is-server.min.js +12 -0
- data/assets/js/search/lit-html/lit-html.min 2.js +12 -0
- data/assets/js/search/lit-html/lit-html.min.js +12 -0
- data/assets/js/search/reactive-element/decorators/custom-element.min.js +12 -0
- data/assets/js/search/reactive-element/decorators/event-options.min.js +12 -0
- data/assets/js/search/reactive-element/decorators/property.min.js +22 -0
- data/assets/js/search/reactive-element/decorators/query-all.min.js +17 -0
- data/assets/js/search/reactive-element/decorators/query-assigned-elements.min.js +17 -0
- data/assets/js/search/reactive-element/decorators/query-assigned-nodes.min.js +17 -0
- data/assets/js/search/reactive-element/decorators/query-async.min.js +17 -0
- data/assets/js/search/reactive-element/decorators/query.min.js +17 -0
- data/assets/js/search/reactive-element/decorators/state.min.js +27 -0
- data/assets/js/search/reactive-element/reactive-element.min 2.js +17 -0
- data/assets/js/search/reactive-element/reactive-element.min.js +17 -0
- data/assets/js/tabs.min 2.js +5 -0
- data/assets/js/tabs.min.js +5 -0
- data/assets/js/theme 2.js +329 -0
- data/assets/js/theme.js +329 -0
- data/assets/js/tooltips-setup 2.js +116 -0
- data/assets/js/tooltips-setup.js +116 -0
- data/assets/js/typograms 2.js +1341 -0
- data/assets/js/typograms.js +1341 -0
- data/assets/js/vanilla-back-to-top.min 2.js +1 -0
- data/assets/js/vanilla-back-to-top.min.js +1 -0
- data/assets/tailwind/app 2.css +855 -0
- data/assets/tailwind/app.css +855 -0
- data/assets/tailwind/bootstrap-compat.input 2.css +54 -0
- data/assets/tailwind/bootstrap-compat.input.css +54 -0
- data/assets/tailwind/input 2.css +2 -0
- data/assets/tailwind/input.css +2 -0
- data/lib/al_folio_core/version.rb +5 -0
- data/lib/al_folio_core.rb +282 -0
- data/migrations/1.0.0_to_1.1.0 2.yml +26 -0
- data/migrations/1.0.0_to_1.1.0.yml +26 -0
- data/migrations/1.1.0_to_1.2.0 2.yml +17 -0
- data/migrations/1.1.0_to_1.2.0.yml +17 -0
- metadata +393 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{% assign distill_feature_enabled = site.al_folio.features.distill.enabled | default: true %}
|
|
2
|
+
|
|
3
|
+
{% if site.plugins contains 'al_folio_distill' and distill_feature_enabled %}
|
|
4
|
+
{% al_folio_distill_render %}
|
|
5
|
+
{% else %}
|
|
6
|
+
<!doctype html>
|
|
7
|
+
<html lang="{{ site.lang }}">
|
|
8
|
+
<head>
|
|
9
|
+
{% include head.liquid %}
|
|
10
|
+
</head>
|
|
11
|
+
<body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}">
|
|
12
|
+
{% include header.liquid %}
|
|
13
|
+
<div class="container mt-5" role="main">
|
|
14
|
+
<h1>{{ page.title }}</h1>
|
|
15
|
+
<p>Distill rendering is unavailable. Enable <code>al_folio_distill</code> and set <code>al_folio.features.distill.enabled: true</code>.</p>
|
|
16
|
+
</div>
|
|
17
|
+
{% include footer.liquid %}
|
|
18
|
+
{% include scripts.liquid %}
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
21
|
+
{% endif %}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{ content }}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{ content }}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% if page._styles %}
|
|
5
|
+
<!-- Page/Post style -->
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
{{ page._styles }}
|
|
8
|
+
</style>
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
<div class="post">
|
|
12
|
+
<header class="post-header">
|
|
13
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
14
|
+
<p class="post-description">{{ page.description }}</p>
|
|
15
|
+
</header>
|
|
16
|
+
|
|
17
|
+
<article>
|
|
18
|
+
{{ content }}
|
|
19
|
+
</article>
|
|
20
|
+
|
|
21
|
+
{% if page.related_publications %}
|
|
22
|
+
<h2>References</h2>
|
|
23
|
+
<div class="publications">
|
|
24
|
+
{% bibliography --cited_in_order %}
|
|
25
|
+
</div>
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
{% if site.plugins contains 'al_comments' %}
|
|
29
|
+
{% include plugins/al_comments.liquid %}
|
|
30
|
+
{% endif %}
|
|
31
|
+
</div>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% if page._styles %}
|
|
5
|
+
<!-- Page/Post style -->
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
{{ page._styles }}
|
|
8
|
+
</style>
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
<div class="post">
|
|
12
|
+
<header class="post-header">
|
|
13
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
14
|
+
<p class="post-description">{{ page.description }}</p>
|
|
15
|
+
</header>
|
|
16
|
+
|
|
17
|
+
<article>
|
|
18
|
+
{{ content }}
|
|
19
|
+
</article>
|
|
20
|
+
|
|
21
|
+
{% if page.related_publications %}
|
|
22
|
+
<h2>References</h2>
|
|
23
|
+
<div class="publications">
|
|
24
|
+
{% bibliography --cited_in_order %}
|
|
25
|
+
</div>
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
{% if site.plugins contains 'al_comments' %}
|
|
29
|
+
{% include plugins/al_comments.liquid %}
|
|
30
|
+
{% endif %}
|
|
31
|
+
</div>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% assign year = page.date | date: '%Y' %}
|
|
5
|
+
{% assign tags = page.tags | join: '' %}
|
|
6
|
+
{% assign categories = page.categories | join: '' %}
|
|
7
|
+
{% assign url_beginning = page.url | slice: 0, 6 %}
|
|
8
|
+
|
|
9
|
+
{% if page._styles %}
|
|
10
|
+
<!-- Page/Post style -->
|
|
11
|
+
<style type="text/css">
|
|
12
|
+
{{ page._styles }}
|
|
13
|
+
</style>
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
<div class="post">
|
|
17
|
+
<header class="post-header">
|
|
18
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
19
|
+
<p class="post-meta">
|
|
20
|
+
Created on {{ page.date | date: '%B %d, %Y' }}
|
|
21
|
+
{% if page.author %}by {{ page.author }}{% endif %}
|
|
22
|
+
{% assign last_date = page.last_modified_at | default: page.last_updated %}
|
|
23
|
+
{% if last_date %}, last updated on {{ last_date | date: '%B %d, %Y' }}{% endif %}
|
|
24
|
+
{% if page.meta %}• {{ page.meta }}{% endif %}
|
|
25
|
+
</p>
|
|
26
|
+
<p class="post-tags">
|
|
27
|
+
{% if url_beginning == '/blog/' %}
|
|
28
|
+
<a href="{{ year | prepend: '/blog/' | relative_url }}"> <i class="fa-solid fa-calendar fa-sm"></i> {{ year }} </a>
|
|
29
|
+
{% else %}
|
|
30
|
+
<i class="fa-solid fa-calendar fa-sm"></i> {{ year }}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if tags != '' %}
|
|
33
|
+
·
|
|
34
|
+
{% for tag in page.tags %}
|
|
35
|
+
{% if url_beginning == '/blog/' %}
|
|
36
|
+
<a href="{{ tag | slugify | prepend: '/blog/tag/' | relative_url }}"> <i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}</a>
|
|
37
|
+
{% else %}
|
|
38
|
+
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}
|
|
39
|
+
{% endif %}
|
|
40
|
+
{% unless forloop.last %}
|
|
41
|
+
|
|
42
|
+
{% endunless %}
|
|
43
|
+
{% endfor %}
|
|
44
|
+
{% endif %}
|
|
45
|
+
|
|
46
|
+
{% if categories != '' %}
|
|
47
|
+
·
|
|
48
|
+
{% for category in page.categories %}
|
|
49
|
+
{% if url_beginning == '/blog/' %}
|
|
50
|
+
<a href="{{ category | slugify | prepend: '/blog/category/' | relative_url }}"> <i class="fa-solid fa-tag fa-sm"></i> {{ category -}}</a>
|
|
51
|
+
{% else %}
|
|
52
|
+
<i class="fa-solid fa-tag fa-sm"></i> {{ category }}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% unless forloop.last %}
|
|
55
|
+
|
|
56
|
+
{% endunless %}
|
|
57
|
+
{% endfor %}
|
|
58
|
+
{% endif %}
|
|
59
|
+
</p>
|
|
60
|
+
</header>
|
|
61
|
+
|
|
62
|
+
<article class="post-content">
|
|
63
|
+
{% if page.toc and page.toc.beginning %}
|
|
64
|
+
<div id="table-of-contents">
|
|
65
|
+
{% toc %}
|
|
66
|
+
</div>
|
|
67
|
+
<hr>
|
|
68
|
+
{% endif %}
|
|
69
|
+
<div id="markdown-content">
|
|
70
|
+
{{ content }}
|
|
71
|
+
</div>
|
|
72
|
+
</article>
|
|
73
|
+
|
|
74
|
+
{% if page.citation %}
|
|
75
|
+
{% include citation.liquid %}
|
|
76
|
+
{% endif %}
|
|
77
|
+
|
|
78
|
+
{% if page.related_publications %}
|
|
79
|
+
<h2>References</h2>
|
|
80
|
+
<div class="publications">
|
|
81
|
+
{% bibliography --group_by none --cited_in_order %}
|
|
82
|
+
</div>
|
|
83
|
+
{% endif %}
|
|
84
|
+
|
|
85
|
+
{% if site.related_blog_posts and site.related_blog_posts.enabled %}
|
|
86
|
+
{% if page.related_posts == null or page.related_posts %}
|
|
87
|
+
{% include related_posts.liquid %}
|
|
88
|
+
{% endif %}
|
|
89
|
+
{% endif %}
|
|
90
|
+
|
|
91
|
+
{% if site.plugins contains 'al_comments' %}
|
|
92
|
+
{% include plugins/al_comments.liquid %}
|
|
93
|
+
{% endif %}
|
|
94
|
+
</div>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% assign year = page.date | date: '%Y' %}
|
|
5
|
+
{% assign tags = page.tags | join: '' %}
|
|
6
|
+
{% assign categories = page.categories | join: '' %}
|
|
7
|
+
{% assign url_beginning = page.url | slice: 0, 6 %}
|
|
8
|
+
|
|
9
|
+
{% if page._styles %}
|
|
10
|
+
<!-- Page/Post style -->
|
|
11
|
+
<style type="text/css">
|
|
12
|
+
{{ page._styles }}
|
|
13
|
+
</style>
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
<div class="post">
|
|
17
|
+
<header class="post-header">
|
|
18
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
19
|
+
<p class="post-meta">
|
|
20
|
+
Created on {{ page.date | date: '%B %d, %Y' }}
|
|
21
|
+
{% if page.author %}by {{ page.author }}{% endif %}
|
|
22
|
+
{% assign last_date = page.last_modified_at | default: page.last_updated %}
|
|
23
|
+
{% if last_date %}, last updated on {{ last_date | date: '%B %d, %Y' }}{% endif %}
|
|
24
|
+
{% if page.meta %}• {{ page.meta }}{% endif %}
|
|
25
|
+
</p>
|
|
26
|
+
<p class="post-tags">
|
|
27
|
+
{% if url_beginning == '/blog/' %}
|
|
28
|
+
<a href="{{ year | prepend: '/blog/' | relative_url }}"> <i class="fa-solid fa-calendar fa-sm"></i> {{ year }} </a>
|
|
29
|
+
{% else %}
|
|
30
|
+
<i class="fa-solid fa-calendar fa-sm"></i> {{ year }}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if tags != '' %}
|
|
33
|
+
·
|
|
34
|
+
{% for tag in page.tags %}
|
|
35
|
+
{% if url_beginning == '/blog/' %}
|
|
36
|
+
<a href="{{ tag | slugify | prepend: '/blog/tag/' | relative_url }}"> <i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}</a>
|
|
37
|
+
{% else %}
|
|
38
|
+
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}
|
|
39
|
+
{% endif %}
|
|
40
|
+
{% unless forloop.last %}
|
|
41
|
+
|
|
42
|
+
{% endunless %}
|
|
43
|
+
{% endfor %}
|
|
44
|
+
{% endif %}
|
|
45
|
+
|
|
46
|
+
{% if categories != '' %}
|
|
47
|
+
·
|
|
48
|
+
{% for category in page.categories %}
|
|
49
|
+
{% if url_beginning == '/blog/' %}
|
|
50
|
+
<a href="{{ category | slugify | prepend: '/blog/category/' | relative_url }}"> <i class="fa-solid fa-tag fa-sm"></i> {{ category -}}</a>
|
|
51
|
+
{% else %}
|
|
52
|
+
<i class="fa-solid fa-tag fa-sm"></i> {{ category }}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% unless forloop.last %}
|
|
55
|
+
|
|
56
|
+
{% endunless %}
|
|
57
|
+
{% endfor %}
|
|
58
|
+
{% endif %}
|
|
59
|
+
</p>
|
|
60
|
+
</header>
|
|
61
|
+
|
|
62
|
+
<article class="post-content">
|
|
63
|
+
{% if page.toc and page.toc.beginning %}
|
|
64
|
+
<div id="table-of-contents">
|
|
65
|
+
{% toc %}
|
|
66
|
+
</div>
|
|
67
|
+
<hr>
|
|
68
|
+
{% endif %}
|
|
69
|
+
<div id="markdown-content">
|
|
70
|
+
{{ content }}
|
|
71
|
+
</div>
|
|
72
|
+
</article>
|
|
73
|
+
|
|
74
|
+
{% if page.citation %}
|
|
75
|
+
{% include citation.liquid %}
|
|
76
|
+
{% endif %}
|
|
77
|
+
|
|
78
|
+
{% if page.related_publications %}
|
|
79
|
+
<h2>References</h2>
|
|
80
|
+
<div class="publications">
|
|
81
|
+
{% bibliography --group_by none --cited_in_order %}
|
|
82
|
+
</div>
|
|
83
|
+
{% endif %}
|
|
84
|
+
|
|
85
|
+
{% if site.related_blog_posts and site.related_blog_posts.enabled %}
|
|
86
|
+
{% if page.related_posts == null or page.related_posts %}
|
|
87
|
+
{% include related_posts.liquid %}
|
|
88
|
+
{% endif %}
|
|
89
|
+
{% endif %}
|
|
90
|
+
|
|
91
|
+
{% if site.plugins contains 'al_comments' %}
|
|
92
|
+
{% include plugins/al_comments.liquid %}
|
|
93
|
+
{% endif %}
|
|
94
|
+
</div>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
---
|
|
4
|
+
<div class="post">
|
|
5
|
+
<article>
|
|
6
|
+
{% if page.profiles %}
|
|
7
|
+
{% for profile in page.profiles %}
|
|
8
|
+
<hr>
|
|
9
|
+
<div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
|
|
10
|
+
{% if profile.image %}
|
|
11
|
+
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
|
|
12
|
+
{% if profile.image_circular %}
|
|
13
|
+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
|
|
14
|
+
{% else %}
|
|
15
|
+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
{% capture sizes %}(min-width: {{ site.max_width }}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
|
|
18
|
+
{% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=profile.image %}
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if profile.more_info %}
|
|
21
|
+
<div class="more-info">{{ profile.more_info }}</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="clearfix">
|
|
26
|
+
{% if profile.content %}
|
|
27
|
+
{% capture profile_content %}{% include_relative {{ profile.content }} %}{% endcapture %}
|
|
28
|
+
{{ profile_content | markdownify }}
|
|
29
|
+
{% else %}
|
|
30
|
+
{{ content }}
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
{% endfor %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
</article>
|
|
36
|
+
</div>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
---
|
|
4
|
+
<div class="post">
|
|
5
|
+
<article>
|
|
6
|
+
{% if page.profiles %}
|
|
7
|
+
{% for profile in page.profiles %}
|
|
8
|
+
<hr>
|
|
9
|
+
<div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
|
|
10
|
+
{% if profile.image %}
|
|
11
|
+
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
|
|
12
|
+
{% if profile.image_circular %}
|
|
13
|
+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded-circle' %}
|
|
14
|
+
{% else %}
|
|
15
|
+
{% assign profile_image_class = 'img-fluid z-depth-1 rounded' %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
{% capture sizes %}(min-width: {{ site.max_width }}) {{ site.max_width | minus: 30 | times: 0.3}}px, (min-width: 576px) 30vw, 95vw"{% endcapture %}
|
|
18
|
+
{% include figure.liquid loading="eager" path=profile_image_path class=profile_image_class sizes=sizes alt=profile.image %}
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if profile.more_info %}
|
|
21
|
+
<div class="more-info">{{ profile.more_info }}</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div class="clearfix">
|
|
26
|
+
{% if profile.content %}
|
|
27
|
+
{% capture profile_content %}{% include_relative {{ profile.content }} %}{% endcapture %}
|
|
28
|
+
{{ profile_content | markdownify }}
|
|
29
|
+
{% else %}
|
|
30
|
+
{{ content }}
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
{% endfor %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
</article>
|
|
36
|
+
</div>
|
data/_sass/_blog 2.scss
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Blog post and listing styles
|
|
3
|
+
******************************************************************************/
|
|
4
|
+
|
|
5
|
+
.header-bar {
|
|
6
|
+
border-bottom: 1px solid var(--global-divider-color);
|
|
7
|
+
text-align: center;
|
|
8
|
+
padding-top: 2rem;
|
|
9
|
+
padding-bottom: 3rem;
|
|
10
|
+
|
|
11
|
+
h1 {
|
|
12
|
+
color: var(--global-theme-color);
|
|
13
|
+
font-size: 5rem;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.tag-category-list {
|
|
18
|
+
border-bottom: 1px solid var(--global-divider-color);
|
|
19
|
+
text-align: center;
|
|
20
|
+
padding-top: 1rem;
|
|
21
|
+
|
|
22
|
+
ul {
|
|
23
|
+
justify-content: center;
|
|
24
|
+
display: flow-root;
|
|
25
|
+
|
|
26
|
+
p,
|
|
27
|
+
li {
|
|
28
|
+
list-style: none;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
padding: 1rem 0.5rem;
|
|
31
|
+
color: var(--global-text-color-light);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.post-title {
|
|
37
|
+
mjx-container[jax="CHTML"][display="true"] {
|
|
38
|
+
display: unset;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.post-list {
|
|
43
|
+
margin: 0;
|
|
44
|
+
margin-bottom: 40px;
|
|
45
|
+
padding: 0;
|
|
46
|
+
|
|
47
|
+
li {
|
|
48
|
+
border-bottom: 1px solid var(--global-divider-color);
|
|
49
|
+
list-style: none;
|
|
50
|
+
padding-top: 2rem;
|
|
51
|
+
padding-bottom: 2rem;
|
|
52
|
+
|
|
53
|
+
.post-meta {
|
|
54
|
+
color: var(--global-text-color-light);
|
|
55
|
+
font-size: 0.875rem;
|
|
56
|
+
margin-bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.post-tags {
|
|
60
|
+
color: var(--global-text-color-light);
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
padding-top: 0.25rem;
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
color: var(--global-text-color);
|
|
68
|
+
text-decoration: none;
|
|
69
|
+
|
|
70
|
+
&:hover {
|
|
71
|
+
color: var(--global-theme-color);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
mjx-container[jax="CHTML"][display="true"] {
|
|
76
|
+
display: unset;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.af-pagination,
|
|
82
|
+
.pagination {
|
|
83
|
+
display: flex;
|
|
84
|
+
justify-content: center;
|
|
85
|
+
padding-left: 0;
|
|
86
|
+
margin-top: 1.25rem;
|
|
87
|
+
margin-bottom: 1.5rem;
|
|
88
|
+
list-style: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.af-page-link,
|
|
92
|
+
.pagination .page-link {
|
|
93
|
+
position: relative;
|
|
94
|
+
display: block;
|
|
95
|
+
margin-left: -1px;
|
|
96
|
+
line-height: 1.25;
|
|
97
|
+
color: var(--global-text-color);
|
|
98
|
+
background-color: var(--global-bg-color);
|
|
99
|
+
border: 1px solid var(--global-divider-color);
|
|
100
|
+
padding: 0.75rem 1.15rem;
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
color: #000;
|
|
104
|
+
text-decoration: none;
|
|
105
|
+
background-color: color-mix(in srgb, var(--global-theme-color) 10%, transparent);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.af-page-item:first-child .af-page-link,
|
|
110
|
+
.pagination .page-item:first-child .page-link {
|
|
111
|
+
margin-left: 0;
|
|
112
|
+
border-top-left-radius: 0.3rem;
|
|
113
|
+
border-bottom-left-radius: 0.3rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.af-page-item:last-child .af-page-link,
|
|
117
|
+
.pagination .page-item:last-child .page-link {
|
|
118
|
+
border-top-right-radius: 0.3rem;
|
|
119
|
+
border-bottom-right-radius: 0.3rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.af-page-item.active .af-page-link,
|
|
123
|
+
.pagination .page-item.active .page-link {
|
|
124
|
+
color: #fff;
|
|
125
|
+
background-color: var(--global-theme-color);
|
|
126
|
+
border-color: var(--global-theme-color);
|
|
127
|
+
|
|
128
|
+
&:hover {
|
|
129
|
+
background-color: var(--global-theme-color);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.af-page-item.disabled .af-page-link,
|
|
134
|
+
.pagination .page-item.disabled .page-link {
|
|
135
|
+
color: var(--global-text-color-light);
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
background-color: var(--global-bg-color);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.post {
|
|
141
|
+
.post-meta {
|
|
142
|
+
color: var(--global-text-color-light);
|
|
143
|
+
font-size: 0.875rem;
|
|
144
|
+
margin-bottom: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.post-tags {
|
|
148
|
+
color: var(--global-text-color-light);
|
|
149
|
+
font-size: 0.875rem;
|
|
150
|
+
padding-top: 0.25rem;
|
|
151
|
+
padding-bottom: 1rem;
|
|
152
|
+
|
|
153
|
+
a {
|
|
154
|
+
color: var(--global-text-color-light);
|
|
155
|
+
text-decoration: none;
|
|
156
|
+
|
|
157
|
+
&:hover {
|
|
158
|
+
color: var(--global-theme-color);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.featured-posts {
|
|
165
|
+
a {
|
|
166
|
+
color: var(--global-text-color-light);
|
|
167
|
+
text-decoration: none;
|
|
168
|
+
|
|
169
|
+
.card-text {
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
text-overflow: ellipsis;
|
|
172
|
+
white-space: nowrap;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&:hover {
|
|
176
|
+
color: var(--global-theme-color);
|
|
177
|
+
|
|
178
|
+
.card-title {
|
|
179
|
+
color: var(--global-theme-color);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.post-meta {
|
|
185
|
+
color: var(--global-text-color-light);
|
|
186
|
+
font-size: 0.875rem;
|
|
187
|
+
margin-bottom: 0;
|
|
188
|
+
padding-top: 0.5rem;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.post-description {
|
|
193
|
+
margin-bottom: 2rem;
|
|
194
|
+
font-size: 0.875rem;
|
|
195
|
+
|
|
196
|
+
a {
|
|
197
|
+
color: inherit;
|
|
198
|
+
|
|
199
|
+
&:hover {
|
|
200
|
+
color: var(--global-theme-color);
|
|
201
|
+
text-decoration: none;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|