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

github.com/AlexFinn/simple-a.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander 'AlexFinn' Ivanov <alex@alexfinn.eu>2014-06-24 15:52:18 +0400
committerAlexander 'AlexFinn' Ivanov <alex@alexfinn.eu>2014-06-24 15:52:18 +0400
commita38c3d73388268bd7bc69ea1eacfaf7d4ca07c9f (patch)
treee4e272f8839b6dd5c4d0923853651dd923d7e5c0 /layouts/_default
parent5daed81bc97c5786ec1a86974c148fc5e9f38680 (diff)
Added new files
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/indexes.html8
-rw-r--r--layouts/_default/li.html5
-rw-r--r--layouts/_default/single.html26
3 files changed, 39 insertions, 0 deletions
diff --git a/layouts/_default/indexes.html b/layouts/_default/indexes.html
new file mode 100644
index 0000000..de38d4d
--- /dev/null
+++ b/layouts/_default/indexes.html
@@ -0,0 +1,8 @@
+<section id="main">
+ <div>
+ <h1 id="title">{{ .Title }}</h1>
+ <ul>
+
+ </ul>
+ </div>
+</section> \ No newline at end of file
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
new file mode 100644
index 0000000..8f2e22d
--- /dev/null
+++ b/layouts/_default/li.html
@@ -0,0 +1,5 @@
+<li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
+ </li>
+ \ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..268f39c
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,26 @@
+ {{ $baseurl := .Site.BaseUrl }}
+ {{ template "theme/chrome/header.html" . }}
+ <!-- CONTENT -->
+ <div class="post">
+ <header class="post-header">
+ <h1><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
+ <div class="post-time">{{ .Date.Format "January 2 2006" }}</div>
+ </header>
+ <div class="post-after">
+ <div class="tags">
+ {{ range .Params.tags }}
+ <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a>
+ {{ end }}
+ </div>
+ </div>
+ <hr>
+ <div class="post content">
+ {{ .Content }}
+ </div>
+ <!-- END CONTENT -->
+ {{ template "theme/chrome/about.html" . }}
+ <nav id="pagination">
+ {{if .Prev}}<a class="prev" href="{{.Prev.Permalink}}">Prev</a>{{end}}
+ {{if .Next}}<a class="next" href="{{.Next.Permalink}}">Next</a>{{end}}
+ </nav>
+ {{ template "theme/chrome/footer.html" . }}