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

github.com/vimux/blank.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/summary.html')
-rw-r--r--layouts/partials/summary.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/partials/summary.html b/layouts/partials/summary.html
new file mode 100644
index 0000000..5315fd4
--- /dev/null
+++ b/layouts/partials/summary.html
@@ -0,0 +1,13 @@
+ <article>
+ <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
+ <time>{{ .Date.Format "02.01.2006 15:04" }}</time>
+ {{ range .Params.tags }}
+ <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ <div>
+ {{ .Summary }}
+ {{ if .Truncated }}
+ <a href="{{ .Permalink }}">Read more...</a>
+ {{ end }}
+ </div>
+ </article> \ No newline at end of file