mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 09:47:29 -05:00
Use <main> and have different class names for authors
This commit is contained in:
@ -14,11 +14,11 @@
|
||||
{{ partial "breadcrumb.html" . }}
|
||||
{{ end }}
|
||||
|
||||
<div class="main">
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{{ if or .Site.Copyright .Site.Params.footer }}
|
||||
<hr>
|
||||
|
@ -1,12 +1,12 @@
|
||||
<div class="post">
|
||||
<h2 class="post-title">
|
||||
<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="post-description">
|
||||
<div class="author-description">
|
||||
{{ partial "description-or-summary.html" . }}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user