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

github.com/tblyler/light-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/summary.html')
-rw-r--r--layouts/post/summary.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
new file mode 100644
index 0000000..6506244
--- /dev/null
+++ b/layouts/post/summary.html
@@ -0,0 +1,16 @@
+<div class="postBody">
+ <article class="post">
+ <header>
+ <h1>
+ <a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a>
+ </h1>
+ <span class="post-meta">
+ {{ .Date.Format "Mon, Jan 2, 2006" }} - Read in {{ .ReadingTime }} Min
+ </span>
+ </header>
+ <div class="summary">
+ {{ .Summary }}
+ <a href="{{ .Permalink }}">Read more...</a>
+ </div>
+ </article>
+</div>