Skip to content

Commit

Permalink
fix broken link, continue to tinker with image sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
treangen authored Sep 4, 2024
1 parent 3f4d566 commit 3f97c42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CUSTOMIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ All changes made to this file are only visible after you rebuild the website. Th

## Modifying the CV information

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.
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.

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.

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ imagemagick:
enabled: true # enables responsive images for your site (recommended, see https://github.com/alshedivat/al-folio/issues/537)
widths:
- 240
- 480
input_directories:
- assets/img/
input_formats:
Expand Down
5 changes: 1 addition & 4 deletions _includes/figure.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
<source
class="responsive-img-srcset"
srcset="{% for i in site.imagemagick.widths %}{{ img_path | relative_url }}-{{ i }}.webp {{i}}w,{% endfor %}"
{% if include.sizes %}
sizes="{{include.sizes}}"
{% else %}
sizes="95vw"
sizes="95vw"
{% endif %}
type="image/webp"
>
Expand Down

0 comments on commit 3f97c42

Please sign in to comment.