Skip to content

Commit

Permalink
Show ja-jp locale date, with (holiday name) after, if holiday
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley committed Nov 10, 2024
1 parent 5ab2852 commit b0126e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.vto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ description: "Top page of the site, showing a list of works with a link to a bio
priority: 0.9
---
<!-- ===== START LAYOUT: HOME ===== -->
<div class="fl w-100 w-50-m w-25-l pv3 pa3-m pa4-l">本日は{{ todaysDateJAJP }}{{ set today = todaysDateYYYYMMDD }}{{ if holidays[today] }} ({{ holidays[today] }}){{ /if }}

{{# {{ for key,value of jp_holidays }}
{{ key }}{{value}}
{{ /for }} #}}

</div>
<article class="fl w-100 bg-white">
{{ for item of search.pages(`type=showcase`, "order=asc") }}
<div class="fl w-100 w-50-m w-25-l pv3 pa3-m pa4-l">
Expand Down

0 comments on commit b0126e8

Please sign in to comment.