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

github.com/s4n7h0/hugo-theme-timeline.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/timeline/list.html')
-rw-r--r--layouts/timeline/list.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layouts/timeline/list.html b/layouts/timeline/list.html
new file mode 100644
index 0000000..747bcc3
--- /dev/null
+++ b/layouts/timeline/list.html
@@ -0,0 +1,36 @@
+{{ define "main" }}
+{{ $paginator := .Paginate .Data.Pages }}
+
+
+<main class="posts">
+ <h1>{{ .Title }}</h1>
+
+ {{ if .Content }}
+ <div class="content">{{ .Content }}</div>
+ {{ end }}
+
+ <section class="timeline">
+ <div class="container" style="text-align: left!important">
+ {{ range .Pages.ByDate.Reverse }}
+
+ <div class="timeline-item">
+ <div class="timeline-img"></div>
+
+ <div class="timeline-content js--fadeInLeft">
+ <h2><a href="{{.Permalink}}"><span class="post-title">{{.Title}}</span></a></h2>
+ <div class="date">{{ .Date.Format "Jan 2, 2006"}}</div>
+ <p>
+ {{.Params.Eventname}}<br>
+ {{.Params.Eventlocation}}
+
+ </p>
+ </div>
+ </div>
+ {{ end }}
+ </div>
+</section>
+
+
+
+</main>
+{{ end }}