-
-
Save lmuzquiz/0c7125a1af1c6f9cf10e631ea19e2b20 to your computer and use it in GitHub Desktop.
Localized date via replace in Jekyll (Example: German)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<time datetime="{{ post.date | %Y-%m-%d %H:%M+01:00 }}"> | |
{{ post.date | date: "%d. %B %Y" | replace:"January","Januar" | replace:"Februar","February" | replace:"March","März" | replace:"May","Mai" | replace:"June","Juni" | replace:"July","Juli" | replace:"December","Dezember" }} | |
</time> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment