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

github.com/meibenny/elephants.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Mei <meibenny@gmail.com>2018-01-01 23:33:04 +0300
committerBenny Mei <meibenny@gmail.com>2018-01-01 23:33:04 +0300
commit5fe2fbbddd798f0fc54afe888e5652fe72fecc59 (patch)
tree1d7ac412de8a608ee715e4c169efa0b1508009ee /layouts
initial commit
Diffstat (limited to 'layouts')
-rw-r--r--layouts/404.html0
-rw-r--r--layouts/_default/list.html1
-rw-r--r--layouts/_default/single.html13
-rw-r--r--layouts/index.html18
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/header.html17
6 files changed, 51 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/404.html
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..5c3f32f
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1 @@
+Hello List \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..3db642b
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,13 @@
+{{ partial "header.html" . }}
+
+<section class="blog-post">
+ <h1>{{ .Title }}</h1>
+ <div class="blog-post-subheader">
+ {{ .Date.Format (.Site.Params.dateform | default "January 2, 2006") }}
+ </div>
+ <div class="blog-post-content">
+ {{ .Content }}
+ </div>
+</section>
+
+{{ partial "footer.html" . }} \ No newline at end of file
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..6efa0b1
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,18 @@
+{{ partial "header.html" . }}
+
+<section id=content>
+ <ul class=posts_listing>
+ {{ range .Data.Pages.ByPublishDate }}
+ <div id="posts">
+ <div id=date class="date-time-title">
+ <time>{{ .Date.Format (.Site.Params.dateform | default "Jan 2 2006") }}</time>
+ </div>
+ <div class="date-time-title post">
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </div>
+ </div>
+ {{ end }}
+ </ul>
+ </section>
+
+{{ partial "footer.html" . }} \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..b317cc2
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,2 @@
+ </body>
+</html> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..634e9ae
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
+
+ <title>{{.Title}}</title>
+
+ <link rel="stylesheet" href="/css/stylesheet.css">
+ </head>
+ <body>
+ <section id="page-title">
+ <h1><a href="/">{{ .Site.Params.sitename }}</a></h1>
+ </section>
+