diff options
| author | roninro <liumy.f@foxmail.com> | 2022-07-28 17:32:43 +0800 |
|---|---|---|
| committer | roninro <liumy.f@foxmail.com> | 2022-07-28 17:32:43 +0800 |
| commit | c953d353194ae038f1815290337a82c1cb65272c (patch) | |
| tree | 6494ad04f8907cf1136972e2a0b7f6b27d206873 /layouts/section | |
init
Diffstat (limited to 'layouts/section')
| -rw-r--r-- | layouts/section/about.html | 10 | ||||
| -rw-r--r-- | layouts/section/archive.html | 29 |
2 files changed, 39 insertions, 0 deletions
diff --git a/layouts/section/about.html b/layouts/section/about.html new file mode 100644 index 0000000..5c77571 --- /dev/null +++ b/layouts/section/about.html @@ -0,0 +1,10 @@ +{{ define "container" }} + +<div class="post-container"> + + {{ .Content }} +</div> + +{{ partial "comments.html" . }} + +{{ end }}
\ No newline at end of file diff --git a/layouts/section/archive.html b/layouts/section/archive.html new file mode 100644 index 0000000..08d12f3 --- /dev/null +++ b/layouts/section/archive.html @@ -0,0 +1,29 @@ +{{ define "main" }} + +{{ $pages := .Site.RegularPages }} +<!-- Main Content --> +<div class="container"> + <div class="row"> + <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> + {{ partial "tagcloud.html" . }} + + <!-- Article List --> + <div class="mini-post-list js-result"> + + {{ range $pages.GroupByDate "2006" }} + + <section class=""> + <span class="fa listing-seperator"> + <span class="tag-text">{{ .Key }}</span></span> + {{ range .Pages }} + {{ .Render "li" }} + {{ end }} + </section> + {{ end }} + + </div> + </div> + </div> +</div> + +{{ end }}
\ No newline at end of file |
