add: apply suggestions

This commit is contained in:
Guillaume Lodi 2022-02-06 17:52:54 +01:00
parent e7bda5f935
commit 9be9391375
3 changed files with 20 additions and 16 deletions

View file

@ -12,7 +12,7 @@ Etch is a simple, responsive theme for [Hugo](https://gohugo.io) with a focus on
* Syntax highlighting with customizable theme.
* Dark theme which automatically adjusts based on users' setting ([example](https://github.com/LukasJoswiak/etch/wiki/Dark-mode)).
* No external dependencies, no JavaScript, no web fonts.
* Internationalization friendly: use default english translations or create your own
* Internationalization friendly: use default English translations or create your own
## Installation

19
i18n/en.toml Normal file
View file

@ -0,0 +1,19 @@
# Learn how to use Date format (date, created, updated)
# -> https://gohugo.io/functions/dateformat/
[posts]
[posts.title]
other = "Posts"
[posts.date]
other = "Jan 2, 2006"
[post]
[post.created]
other = "Jan 2, 2006"
[post.updated]
other = "Updated Jan 2, 2006"

View file

@ -1,15 +0,0 @@
# Learn how to use Date format (date, created, updated)
# -> https://gohugo.io/functions/dateformat/
posts:
title:
other: "Posts"
date:
other: "Jan, 2 2006"
post:
created:
other: "Jan, 2 2006"
updated:
other: "Updated Jan, 2 2006"