Skip to content

Commit dcce13b

Browse files
Minor fixes (alshedivat#522)
1 parent b715177 commit dcce13b

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

_config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ impressum_path: # set to path to include impressum link in the footer, use the
2828
# will use title and url fields
2929
# Take a look to https://github.com/jekyll/jekyll-feed for more customization
3030

31+
rss_icon: true
32+
3133
# -----------------------------------------------------------------------------
3234
# Layout
3335
# -----------------------------------------------------------------------------
@@ -69,8 +71,6 @@ wikidata_id: # your wikidata id
6971
dblp_url: # your DBLP profile url
7072
stackoverflow_id: #your stackoverflow id
7173

72-
rss_icon: true
73-
7474
contact_note: >
7575
You can even add a little note about which of these is the best way to reach you.
7676
@@ -238,7 +238,7 @@ imagemagick:
238238
- 800
239239
- 1400
240240
input_directories:
241-
- assets/img
241+
- assets/img/
242242
input_formats:
243243
- ".jpg"
244244
- ".jpeg"

_includes/figure.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
{% endfor -%}
99

1010
<!-- Fallback to the original file -->
11-
<img {% if include.class %}class="{{ include.class }}"{% endif %} src="{{ include.path | relative_url }}" {% if include.alt %}alt="{{ alt }}"{% endif %} {% if include.title %}title="{{ title }}"{% endif %} {% if include.zoomable %}data-zoomable{% endif %} />
11+
<img {% if include.class %}class="{{ include.class }}"{% endif %} src="{{ include.path | relative_url }}" {% if include.alt %}alt="{{ include.alt }}"{% endif %} {% if include.title %}title="{{ include.title }}"{% endif %} {% if include.zoomable %}data-zoomable{% endif %} />
12+
1213
</picture>
1314

1415
{%- if include.caption -%}<figcaption class="caption">{{ include.caption }}</figcaption>{%- endif %}

_layouts/about.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ <h1 class="post-title">
1818
{%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
1919
{% include figure.html
2020
path=profile_image_path
21-
class="img-fluid z-dept-1 rounded" -%}
21+
class="img-fluid z-dept-1 rounded"
22+
alt=page.profile.image -%}
2223
{% endif -%}
2324
{%- if page.profile.address %}
2425
<div class="address">

_sass/_base.scss

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ a, table.table a {
2323
}
2424
}
2525

26+
figure, img {
27+
max-width: 90vw;
28+
}
29+
2630
blockquote {
2731
background: var(--global-bg-color);
2832
border-left: 2px solid var(--global-theme-color);

0 commit comments

Comments
 (0)