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

github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..9655e8e
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,28 @@
+{{ partial "header.html" . }}
+
+<div class="container">
+ <div class="row">
+ <div class="column is-md-8 is-offset-2 main">
+ {{ $paginator := .Paginate (where .Site.RegularPages "Section" "posts") }}
+ {{ range $paginator.Pages }}
+ <div class="post">
+ <div class="post-left">
+ <span class="post-date">
+ {{ .Date.Format "01-02" }}
+ </span>
+ </div>
+ <div class="post-right">
+ <a class="post-title" href="{{.Permalink}}">
+ {{.Title}}
+ </a>
+ <div class="post-summary">
+ {{.Summary}}
+ </div>
+ </div>
+ </div>
+ {{ end }}
+ </div>
+ </div>
+</div>
+
+{{ partial "footer.html" . }} \ No newline at end of file