Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-01-31 13:46:28 +0300
committerDillon <dillonzq@outlook.com>2020-01-31 13:46:28 +0300
commit344f0a9f411a9b28d6e5732e591f26953d9c1263 (patch)
tree52ed7ce26bdcf9e40e2bd782da377e5c0c4653ca /layouts/_default/section.html
parent7e6236361f790ec76a1d282021e6507a8378f40f (diff)
fix(css): fix some css bugs
Diffstat (limited to 'layouts/_default/section.html')
-rw-r--r--layouts/_default/section.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 8ef2cf1..620e737 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -1,17 +1,19 @@
-{{ define "title" }}{{ T "all" | humanize}}{{ T .Section | default .Section | humanize }} | {{ .Site.Title }}{{ end -}}
+{{- define "title" }}{{ T "all" | humanize}}{{ T .Section | default .Section | humanize }} | {{ .Site.Title }}{{ end -}}
-{{ define "content" -}}
- {{ $data := .Data -}}
- <div class="post-warp archive">
+{{- define "content" -}}
+ {{- $data := .Data -}}
+ <div class="warpper archive">
<h2 class="post-title animated pulse faster">
- {{ T "all" | humanize}}{{ T .Section | default .Section | humanize }}
+ {{- T "all" | humanize}}{{ T .Section | default .Section | humanize -}}
</h2>
{{- range (.Paginate (.Pages.GroupByDate "2006")).PageGroups -}}
<h3>{{ .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">
{{- .Date.Format (.Site.Params.dateFormatToUse | default "01-02") -}}
</span>
@@ -20,4 +22,4 @@
{{- end -}}
{{- partial "paginator.html" . -}}
</div>
-{{- end }} \ No newline at end of file
+{{- end -}} \ No newline at end of file