Skip to content

Commit

Permalink
Exec: bundle exec rake upsert_project_pages_by_data
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Nov 7, 2024
1 parent e27cac3 commit fd70b43
Show file tree
Hide file tree
Showing 220 changed files with 1,540 additions and 1,100 deletions.
12 changes: 7 additions & 5 deletions _posts/2016-09-01-smart_pen.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2016-09-01-voice_commander.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2016-09-01-vr_picture_book_maker.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-anki_cookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-draw_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-fall_in_friends.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-listenable_keyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-music_reminder.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-narratica.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-papa.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
12 changes: 7 additions & 5 deletions _posts/2017-09-01-rakuraku_yomiyomi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ twitter_card: summary_large_image
{% if page.lang == 'en' %}
{% assign pj_title = pj.title_en | escape %}
{% assign pj_description = pj.description_en | escape %}
{% assign pj_promotion = pj.promotion_en | default: pj.promotion %}
{% else %}
{% assign pj_title = pj.title | escape %}
{% assign pj_description = pj.description | escape %}
{% assign pj_promotion = pj.promotion %}
{% endif %}

<div style='margin-top: 50px; margin-bottom: 30px;'>
Expand Down Expand Up @@ -67,17 +69,17 @@ twitter_card: summary_large_image
<p class="project-comment">{{ pj.comment }}</p>
{% endif %}

{% if pj.promotion %}
{% if pj_promotion %}
## {{ translations.demoMovie[lang] }} {#demo}
{% if pj.promotion contains '.gif' %}
{% if pj_promotion contains '.gif' %}
<img class='top-img lazyload' src='/assets/img/spinner.svg' alt='{{ translations.demoMovie[lang] }} (Gif)'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj.promotion }}' loading='lazy'
data-src='/assets/img/projects/{{ pj.year }}/{{ pj_promotion }}' loading='lazy'
style='margin-bottom: 10px; border-radius: 6px;' />
{% else %}
<div class="youtube">
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj.promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
<iframe width="560" height="315" class="lazyload" data-src="https://www.youtube.com/embed/{{ pj_promotion }}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</div>
<a href="https://youtu.be/{{ pj.promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
<a href="https://youtu.be/{{ pj_promotion }}" target="_blank" class="button">{{ translations.watchOnYouTube[lang] }}</a>
{% endif %}
{% endif %}

Expand Down
Loading

0 comments on commit fd70b43

Please sign in to comment.