Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonhe/hugo_eiio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html18
1 files changed, 14 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 29c87c5..faf40fc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -41,12 +41,22 @@
{{ end }}
<h3 ><a class="title_a" href="{{$url}}">{{ .Title }}</a></h3>
- <p> <span class="badge" time="{{.Date.Format "2006-01-02"}}" > {{.Date.Format "2006-01-02"}}</span></p>
- <p><span><ion-icon name="ios-podium"></ion-icon>Word Count: {{ .WordCount }}&nbsp;&nbsp; |
- <ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute&nbsp;&nbsp;</span></p>
+ <p> <span class="badge" time="{{.Date.Format "2006-01-02"}}" > {{.Date.Format "2006-01-02"}}</span> </p>
+ <p>
+{{ with .Params.categories }}
+ <ion-icon name="folder"></ion-icon>
+ {{ range . }}
+ <a class="btn btn-default btn-xs text-capitalize" href="/categories/{{ . | urlize }}"> {{ . }}</a>
+ {{ end }}
+ |
+ {{ end }}
+ <span><ion-icon name="ios-podium"></ion-icon>Word Count: {{ .WordCount }}&nbsp;&nbsp; |
+ <ion-icon name="ios-time"></ion-icon> Reading Time: {{ .ReadingTime }} Minute&nbsp;&nbsp;</span>
+ </p>
+
<p><a href="{{$url}}" class="title_a"> {{ .Summary | markdownify }}....</a></p>
{{ partial "post/tag/list" . }}
-
+
</div>
</div>
{{ end }}