Skip to content

Commit

Permalink
Try to find thumbnail in default path in English LP if it not given
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Nov 7, 2024
1 parent fda494d commit ff66cc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions english/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ Example projects, accepted and boosted by our program, are as follows.
alt="{{ pj.title }}" title="{{ pj.title }}" class="project-thumbnail lazyload" loading="lazy" />
</a>
{% else %}
<!-- Show TBD thumbnail image if not ready yet. -->
<!-- Show WebP thumbnail image in the default path. -->
<a href="/english/projects/{{ pj.year }}/{{ pj.id }}">
<img src="/assets/img/spinner.svg" data-src="/assets/img/projects/tbu.png"
alt="{{ pj.title }}" title="{{ pj.title }}" class="project-thumbnail lazyload" loading="lazy" />
</a>
<img src="/assets/img/spinner.svg" data-src="/assets/img/projects/{{ pj.year }}/{{ pj.id }}.webp"
alt="{{ pj.title }}" title="{{ pj.title }}" class="project-thumbnail lazyload" loading="lazy" />
</a>
{% endif %}

<h4>Abstract</h4>
Expand Down

0 comments on commit ff66cc6

Please sign in to comment.