mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-14 02:17:29 -05:00
Organize summary template files
Also a small CSS patch to fix margin around post-title
This commit is contained in:
16
layouts/authors/summary.html
Normal file
16
layouts/authors/summary.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="author">
|
||||
<h2 class="author-name">
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||
</h2>
|
||||
|
||||
{{ partial "post-metadata/author.html" . }}
|
||||
|
||||
<div class="author-description">
|
||||
{{ partial "description-or-summary.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="readmore">
|
||||
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user