Skip to content

Commit

Permalink
Minor fixes (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohandebsarkar committed Jan 13, 2022
1 parent b715177 commit dcce13b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
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

0 comments on commit dcce13b

Please sign in to comment.