diff options
author | Bergin Panimayam <bergin@bergin.io> | 2020-09-07 19:52:08 +0300 |
---|---|---|
committer | Bergin Panimayam <bergin@bergin.io> | 2020-09-07 19:52:08 +0300 |
commit | 07ad60b1c0491184342bfc0b5364abbcf9b07098 (patch) | |
tree | 50dc9f02eb8d0bc075d5242f1c7415412ce8242d | |
parent | ee7f45e9ed3c1b02e292c5fb0c8d59d901a36c3c (diff) |
Similar changes to the article list as well.
-rw-r--r-- | layouts/_default/article.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/_default/article.html b/layouts/_default/article.html index a19ed80..006a605 100644 --- a/layouts/_default/article.html +++ b/layouts/_default/article.html @@ -1,11 +1,15 @@ <article class="mb-5"> <h2 class="h4"><a class="post-title" href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2> <div class="mb-3 post-meta"> - <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}">{{ .Params.Author | title | humanize }}</a>, - {{ .PublishDate.Format "02/01/2006" }}, {{ range .Params.Categories }} - <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title | humanize }}</a> + <a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize | lower }}">{{ .Params.Author | title }}</a>, + {{ .PublishDate.Format "Jan 2, 2006" }}, {{ range .Params.Categories }} + <a href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}">{{ . | title }}</a> {{ end }} </div> <p>{{.Summary}}</p> + <div class="mb-3 post-meta"> + {{range .Params.Tags }} <a href="{{ `tags/` | relLangURL}}{{ . | urlize | lower }}">#{{ . | title }}</a>, {{ end }} + </div> <a href="{{ .Permalink }}" class="btn btn-sm btn-transparent pl-0">read more</a> + <div style="border: 1px #eee solid; margin:30px 0"></div> </article>
\ No newline at end of file |