From e19b71cc6a2e13f37163f4ece27efd0c909ab92e Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Fri, 26 Aug 2022 23:57:42 +0800 Subject: [PATCH] :art: Style: format code --- CHANGELOG.md | 1 + layouts/partials/recently-updated.html | 4 +--- layouts/taxonomy/list.html | 4 +--- layouts/taxonomy/terms.html | 4 +--- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fbff898..7c03e82e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. - :bug: Fix: use data attributes or class replace for custom attributes - :art: Style: change the default icons of some social links - :globe_with_meridians: Docs(i18n): update pt-br, de in i18n +- :mag: Perf(SEO): enhance SEO performance - :wrench: Chore: modify babel config and optimize theme.js compilation and loading - :wrench: Chore(deps-dev): - Remove minimist diff --git a/layouts/partials/recently-updated.html b/layouts/partials/recently-updated.html index 0b482678..09d1fbec 100644 --- a/layouts/partials/recently-updated.html +++ b/layouts/partials/recently-updated.html @@ -12,9 +12,7 @@ {{- $hasTitle = true -}} {{- end -}}
- - {{- .Title -}} - + {{- .Title -}} {{- with .Site.Params.section.dateformat | default "01-02" | .Lastmod.Format -}} {{- dict "Date" . | T "updatedOnDate" -}} diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 77171f0f..6887e338 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -31,9 +31,7 @@

{{ .Key }}

{{- range .Pages -}}
- - {{- .Title -}} - + {{- .Title -}} {{- $.Site.Params.list.dateFormat | default "01-02" | .Date.Format -}} diff --git a/layouts/taxonomy/terms.html b/layouts/taxonomy/terms.html index 165b0ede..0d9a9575 100644 --- a/layouts/taxonomy/terms.html +++ b/layouts/taxonomy/terms.html @@ -31,9 +31,7 @@ {{- range first 5 $pages -}} {{- end -}} {{- if gt (len $pages) 5 -}}