Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #522

Merged
merged 7 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ impressum_path: # set to path to include impressum link in the footer, use the
# will use title and url fields
# Take a look to https://github.com/jekyll/jekyll-feed for more customization

rss_icon: true

# -----------------------------------------------------------------------------
# Layout
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -69,8 +71,6 @@ wikidata_id: # your wikidata id
dblp_url: # your DBLP profile url
stackoverflow_id: #your stackoverflow id

rss_icon: true

contact_note: >
You can even add a little note about which of these is the best way to reach you.

Expand Down Expand Up @@ -238,7 +238,7 @@ imagemagick:
- 800
- 1400
input_directories:
- assets/img
- assets/img/
input_formats:
- ".jpg"
- ".jpeg"
Expand Down
3 changes: 2 additions & 1 deletion _includes/figure.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
{% endfor -%}

<!-- Fallback to the original file -->
<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 %} />
<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 %} />

</picture>

{%- if include.caption -%}<figcaption class="caption">{{ include.caption }}</figcaption>{%- endif %}
Expand Down
3 changes: 2 additions & 1 deletion _layouts/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ <h1 class="post-title">
{%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
{% include figure.html
path=profile_image_path
class="img-fluid z-dept-1 rounded" -%}
class="img-fluid z-dept-1 rounded"
alt=page.profile.image -%}
{% endif -%}
{%- if page.profile.address %}
<div class="address">
Expand Down
4 changes: 4 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ a, table.table a {
}
}

figure, img {
max-width: 90vw;
}

blockquote {
background: var(--global-bg-color);
border-left: 2px solid var(--global-theme-color);
Expand Down