Skip to content

Commit 4fc3b69

Browse files
rohandebsarkarpecey
authored andcommitted
Minor fixes (alshedivat#522)
1 parent ded7cfc commit 4fc3b69

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

_config.yml

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

28+
rss_icon: true
29+
2830
# -----------------------------------------------------------------------------
2931
# Layout
3032
# -----------------------------------------------------------------------------
@@ -233,7 +235,7 @@ imagemagick:
233235
- 800
234236
- 1400
235237
input_directories:
236-
- assets/img
238+
- assets/img/
237239
input_formats:
238240
- ".jpg"
239241
- ".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)