diff options
author | dkbm <david@rooikat.com> | 2016-08-25 20:45:25 +0300 |
---|---|---|
committer | dkbm <david@rooikat.com> | 2016-08-25 20:45:25 +0300 |
commit | cd1c50614f0fab64556484d183b6e2962fd11205 (patch) | |
tree | 32eef90ccb389797320820d843bec98ee714038b /layouts/_default |
Initial commit.
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 31 | ||||
-rw-r--r-- | layouts/_default/single.html | 29 |
2 files changed, 60 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..536ada3 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,31 @@ +{{ partial "header.html" . }} + + <div class="container-fluid"> + <div class="row"> + <div class="col-sm-4 col-md-3 col-lg-3 sidebar"> + + {{ partial "sidebar-content.html" . }} + + </div> + <div class="col-sm-7 col-sm-offset-4 col-md-6 col-md-offset-3 col-lg-5 col-lg-offset-3 content"> + + {{ range first 10 .Data.Pages }} + <div class="post"> + + <div class="post-heading"> + <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> + <span>{{ .Date.Format .Site.Params.DateFormat }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</span> + </div> + + {{ .Content }} + + </div> + {{ end }} + + </div> + <div class="col-sm-1 col-md-3 col-md-4"> + </div> + </div> + </div> + +{{ partial "footer.html" . }}
\ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..2261dc0 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,29 @@ +{{ partial "header.html" . }} + + <div class="container-fluid"> + <div class="row"> + <div class="col-sm-4 col-md-3 col-lg-3 sidebar"> + + {{ partial "sidebar-content.html" . }} + + </div> + <div class="col-sm-7 col-sm-offset-4 col-md-6 col-md-offset-3 col-lg-5 col-lg-offset-3 content"> + + <div class="post"> + + <div class="post-heading"> + <h1>{{ .Title }}</h1> + <span class="post-date"><a href="{{ .Permalink }}"># {{ .Date.Format .Site.Params.DateFormat }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</a></span> + </div> + + {{ .Content }} + + </div> + + </div> + <div class="col-sm-1 col-md-3 col-md-4"> + </div> + </div> + </div> + +{{ partial "footer.html" . }}
\ No newline at end of file |