File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1+ {% capture default_thumbnail_path % }/assets/img/projects/{{ pj.year }}/{{ pj.id }}.webp{% endcapture %}
2+ {% capture default_thumbnail_exists % }{% file_exists default_thumbnail_path % }{% endcapture % }
13[ {% for pj in projects % }
24 {
35 "id" : " {{ pj.id }}" ,
46 "title" : " {{ pj.title }}" ,
57 "description" : " {{ pj.description | escape }}" ,
6- "thumbnail" : " {{ site.url }}/assets/img/projects/{{ pj.year }}/{% if pj.thumbnail %}{{ pj.thumbnail }}{% else %}{{ pj.id}}.webp{% endif %}" ,
8+ "thumbnail" : " {{ site.url }}/assets/img/projects/{{ pj.year }}/{% if pj.thumbnail %}{{ pj.thumbnail }}{% elsif default_thumbnail_exists %}../tbu.webp{% else %}{{ pj.id}}.webp{% endif %}" ,
79 "url" : " {{ site.url }}/projects/{{ pj.year }}/{{ pj.id }}" ,
810 "year" : " {{ pj.year }}" ,
911 "creators" : [
You can’t perform that action at this time.
0 commit comments