aboutsummaryrefslogtreecommitdiff
path: root/list.html
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2018-11-06 02:49:16 +0000
committerJulio Capote <jcapote@gmail.com>2018-11-06 02:49:16 +0000
commita62a3e7755579d93ce3a87243dd277575930fffe (patch)
tree6d074f7294c5b7a45bed7ac229a6802830da2a04 /list.html
downloadcapotej.com-a62a3e7755579d93ce3a87243dd277575930fffe.tar.gz
init
Diffstat (limited to 'list.html')
-rw-r--r--list.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/list.html b/list.html
new file mode 100644
index 0000000..0fcf803
--- /dev/null
+++ b/list.html
@@ -0,0 +1,35 @@
+<!-- same as index.html for tags listing -->
+<div class="container">
+ {{ partial "header" . }}
+ {{ partial "nav" . }}
+ <main class="container">
+ {{ if .Pages }}
+ {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups}}
+ <h1 class="title is-3">{{ .Key }}</h1>
+ {{ range where .Pages "Section" "posts" }}
+ <article class="columns">
+ <div class="column is-2">
+ <h6 class="is-inline" style="white-space: nowrap">{{ .Date.Format "Jan 2" }}</h2>
+ </div>
+ <div class="column">
+ <h2 class="subtitle is-inline is-size-4-mobile is-size-3-desktop"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }}</h1>
+ <div class="content is-hidden-mobile">
+ {{ .Summary | plainify | safeHTML | truncate 400 }}
+ {{ if .Truncated }}
+ <br>
+ <a class="button is-marginless is-paddingless" href="{{ .Permalink }}">
+ <span class="icon-link is-small" style="line-height: 100%">
+ <i class="fa fa-angle-double-right" aria-hidden="true"></i>
+ </span>
+ <p style="padding:0 5px"></p>more</p>
+ </a>
+ {{ end }}
+ </div>
+ </article>
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ </main>
+ {{ partial "pager" . }}
+ {{ partial "footer" . }}
+</div> \ No newline at end of file