Skip to content

Commit 3f97c42

Browse files
authored
fix broken link, continue to tinker with image sizes
1 parent 3f4d566 commit 3f97c42

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

CUSTOMIZE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ All changes made to this file are only visible after you rebuild the website. Th
4444

4545
## Modifying the CV information
4646

47-
There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume_ae.json](assets/json/resume.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [\_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option.
47+
There are currently 2 different ways of generating the CV page content. The first one is by using a json file located in [assets/json/resume_ae.json](assets/json/resume_ae.json). It is a [known standard](https://jsonresume.org/) for creating a CV programmatically. The second one, currently used as a fallback when the json file is not found, is by using a yml file located in [\_data/cv.yml](_data/cv.yml). This was the original way of creating the CV page content and since it is more human readable than a json file we decided to keep it as an option.
4848

4949
What this means is, if there is no resume data defined in [\_config.yml](_config.yml) and loaded via a json file, it will load the contents of [\_data/cv.yml](_data/cv.yml). If you want to use the [\_data/cv.yml](_data/cv.yml) file as the source of your CV, you must delete the [assets/json/resume.json](assets/json/resume_ae.json) file.
5050

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ imagemagick:
402402
enabled: true # enables responsive images for your site (recommended, see https://github.com/alshedivat/al-folio/issues/537)
403403
widths:
404404
- 240
405+
- 480
405406
input_directories:
406407
- assets/img/
407408
input_formats:

_includes/figure.liquid

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
<source
1616
class="responsive-img-srcset"
1717
srcset="{% for i in site.imagemagick.widths %}{{ img_path | relative_url }}-{{ i }}.webp {{i}}w,{% endfor %}"
18-
{% if include.sizes %}
19-
sizes="{{include.sizes}}"
20-
{% else %}
21-
sizes="95vw"
18+
sizes="95vw"
2219
{% endif %}
2320
type="image/webp"
2421
>

0 commit comments

Comments
 (0)