aboutsummaryrefslogtreecommitdiff
path: root/themes/neonxp/layouts/partials/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/neonxp/layouts/partials/list.html')
-rw-r--r--themes/neonxp/layouts/partials/list.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/neonxp/layouts/partials/list.html b/themes/neonxp/layouts/partials/list.html
new file mode 100644
index 0000000..3b1bacc
--- /dev/null
+++ b/themes/neonxp/layouts/partials/list.html
@@ -0,0 +1,21 @@
+<article>
+ <header class="space-between">
+ <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
+ {{ if .Date }}
+ <span>
+ {{- .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") -}}
+ </span>
+ {{ end }}
+ </header>
+ {{ if .Description }}
+ {{ .Description }}
+ {{ else }}
+ {{ .Summary }}
+ {{ if .Truncated }}
+ <a href="{{ .RelPermalink }}">Далее...</a>
+ {{ end }}
+ {{ end }}
+ <footer>
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
+ </footer>
+</article> \ No newline at end of file