mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-02 19:52:40 +00:00
🎨 Style: format code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -12,9 +12,7 @@
|
||||
{{- $hasTitle = true -}}
|
||||
{{- end -}}
|
||||
<article class="archive-item">
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">
|
||||
{{- .Title -}}
|
||||
</a>
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">{{- .Title -}}</a>
|
||||
<span class="archive-item-date" title='{{ "2006-01-02 15:04:05" | .Lastmod.Format }}'>
|
||||
{{- with .Site.Params.section.dateformat | default "01-02" | .Lastmod.Format -}}
|
||||
{{- dict "Date" . | T "updatedOnDate" -}}
|
||||
|
||||
@@ -31,9 +31,7 @@
|
||||
<h3 class="group-title">{{ .Key }}</h3>
|
||||
{{- range .Pages -}}
|
||||
<article class="archive-item">
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">
|
||||
{{- .Title -}}
|
||||
</a>
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">{{- .Title -}}</a>
|
||||
<span class="archive-item-date" title={{ "2006-01-02 15:04:05" | .Date.Format }}>
|
||||
{{- $.Site.Params.list.dateFormat | default "01-02" | .Date.Format -}}
|
||||
</span>
|
||||
|
||||
@@ -31,9 +31,7 @@
|
||||
</h3>
|
||||
{{- range first 5 $pages -}}
|
||||
<article class="archive-item">
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">
|
||||
{{- .Title -}}
|
||||
</a>
|
||||
<a href="{{ .RelPermalink }}" class="archive-item-link">{{- .Title -}}</a>
|
||||
</article>
|
||||
{{- end -}}
|
||||
{{- if gt (len $pages) 5 -}}
|
||||
|
||||
Reference in New Issue
Block a user