Minor fixes (#522)

This commit is contained in:
Rohan Deb Sarkar 2022-01-14 04:18:12 +05:30 committed by GitHub
parent b715177d13
commit dcce13b442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 5 deletions

View File

@ -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
# -----------------------------------------------------------------------------
@ -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.
@ -238,7 +238,7 @@ imagemagick:
- 800
- 1400
input_directories:
- assets/img
- assets/img/
input_formats:
- ".jpg"
- ".jpeg"

View File

@ -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 %}

View File

@ -18,7 +18,8 @@ layout: default
{%- 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">

View File

@ -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);