diff options
author | amzrk2 | 2020-04-15 20:07:14 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-15 20:07:14 +0800 |
commit | ea560a0610991ce5af7fabef9e5ef456f374b8e4 (patch) | |
tree | c2fbe799f59468211502ff751c34362d03614534 /layouts/index.html | |
parent | bbc577280b947f898c8c867925d37b8708a47b23 (diff) | |
download | hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.tar.gz hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.tar.bz2 hugo-theme-fuji-ea560a0610991ce5af7fabef9e5ef456f374b8e4.zip |
Add archives page
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index ef083bc..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,41 +0,0 @@ -{{ define "main" }} -<main> - <div class="container-lg clearfix"> - <!-- list --> - <div class="col-md-9 col-12 float-left" id="content"> - <!-- homepage range in posts --> - {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} - {{ range $paginator.Pages }} - <div id="post"> - <h2 id="post-title"> - <a href="{{ .Permalink }}">{{ .Title }}</a> - </h2> - <div id="post-meta"> - {{ partial "post-meta.html" . }} - </div> - <div class="markdown-body" id="post-summary"> - {{ .Summary }} - </div> - <div id="post-exlink"> - <a href="{{ .Permalink }}#">> READ MORE ...</a> - </div> - </div> - {{ end }} - {{ if gt $paginator.TotalPages 1 }} - <div id="pagination"> - {{ template "_internal/pagination.html" . }} - </div> - {{ end }} - </div> - <!-- sidebar --> - <div class="col-md-3 col-12 float-left" id="sidebar"> - {{ partial "sidebar.html" . }} - </div> - <div id="container-progress"> - <a href="javascript:void(0)"> - <div id="progress"></div> - </a> - </div> - </div> -</main> -{{ end }}
\ No newline at end of file |