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 # will use title and url fields
# Take a look to https://github.com/jekyll/jekyll-feed for more customization # Take a look to https://github.com/jekyll/jekyll-feed for more customization
rss_icon: true
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Layout # Layout
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -69,8 +71,6 @@ wikidata_id: # your wikidata id
dblp_url: # your DBLP profile url dblp_url: # your DBLP profile url
stackoverflow_id: #your stackoverflow id stackoverflow_id: #your stackoverflow id
rss_icon: true
contact_note: > contact_note: >
You can even add a little note about which of these is the best way to reach you. You can even add a little note about which of these is the best way to reach you.
@ -238,7 +238,7 @@ imagemagick:
- 800 - 800
- 1400 - 1400
input_directories: input_directories:
- assets/img - assets/img/
input_formats: input_formats:
- ".jpg" - ".jpg"
- ".jpeg" - ".jpeg"

View File

@ -8,7 +8,8 @@
{% endfor -%} {% endfor -%}
<!-- Fallback to the original file --> <!-- 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> </picture>
{%- if include.caption -%}<figcaption class="caption">{{ include.caption }}</figcaption>{%- endif %} {%- 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/' -%} {%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
{% include figure.html {% include figure.html
path=profile_image_path path=profile_image_path
class="img-fluid z-dept-1 rounded" -%} class="img-fluid z-dept-1 rounded"
alt=page.profile.image -%}
{% endif -%} {% endif -%}
{%- if page.profile.address %} {%- if page.profile.address %}
<div class="address"> <div class="address">

View File

@ -23,6 +23,10 @@ a, table.table a {
} }
} }
figure, img {
max-width: 90vw;
}
blockquote { blockquote {
background: var(--global-bg-color); background: var(--global-bg-color);
border-left: 2px solid var(--global-theme-color); border-left: 2px solid var(--global-theme-color);