diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-17 07:16:43 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-17 07:16:43 +0200 |
| commit | 40013704cf16f53468940a7d0160b40e8241a87c (patch) | |
| tree | f8ddc584fd90a450733332a3b9e6bbb898b4ab4e /_includes/date.html | |
| parent | 71a1444ec305d537cbfadb1a599df7dcacde13a1 (diff) | |
| download | jo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.tar.gz jo.mssola.com-40013704cf16f53468940a7d0160b40e8241a87c.zip | |
Remove jekyll
This is a complete rewrite of my blog to a vastly simpler form. That is,
we only need HTML and a couple of build scripts to have something
equivalent, without all the dependencies that jekyll brings. I have also
taken the chance to remove a lot of stuff that was actually not needed.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '_includes/date.html')
| -rw-r--r-- | _includes/date.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/_includes/date.html b/_includes/date.html deleted file mode 100644 index 47aa3cb..0000000 --- a/_includes/date.html +++ /dev/null @@ -1,41 +0,0 @@ - -{% assign day = include.date | date: "%-d" %} -{% capture day %}{{ day }}{% endcapture %} - -{% case day %} -{% when "1" or "11" %} - {% capture pre %} l'{% endcapture %} -{% else %} - {% capture pre %} el {% endcapture %} -{% endcase %} - -{% assign month = include.date | date: "%-m" %} -{% case month %} -{% when "1" %} - {% capture month %}gener{% endcapture %} -{% when "2" %} - {% capture month %}febrer{% endcapture %} -{% when "3" %} - {% capture month %}març{% endcapture %} -{% when "4" %} - {% capture month %}abril{% endcapture %} -{% when "5" %} - {% capture month %}maig{% endcapture %} -{% when "6" %} - {% capture month %}juny{% endcapture %} -{% when "7" %} - {% capture month %}juliol{% endcapture %} -{% when "8" %} - {% capture month %}agost{% endcapture %} -{% when "9" %} - {% capture month %}setembre{% endcapture %} -{% when "10" %} - {% capture month %}octubre{% endcapture %} -{% when "11" %} - {% capture month %}novembre{% endcapture %} -{% when "12" %} - {% capture month %}desembre{% endcapture %} -{% endcase %} - -{% assign year = include.date | date: "%Y" %} -{% capture year %}{{ year }}{% endcapture %} |
