diff options
author | tomanistor <toma.nistor@gmail.com> | 2017-03-23 08:19:42 +0300 |
---|---|---|
committer | tomanistor <toma.nistor@gmail.com> | 2017-03-23 08:19:42 +0300 |
commit | 7a8724133a4479b1fac2c003eb80847462d97139 (patch) | |
tree | 85e41b45aee3942bcfd4f416624a870c281c9982 /layouts/index.html | |
parent | befbc23079e0d88f8ddff62ac05b57a3e334e26b (diff) |
Sticky navbar
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/layouts/index.html b/layouts/index.html index f050634..f0b07ae 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,18 +1,21 @@ {{ partial "header.html" . }} +{{ partial "gallery.html" . }} -<section id="content"> - <ul class="posts_list"> - {{ range first 10 .Data.Pages }} - {{ if eq .Type "post" }} - <article> - <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> - <div id=sub-header> - {{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read - </div> - </article> - {{ end }} - {{ end }} - </ul> +<section class="container"> + <section class="content"> + <ul class="posts_list"> + {{ range first 10 .Data.Pages }} + {{ if eq .Type "post" }} + <article> + <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> + <div id=sub-header> + {{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read + </div> + </article> + {{ end }} + {{ end }} + </ul> + </section> </section> {{ partial "footer.html" . }} |