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/index.html |
Initial commit.
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..536ada3 --- /dev/null +++ b/layouts/index.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 |