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
data/_layouts/bib.liquid
ADDED
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="row">
|
|
4
|
+
{% if site.enable_publication_thumbnails %}
|
|
5
|
+
<div class="col col-sm-2 abbr">
|
|
6
|
+
{%- if entry.abbr -%}
|
|
7
|
+
{%- if site.data.venues[entry.abbr] -%}
|
|
8
|
+
{% assign venue_style = null %}
|
|
9
|
+
{% if site.data.venues[entry.abbr].color != blank %}
|
|
10
|
+
{% assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' %}
|
|
11
|
+
{%- endif -%}
|
|
12
|
+
<abbr
|
|
13
|
+
class="badge rounded w-100"
|
|
14
|
+
{% if venue_style %}
|
|
15
|
+
{{ venue_style }}
|
|
16
|
+
{% endif -%}
|
|
17
|
+
>
|
|
18
|
+
{% if site.data.venues[entry.abbr].url %}
|
|
19
|
+
<a href="{{ site.data.venues[entry.abbr].url }}">{{ entry.abbr }}</a>
|
|
20
|
+
{% else %}
|
|
21
|
+
<div>{{- entry.abbr -}}</div>
|
|
22
|
+
{% endif %}
|
|
23
|
+
</abbr>
|
|
24
|
+
{% else %}
|
|
25
|
+
<abbr class="badge rounded w-100">{{ entry.abbr }}</abbr>
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% endif %}
|
|
28
|
+
{% if entry.preview %}
|
|
29
|
+
{% if entry.preview contains '://' %}
|
|
30
|
+
<img class="preview z-depth-1 rounded" src="{{ entry.preview }}">
|
|
31
|
+
{% else %}
|
|
32
|
+
{% assign entry_path = entry.preview | prepend: '/assets/img/publication_preview/' %}
|
|
33
|
+
{%
|
|
34
|
+
include figure.liquid
|
|
35
|
+
loading="eager"
|
|
36
|
+
path=entry_path
|
|
37
|
+
sizes = "200px"
|
|
38
|
+
class="preview z-depth-1 rounded"
|
|
39
|
+
zoomable=true
|
|
40
|
+
avoid_scaling=true
|
|
41
|
+
alt=entry.preview
|
|
42
|
+
%}
|
|
43
|
+
{% endif %}
|
|
44
|
+
{% endif %}
|
|
45
|
+
</div>
|
|
46
|
+
{% endif %}
|
|
47
|
+
|
|
48
|
+
<!-- Entry bib key -->
|
|
49
|
+
<div id="{{ entry.key }}" class="{% if site.enable_publication_thumbnails %}col-sm-8{% else %}col-sm-10{% endif %}">
|
|
50
|
+
<!-- Title -->
|
|
51
|
+
<div class="title">{{ entry.title }}</div>
|
|
52
|
+
<!-- Author -->
|
|
53
|
+
<div class="author">
|
|
54
|
+
{% assign author_array_size = entry.author_array | size %}
|
|
55
|
+
|
|
56
|
+
{% assign author_array_limit = author_array_size %}
|
|
57
|
+
{% if site.max_author_limit and author_array_size > site.max_author_limit %}
|
|
58
|
+
{% assign author_array_limit = site.max_author_limit %}
|
|
59
|
+
{% endif %}
|
|
60
|
+
|
|
61
|
+
{%- for author in entry.author_array limit: author_array_limit -%}
|
|
62
|
+
{% assign author_is_self = false %}
|
|
63
|
+
{%- assign author_last_name = author.last | regex_replace: '[*∗†‡§¶‖&^]', '' -%}
|
|
64
|
+
{%- assign author_last_html = author.last | regex_replace: '([*∗†‡§¶‖&^]+)', '<sup>\1</sup>' -%}
|
|
65
|
+
{% if site.scholar.last_name contains author_last_name %}
|
|
66
|
+
{% if site.scholar.first_name contains author.first %}
|
|
67
|
+
{% assign author_is_self = true %}
|
|
68
|
+
{% endif %}
|
|
69
|
+
{%- endif -%}
|
|
70
|
+
{% assign coauthor_url = null %}
|
|
71
|
+
{%- assign clean_last_name = author_last_name | downcase | remove_accents -%}
|
|
72
|
+
{% if site.data.coauthors[clean_last_name] %}
|
|
73
|
+
{%- for coauthor in site.data.coauthors[clean_last_name] -%}
|
|
74
|
+
{% if coauthor.firstname contains author.first %}
|
|
75
|
+
{%- assign coauthor_url = coauthor.url -%}
|
|
76
|
+
{% break %}
|
|
77
|
+
{%- endif -%}
|
|
78
|
+
{% endfor %}
|
|
79
|
+
{%- endif -%}
|
|
80
|
+
|
|
81
|
+
{%- if forloop.length > 1 -%}
|
|
82
|
+
{% if forloop.first == false -%}
|
|
83
|
+
{%- if forloop.length > 2 %}, {% elsif forloop.length == 2 %} {% endif %}
|
|
84
|
+
{%- endif %}
|
|
85
|
+
{%- if forloop.last and author_array_limit == author_array_size %}and {% endif -%}
|
|
86
|
+
{% endif %}
|
|
87
|
+
{%- if author_is_self -%}
|
|
88
|
+
<em>
|
|
89
|
+
{{- author.first }}
|
|
90
|
+
{{ author_last_html -}}
|
|
91
|
+
</em>
|
|
92
|
+
{%- else -%}
|
|
93
|
+
{%- if coauthor_url -%}
|
|
94
|
+
<a href="{{ coauthor_url }}">
|
|
95
|
+
{{- author.first }}
|
|
96
|
+
{{ author_last_html -}}
|
|
97
|
+
</a>
|
|
98
|
+
{%- else -%}
|
|
99
|
+
{{- author.first }}
|
|
100
|
+
{{ author_last_html -}}
|
|
101
|
+
{% endif %}
|
|
102
|
+
{%- endif -%}
|
|
103
|
+
{% endfor %}
|
|
104
|
+
{%- assign more_authors = author_array_size | minus: author_array_limit -%}
|
|
105
|
+
|
|
106
|
+
{%- assign more_authors_hide = more_authors | append: ' more author' -%}
|
|
107
|
+
{% if more_authors > 0 %}
|
|
108
|
+
{%- if more_authors > 1 -%}
|
|
109
|
+
{% assign more_authors_hide = more_authors_hide | append: 's' %}
|
|
110
|
+
{%- endif -%}
|
|
111
|
+
{% assign more_authors_show = '' %}
|
|
112
|
+
{%- for author in entry.author_array offset: author_array_limit -%}
|
|
113
|
+
{% assign more_authors_show = more_authors_show | append: author.first | append: ' ' | append: author.last %}
|
|
114
|
+
{% unless forloop.last %}
|
|
115
|
+
{% assign more_authors_show = more_authors_show | append: ', ' %}
|
|
116
|
+
{% endunless %}
|
|
117
|
+
{%- endfor -%}
|
|
118
|
+
{%- assign more_authors_show = more_authors_show | regex_replace: '([*∗†‡§¶‖&^]+)', '<sup>\1</sup>' -%}
|
|
119
|
+
, and
|
|
120
|
+
<span
|
|
121
|
+
class="more-authors"
|
|
122
|
+
title="click to view {{ more_authors_hide }}"
|
|
123
|
+
onclick="
|
|
124
|
+
var element = $(this);
|
|
125
|
+
element.attr('title', '');
|
|
126
|
+
var more_authors_text = element.text() == '{{ more_authors_hide }}' ? '{{ more_authors_show }}' : '{{ more_authors_hide }}';
|
|
127
|
+
var cursorPosition = 0;
|
|
128
|
+
var textAdder = setInterval(function(){
|
|
129
|
+
element.html(more_authors_text.substring(0, cursorPosition + 1));
|
|
130
|
+
if (++cursorPosition == more_authors_text.length){
|
|
131
|
+
clearInterval(textAdder);
|
|
132
|
+
}
|
|
133
|
+
}, '{{ site.more_authors_animation_delay }}');
|
|
134
|
+
"
|
|
135
|
+
>
|
|
136
|
+
{{- more_authors_hide -}}
|
|
137
|
+
</span>
|
|
138
|
+
{% endif %}
|
|
139
|
+
{% if entry.annotation %}
|
|
140
|
+
<i
|
|
141
|
+
class="fa-solid fa-circle-info ml-1"
|
|
142
|
+
data-toggle="popover"
|
|
143
|
+
data-placement="top"
|
|
144
|
+
data-html="true"
|
|
145
|
+
data-content="{{ entry.annotation | escape }}"
|
|
146
|
+
>
|
|
147
|
+
</i>
|
|
148
|
+
{% endif %}
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<!-- Journal/Book title and date -->
|
|
152
|
+
{% assign proceedings = 'inproceedings,incollection' | split: ',' %}
|
|
153
|
+
{% assign thesis = 'thesis,mastersthesis,phdthesis' | split: ',' %}
|
|
154
|
+
{% if entry.type == 'article' %}
|
|
155
|
+
{% capture entrytype %}<em>{{ entry.journal }}</em>{% endcapture %}
|
|
156
|
+
{% elsif proceedings contains entry.type %}
|
|
157
|
+
{% capture entrytype %}<em>In {{ entry.booktitle }}</em>{% endcapture %}
|
|
158
|
+
{% elsif thesis contains entry.type %}
|
|
159
|
+
{% capture entrytype %}<em>{{ entry.school }}</em>{% endcapture %}
|
|
160
|
+
{% else %}
|
|
161
|
+
{% capture entrytype %}{% endcapture %}
|
|
162
|
+
{% endif %}
|
|
163
|
+
{% assign entrymonth = '' %}
|
|
164
|
+
{% if entry.month %}
|
|
165
|
+
{% capture entrymonth %}{{ " " }}{{ entry.month | capitalize }}{% endcapture %}
|
|
166
|
+
{% endif %}
|
|
167
|
+
{% assign entryyear = '' %}
|
|
168
|
+
{% if entry.year %}
|
|
169
|
+
{% capture entryyear %}{{ " " }}{{ entry.year }}{% endcapture %}
|
|
170
|
+
{% endif %}
|
|
171
|
+
{% if entry.location %}
|
|
172
|
+
{% capture entrytype %}{{ entrytype }}{{ ", " }}{{ entry.location }}{% endcapture %}
|
|
173
|
+
{% endif -%}
|
|
174
|
+
{% if entry.additional_info %}
|
|
175
|
+
{% capture entrytype %}{{ entrytype }}{{ entry.additional_info | markdownify | remove: '<p>' | remove: '</p>' }}{% endcapture %}
|
|
176
|
+
{% endif %}
|
|
177
|
+
{% capture hook_exists %}{% file_exists _includes/hook/bib.liquid %}{% endcapture %}
|
|
178
|
+
{% if hook_exists == 'true' %}
|
|
179
|
+
{% include hook/bib.liquid %}
|
|
180
|
+
{% endif %}
|
|
181
|
+
{% assign entrytype_text = entrytype | strip_html | strip %}
|
|
182
|
+
{% capture periodical %}{{ entrytype }}{% if entrytype_text != "" and entryyear != "" %}, {% endif %}{{ entrymonth }}{{ entryyear }}{% endcapture %}
|
|
183
|
+
<div class="periodical">
|
|
184
|
+
{{ periodical | strip }}
|
|
185
|
+
</div>
|
|
186
|
+
<div class="periodical">
|
|
187
|
+
{{ entry.note | strip }}
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<!-- Links/Buttons -->
|
|
191
|
+
<div class="links">
|
|
192
|
+
{% if entry.award %}
|
|
193
|
+
<a class="award btn btn-sm z-depth-0" role="button">
|
|
194
|
+
{%- if entry.award_name %}{{ entry.award_name }}{% else %}Awarded{% endif -%}
|
|
195
|
+
</a>
|
|
196
|
+
{% endif %}
|
|
197
|
+
{% if entry.abstract %}
|
|
198
|
+
<a class="abstract btn btn-sm z-depth-0" role="button">Abs</a>
|
|
199
|
+
{% endif %}
|
|
200
|
+
{% if entry.doi %}
|
|
201
|
+
<a href="https://doi.org/{{ entry.doi }}" class="btn btn-sm z-depth-0" role="button">DOI</a>
|
|
202
|
+
{% endif %}
|
|
203
|
+
{% if entry.arxiv %}
|
|
204
|
+
<a href="http://arxiv.org/abs/{{ entry.arxiv }}" class="btn btn-sm z-depth-0" role="button">arXiv</a>
|
|
205
|
+
{% endif %}
|
|
206
|
+
{% if entry.hal %}
|
|
207
|
+
<a href="https://hal.science/{{ entry.hal }}" class="btn btn-sm z-depth-0" role="button">HAL</a>
|
|
208
|
+
{% endif %}
|
|
209
|
+
{% if entry.bibtex_show %}
|
|
210
|
+
<a class="bibtex btn btn-sm z-depth-0" role="button">Bib</a>
|
|
211
|
+
{% endif %}
|
|
212
|
+
{% if entry.html %}
|
|
213
|
+
{% if entry.html contains '://' %}
|
|
214
|
+
<a href="{{ entry.html }}" class="btn btn-sm z-depth-0" role="button">HTML</a>
|
|
215
|
+
{% else %}
|
|
216
|
+
<a href="{{ entry.html | prepend: '/assets/html/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">HTML</a>
|
|
217
|
+
{% endif %}
|
|
218
|
+
{% endif %}
|
|
219
|
+
{% if entry.pdf %}
|
|
220
|
+
{% if entry.pdf contains '://' %}
|
|
221
|
+
<a href="{{ entry.pdf }}" class="btn btn-sm z-depth-0" role="button">PDF</a>
|
|
222
|
+
{% else %}
|
|
223
|
+
<a href="{{ entry.pdf | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">PDF</a>
|
|
224
|
+
{% endif %}
|
|
225
|
+
{% endif %}
|
|
226
|
+
{% if entry.supp %}
|
|
227
|
+
{% if entry.supp contains '://' %}
|
|
228
|
+
<a href="{{ entry.supp }}" class="btn btn-sm z-depth-0" role="button">Supp</a>
|
|
229
|
+
{% else %}
|
|
230
|
+
<a href="{{ entry.supp | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Supp</a>
|
|
231
|
+
{% endif %}
|
|
232
|
+
{% endif %}
|
|
233
|
+
{% if entry.video and site.enable_video_embedding %}
|
|
234
|
+
<a class="abstract btn btn-sm z-depth-0" role="button">Video</a>
|
|
235
|
+
{% elsif entry.video %}
|
|
236
|
+
<a href="{{ entry.video }}" class="btn btn-sm z-depth-0" role="button">Video</a>
|
|
237
|
+
{% endif %}
|
|
238
|
+
{% if entry.blog %}
|
|
239
|
+
<a href="{{ entry.blog }}" class="btn btn-sm z-depth-0" role="button">Blog</a>
|
|
240
|
+
{% endif %}
|
|
241
|
+
{% if entry.code %}
|
|
242
|
+
<a href="{{ entry.code }}" class="btn btn-sm z-depth-0" role="button">Code</a>
|
|
243
|
+
{% endif %}
|
|
244
|
+
{% if entry.poster %}
|
|
245
|
+
{% if entry.poster contains '://' %}
|
|
246
|
+
<a href="{{ entry.poster }}" class="btn btn-sm z-depth-0" role="button">Poster</a>
|
|
247
|
+
{% else %}
|
|
248
|
+
<a href="{{ entry.poster | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Poster</a>
|
|
249
|
+
{% endif %}
|
|
250
|
+
{% endif %}
|
|
251
|
+
{% if entry.slides %}
|
|
252
|
+
{% if entry.slides contains '://' %}
|
|
253
|
+
<a href="{{ entry.slides }}" class="btn btn-sm z-depth-0" role="button">Slides</a>
|
|
254
|
+
{% else %}
|
|
255
|
+
<a href="{{ entry.slides | prepend: '/assets/pdf/' | relative_url }}" class="btn btn-sm z-depth-0" role="button">Slides</a>
|
|
256
|
+
{% endif %}
|
|
257
|
+
{% endif %}
|
|
258
|
+
{% if entry.website %}
|
|
259
|
+
<a href="{{ entry.website }}" class="btn btn-sm z-depth-0" role="button">Website</a>
|
|
260
|
+
{% endif %}
|
|
261
|
+
</div>
|
|
262
|
+
{% if site.enable_publication_badges %}
|
|
263
|
+
{% assign entry_has_altmetric_badge = false %}
|
|
264
|
+
{% if entry.altmetric and entry.altmetric != 'false' %}
|
|
265
|
+
{% assign entry_has_altmetric_badge = true %}
|
|
266
|
+
{% endif %}
|
|
267
|
+
|
|
268
|
+
{% assign entry_has_dimensions_badge = false %}
|
|
269
|
+
{% if entry.dimensions and entry.dimensions != 'false' %}
|
|
270
|
+
{% assign entry_has_dimensions_badge = true %}
|
|
271
|
+
{% endif %}
|
|
272
|
+
|
|
273
|
+
{% assign entry_has_google_scholar_badge = false %}
|
|
274
|
+
{% if entry.google_scholar_id %}
|
|
275
|
+
{% assign entry_has_google_scholar_badge = true %}
|
|
276
|
+
{% endif %}
|
|
277
|
+
|
|
278
|
+
{% assign entry_has_inspirehep_badge = false %}
|
|
279
|
+
{% if entry.inspirehep_id %}
|
|
280
|
+
{% assign entry_has_inspirehep_badge = true %}
|
|
281
|
+
{% endif %}
|
|
282
|
+
{% if entry_has_altmetric_badge or entry_has_dimensions_badge or entry_has_google_scholar_badge or entry_has_inspirehep_badge %}
|
|
283
|
+
<div class="badges">
|
|
284
|
+
{% if site.enable_publication_badges.altmetric and entry_has_altmetric_badge %}
|
|
285
|
+
<span
|
|
286
|
+
class="altmetric-embed"
|
|
287
|
+
data-badge-type="2"
|
|
288
|
+
data-badge-popover="right"
|
|
289
|
+
{% if entry.altmetric != blank and entry.altmetric != 'true' %}
|
|
290
|
+
data-altmetric-id="{{ entry.altmetric }}"
|
|
291
|
+
{% elsif entry.arxiv %}
|
|
292
|
+
data-arxiv-id="{{ entry.arxiv }}"
|
|
293
|
+
{% elsif entry.eprint %}
|
|
294
|
+
data-arxiv-id="{{ entry.eprint }}"
|
|
295
|
+
{% elsif entry.doi %}
|
|
296
|
+
data-doi="{{ entry.doi }}"
|
|
297
|
+
{% elsif entry.pmid %}
|
|
298
|
+
data-pmid="{{ entry.pmid }}"
|
|
299
|
+
{% elsif entry.isbn %}
|
|
300
|
+
data-isbn="{{ entry.isbn }}"
|
|
301
|
+
{% endif %}
|
|
302
|
+
></span>
|
|
303
|
+
{% endif %}
|
|
304
|
+
{% if site.enable_publication_badges.dimensions and entry_has_dimensions_badge %}
|
|
305
|
+
<span
|
|
306
|
+
class="__dimensions_badge_embed__"
|
|
307
|
+
{% if entry.dimensions != blank and entry.dimensions != 'true' %}
|
|
308
|
+
data-id="{{ entry.dimensions }}"
|
|
309
|
+
{% elsif entry.doi %}
|
|
310
|
+
data-doi="{{ entry.doi }}"
|
|
311
|
+
{% else %}
|
|
312
|
+
data-pmid="{{ entry.pmid }}"
|
|
313
|
+
{% endif %}
|
|
314
|
+
data-style="small_rectangle"
|
|
315
|
+
data-legend="hover-right"
|
|
316
|
+
style="margin-bottom: 3px;"
|
|
317
|
+
></span>
|
|
318
|
+
{% endif %}
|
|
319
|
+
{% if site.enable_publication_badges.google_scholar and entry_has_google_scholar_badge %}
|
|
320
|
+
<a
|
|
321
|
+
href="https://scholar.google.com/citations?view_op=view_citation&hl=en&user={{ site.data.socials.scholar_userid }}&citation_for_view={{ site.data.socials.scholar_userid }}:{{ entry.google_scholar_id }}"
|
|
322
|
+
aria-label="Google Scholar link"
|
|
323
|
+
role="button"
|
|
324
|
+
>
|
|
325
|
+
{% assign citation_count = 0 %}
|
|
326
|
+
{% assign scholar_id_key = site.scholar_userid | append: ':' | append: entry.google_scholar_id %}
|
|
327
|
+
{% assign publication_key = entry.google_scholar_id %}
|
|
328
|
+
|
|
329
|
+
{% if site.data.citations.papers[scholar_id_key] %}
|
|
330
|
+
{% assign citation_count = site.data.citations.papers[scholar_id_key].citations %}
|
|
331
|
+
{% elsif site.data.citations.papers[publication_key] %}
|
|
332
|
+
{% assign citation_count = site.data.citations.papers[publication_key].citations %}
|
|
333
|
+
{% else %}
|
|
334
|
+
{% for paper in site.data.citations.papers %}
|
|
335
|
+
{% assign paper_key = paper[0] %}
|
|
336
|
+
{% if paper_key contains entry.google_scholar_id %}
|
|
337
|
+
{% assign citation_count = paper[1].citations %}
|
|
338
|
+
{% break %}
|
|
339
|
+
{% endif %}
|
|
340
|
+
{% endfor %}
|
|
341
|
+
{% endif %}
|
|
342
|
+
|
|
343
|
+
<img
|
|
344
|
+
src="https://img.shields.io/badge/scholar-{{ citation_count }}-4285F4?logo=googlescholar&labelColor=beige"
|
|
345
|
+
alt="{{ citation_count }} Google Scholar citations"
|
|
346
|
+
>
|
|
347
|
+
</a>
|
|
348
|
+
{% endif %}
|
|
349
|
+
{% if site.enable_publication_badges.inspirehep and entry_has_inspirehep_badge %}
|
|
350
|
+
<a
|
|
351
|
+
href="https://inspirehep.net/literature/{{ entry.inspirehep_id }}"
|
|
352
|
+
aria-label="Inspirehep link"
|
|
353
|
+
role="button"
|
|
354
|
+
>
|
|
355
|
+
<img
|
|
356
|
+
src="https://img.shields.io/badge/inspire-{% inspirehep_citations entry.inspirehep_id %}-001628?logo=inspire&logoColor=001628&labelColor=beige"
|
|
357
|
+
alt="{% inspirehep_citations entry.inspirehep_id %} InspireHEP citations"
|
|
358
|
+
>
|
|
359
|
+
</a>
|
|
360
|
+
{% endif %}
|
|
361
|
+
</div>
|
|
362
|
+
{% endif %}
|
|
363
|
+
{% endif %}
|
|
364
|
+
|
|
365
|
+
{% if entry.award %}
|
|
366
|
+
<!-- Hidden Award block -->
|
|
367
|
+
<div class="award hidden d-print-inline">
|
|
368
|
+
<p>{{ entry.award | markdownify }}</p>
|
|
369
|
+
</div>
|
|
370
|
+
{% endif %}
|
|
371
|
+
|
|
372
|
+
{% if entry.abstract %}
|
|
373
|
+
<!-- Hidden abstract block -->
|
|
374
|
+
<div class="abstract hidden">
|
|
375
|
+
<p>{{ entry.abstract }}</p>
|
|
376
|
+
</div>
|
|
377
|
+
{% endif %}
|
|
378
|
+
|
|
379
|
+
{% if entry.bibtex_show %}
|
|
380
|
+
<!-- Hidden bibtex block -->
|
|
381
|
+
<div class="bibtex hidden">
|
|
382
|
+
{% highlight bibtex %}
|
|
383
|
+
{{- entry.bibtex | hideCustomBibtex -}}
|
|
384
|
+
{% endhighlight %}
|
|
385
|
+
</div>
|
|
386
|
+
{% endif %}
|
|
387
|
+
|
|
388
|
+
{% if entry.video and site.enable_video_embedding %}
|
|
389
|
+
<!-- Hidden video block -->
|
|
390
|
+
<div class="abstract hidden">
|
|
391
|
+
<div style="text-align: center;">{% include video.liquid path=entry.video class="img-fluid rounded z-depth-1" controls=true %}</div>
|
|
392
|
+
</div>
|
|
393
|
+
{% endif %}
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% assign year = page.started | date: '%Y' %}
|
|
5
|
+
{% assign tags = page.tags | join: '' %}
|
|
6
|
+
{% assign categories = page.categories | join: '' %}
|
|
7
|
+
|
|
8
|
+
{% if page._styles %}
|
|
9
|
+
<!-- Page/Post style -->
|
|
10
|
+
<style type="text/css">
|
|
11
|
+
{{ page._styles }}
|
|
12
|
+
</style>
|
|
13
|
+
{% endif %}
|
|
14
|
+
|
|
15
|
+
<div class="post">
|
|
16
|
+
<header class="post-header">
|
|
17
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
18
|
+
{% if page.author or page.released %}
|
|
19
|
+
<p class="post-meta">
|
|
20
|
+
{% if page.author %}
|
|
21
|
+
{{ page.author }}
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% if page.author and page.released %} · {% endif %}
|
|
24
|
+
{% if page.released %}
|
|
25
|
+
{{ page.released }}
|
|
26
|
+
{% endif %}
|
|
27
|
+
</p>
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
{% if page.started or page.finished or page.stars %}
|
|
31
|
+
<p class="post-meta">
|
|
32
|
+
{% if page.started %}
|
|
33
|
+
<i class="fa-solid fa-play fa-sm" style="color: var(--global-tip-block) !important"></i> <em>{{ page.started }}</em>
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% if page.finished %}
|
|
36
|
+
{% if page.started %}
|
|
37
|
+
·
|
|
38
|
+
{% endif %}
|
|
39
|
+
<i class="fa-solid fa-stop fa-sm" style="color: #e56565 !important"></i> <em>{{ page.finished }}</em>
|
|
40
|
+
{% endif %}
|
|
41
|
+
{% if page.stars %}
|
|
42
|
+
{% if page.started or page.finished %}
|
|
43
|
+
·
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% if page.goodreads_review %}
|
|
46
|
+
<a target="_blank" href="https://www.goodreads.com/review/show/{{ page.goodreads_review }}"><i class="fa-brands fa-goodreads-g"></i>
|
|
47
|
+
{% endif %}
|
|
48
|
+
{% assign full_stars = page.stars | floor %}
|
|
49
|
+
{% assign half_star = page.stars | minus: full_stars %}
|
|
50
|
+
{% assign empty_stars = 5 | minus: full_stars %}
|
|
51
|
+
{% if half_star > 0 %}
|
|
52
|
+
{% assign empty_stars = empty_stars | minus: 1 %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% for i in (1..full_stars) -%}
|
|
55
|
+
<i class="fa-solid fa-star fa-sm"></i>
|
|
56
|
+
{%- endfor -%}
|
|
57
|
+
{%- if half_star > 0 %}<i class="fa-solid fa-star-half-stroke fa-sm"></i>{% endif -%}
|
|
58
|
+
{%- for i in (1..empty_stars) -%}
|
|
59
|
+
<i class="fa-regular fa-star fa-sm"></i>
|
|
60
|
+
{%- endfor -%}
|
|
61
|
+
{% if page.goodreads_review %}
|
|
62
|
+
</a>
|
|
63
|
+
{% endif %}
|
|
64
|
+
{% endif %}
|
|
65
|
+
{% if page.buy_link %}
|
|
66
|
+
{% if page.started or page.finished or page.stars %}
|
|
67
|
+
·
|
|
68
|
+
{% endif %}
|
|
69
|
+
<a target="_blank" href="{{ page.buy_link }}"
|
|
70
|
+
><i class="fa-solid fa-cart-shopping"></i>
|
|
71
|
+
{% assign is_amazon_link = page.buy_link | slice: 0, 19 %}
|
|
72
|
+
{% if is_amazon_link == 'https://www.amazon.' %}
|
|
73
|
+
<i class="fa-brands fa-amazon"></i>
|
|
74
|
+
{% endif %}
|
|
75
|
+
</a>
|
|
76
|
+
{% endif %}
|
|
77
|
+
</p>
|
|
78
|
+
{% endif %}
|
|
79
|
+
<p class="post-tags">
|
|
80
|
+
<a href="{{ year | prepend: '/books/' | relative_url }}"> <i class="fa-solid fa-calendar fa-sm"></i> {{ year }}</a>
|
|
81
|
+
{% if tags != '' %}
|
|
82
|
+
·
|
|
83
|
+
{% for tag in page.tags %}
|
|
84
|
+
<a href="{{ tag | slugify | prepend: '/books/tag/' | relative_url }}"> <i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}</a>
|
|
85
|
+
{% unless forloop.last %}
|
|
86
|
+
|
|
87
|
+
{% endunless %}
|
|
88
|
+
{% endfor %}
|
|
89
|
+
{% endif %}
|
|
90
|
+
|
|
91
|
+
{% if categories != '' %}
|
|
92
|
+
·
|
|
93
|
+
{% for category in page.categories %}
|
|
94
|
+
<a href="{{ category | slugify | prepend: '/books/category/' | relative_url }}"> <i class="fa-solid fa-tag fa-sm"></i> {{ category }}</a>
|
|
95
|
+
{% unless forloop.last %}
|
|
96
|
+
|
|
97
|
+
{% endunless %}
|
|
98
|
+
{% endfor %}
|
|
99
|
+
{% endif %}
|
|
100
|
+
</p>
|
|
101
|
+
<hr>
|
|
102
|
+
</header>
|
|
103
|
+
|
|
104
|
+
<article>
|
|
105
|
+
{% if content == '' %}
|
|
106
|
+
<figure class="empty-review">
|
|
107
|
+
{% if page.cover %}
|
|
108
|
+
<img class="empty-review-cover" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
|
|
109
|
+
<figcaption class="empty-review-caption">
|
|
110
|
+
Cover of <em>{{ page.title }}</em>
|
|
111
|
+
</figcaption>
|
|
112
|
+
{% elsif page.olid %}
|
|
113
|
+
<img
|
|
114
|
+
class="empty-review-cover"
|
|
115
|
+
alt="{{ page.title }} cover"
|
|
116
|
+
src="https://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false"
|
|
117
|
+
>
|
|
118
|
+
<figcaption class="empty-review-caption">
|
|
119
|
+
Cover of <em>{{ page.title }}</em> on the <a href="https://openlibrary.org/olid/{{ page.olid }}">Open Library</a>.
|
|
120
|
+
</figcaption>
|
|
121
|
+
{% elsif page.isbn %}
|
|
122
|
+
<img
|
|
123
|
+
class="empty-review-cover"
|
|
124
|
+
alt="{{ page.title }} cover"
|
|
125
|
+
src="https://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false"
|
|
126
|
+
>
|
|
127
|
+
<figcaption class="empty-review-caption">
|
|
128
|
+
Cover of <em>{{ page.title }}</em> on the <a href="https://openlibrary.org/isbn/{{ page.isbn }}">Open Library</a>.
|
|
129
|
+
</figcaption>
|
|
130
|
+
{% endif %}
|
|
131
|
+
</figure>
|
|
132
|
+
{% assign status = page.status | upcase %}
|
|
133
|
+
<div class="clearfix">
|
|
134
|
+
<h4>{{ status }}</h4>
|
|
135
|
+
</div>
|
|
136
|
+
{% else %}
|
|
137
|
+
<figure>
|
|
138
|
+
{% if page.cover %}
|
|
139
|
+
<img alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
|
|
140
|
+
<figcaption>
|
|
141
|
+
Cover of <em>{{ page.title }}</em>
|
|
142
|
+
</figcaption>
|
|
143
|
+
{% elsif page.olid %}
|
|
144
|
+
<img alt="{{ page.title }} cover" src="https://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
|
|
145
|
+
<figcaption>
|
|
146
|
+
Cover of <em>{{ page.title }}</em> on the <a href="https://openlibrary.org/olid/{{ page.olid }}">Open Library</a>.
|
|
147
|
+
</figcaption>
|
|
148
|
+
{% elsif page.isbn %}
|
|
149
|
+
<img alt="{{ page.title }} cover" src="https://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
|
|
150
|
+
<figcaption>
|
|
151
|
+
Cover of <em>{{ page.title }}</em> on the <a href="https://openlibrary.org/isbn/{{ page.isbn }}">Open Library</a>.
|
|
152
|
+
</figcaption>
|
|
153
|
+
{% endif %}
|
|
154
|
+
</figure>
|
|
155
|
+
<br class="mobile-break" clear="right">
|
|
156
|
+
<h4>
|
|
157
|
+
{% if page.start %} Start Date: {{ page.start | date: '%-d %B %Y' }}. {% endif %}
|
|
158
|
+
{% if page.end %} End Date: {{ page.end | date: '%-d %B %Y' }}. {% endif %}
|
|
159
|
+
</h4>
|
|
160
|
+
{{ content }}
|
|
161
|
+
{% endif %}
|
|
162
|
+
</article>
|
|
163
|
+
|
|
164
|
+
{% if site.plugins contains 'al_comments' %}
|
|
165
|
+
{% include plugins/al_comments.liquid %}
|
|
166
|
+
{% endif %}
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
<style>
|
|
170
|
+
figure {
|
|
171
|
+
float: none;
|
|
172
|
+
width: auto;
|
|
173
|
+
display: block;
|
|
174
|
+
margin-right: auto;
|
|
175
|
+
margin-left: auto;
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
figure > img {
|
|
179
|
+
|
|
180
|
+
vertical-align: top;
|
|
181
|
+
display: block;
|
|
182
|
+
margin-right: 0px;
|
|
183
|
+
margin-left: 0px;
|
|
184
|
+
padding: 0px;
|
|
185
|
+
|
|
186
|
+
}
|
|
187
|
+
figure figcaption {
|
|
188
|
+
|
|
189
|
+
display: block;
|
|
190
|
+
caption-side: bottom;
|
|
191
|
+
text-align: center;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@media screen and (min-width: 600px) {
|
|
195
|
+
|
|
196
|
+
.empty-review{
|
|
197
|
+
float: left;
|
|
198
|
+
display: block; /* in-line block; */
|
|
199
|
+
margin: 0px 0px 0px 0px; /* adjust as needed */
|
|
200
|
+
padding: 0px 0px 0px 20px;
|
|
201
|
+
/* top right bottom left */
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.empty-review-caption {
|
|
205
|
+
caption-side: left;
|
|
206
|
+
text-align: left;
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.empty-review-cover {
|
|
212
|
+
width:250px;
|
|
213
|
+
vertical-align: top;
|
|
214
|
+
padding-right: 40px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
figure {
|
|
218
|
+
|
|
219
|
+
float: right;
|
|
220
|
+
display: in-line block; /* in-line block; */
|
|
221
|
+
margin: 0px 0px 0px 0px; /* adjust as needed */
|
|
222
|
+
padding: 0px 0px 0px 20px;
|
|
223
|
+
/* top right bottom left */
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
figure img {
|
|
227
|
+
width:300px;
|
|
228
|
+
vertical-align: top;
|
|
229
|
+
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
figure figcaption {
|
|
233
|
+
caption-side: bottom;
|
|
234
|
+
text-align: left;
|
|
235
|
+
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.mobile-break { display: none; }
|
|
239
|
+
|
|
240
|
+
/* =Blockquote
|
|
241
|
+
-------------------------------------------------------------- */
|
|
242
|
+
blockquote {
|
|
243
|
+
|
|
244
|
+
position: relative;
|
|
245
|
+
marign: 0px;
|
|
246
|
+
display: table;
|
|
247
|
+
|
|
248
|
+
}
|
|
249
|
+
blockquote:before, blockquote:after {
|
|
250
|
+
|
|
251
|
+
/* properties to format the block quotes /*
|
|
252
|
+
|
|
253
|
+
}
|
|
254
|
+
blockquote:before {
|
|
255
|
+
top: 0;
|
|
256
|
+
left: 0;
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
}
|
|
260
|
+
blockquote:after {
|
|
261
|
+
top: 0;
|
|
262
|
+
right: 0;
|
|
263
|
+
|
|
264
|
+
}
|
|
265
|
+
</style>
|