Fix translation

This commit is contained in:
Bernat Borràs Civil 2025-05-05 19:00:24 +02:00
parent 9e6b7b22a9
commit 4e29c82e99
2 changed files with 9 additions and 11 deletions

View File

@ -1,12 +1,10 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"*": [ "*": [
"*" "*"
] ]
}, }
"lib": ["es2020", "dom"], }
"jsx": "preserve"
}
} }

View File

@ -6,7 +6,7 @@
</h2> </h2>
<footer class="article-time"> <footer class="article-time">
<time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'> <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
{{- .Date.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}} {{- .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
</time> </time>
</footer> </footer>
</div> </div>