jekyll で現在年度を表示する
Published: 2019/11/14
例えば、copyright の表記などを行うにあたっては、何も考えずに jekyll でビルドしている時刻の年度を文字列として html に埋め込みたくなる。
これは、例えば以下のようにして実現できる。
© {{ site.time | date: '%Y' }}
表示例:
© 2019
参考リンク
Get today's date in Jekyll with Liquid markup
This (should) be easy, I think, but I'm unable to get today's date to show in a Jekyll page using Liquid markup. According to the documentation, I should be able to do this to get this date's year:...
stackoverflow.com

Tags: jekyll
AttributeError: module 'socketio' has no attribute 'Client' の対処方法
`JEKYLL_LOG_LEVEL=debug` なる環境変数について
関連記事
素の jekyll に bootstrap 4 を導入するまでにやったこと
2019/2/27
jekyll でのタグの取り扱いについて
2019/2/24