diff options
Diffstat (limited to 'themes/hugo-bearblog/layouts/_default/list.html')
m--------- | themes/hugo-bearblog | 0 | ||||
-rw-r--r-- | themes/hugo-bearblog/layouts/_default/list.html | 38 |
2 files changed, 38 insertions, 0 deletions
diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 -Subproject efc24bc5e95f0ccb88051e1a7d95e8a1404e953 diff --git a/themes/hugo-bearblog/layouts/_default/list.html b/themes/hugo-bearblog/layouts/_default/list.html new file mode 100644 index 0000000..443cd2f --- /dev/null +++ b/themes/hugo-bearblog/layouts/_default/list.html @@ -0,0 +1,38 @@ +{{ define "main" }} +<content> + {{ if .Data.Singular }} + <h3 style="margin-bottom:0">filtering for "{{ .Title }}"</h3> + <small> + <a href="{{ "blog" | relURL }}">remove filter</a> + </small> + {{ end }} + <ul class="blog-posts"> + {{ range .Pages }} + <li> + <span> + <i> + <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate> + {{ strings.ToLower (.Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat)) }} + </time> + </i> + </span> + <a href="{{ .Permalink }}">{{ .Title }}</a> + </li> + {{ else }} + <li> + No posts yet + </li> + {{ end }} + </ul> + {{ if .Data.Singular }} + {{else}} + <small> + <div> + {{ range .Site.Taxonomies.tags }} + <a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a> + {{ end }} + </div> + </small> + {{ end }} +</content> +{{ end }} |