mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Small spacing tweaks with page titles
This commit is contained in:
parent
0c248a4ca5
commit
fb40c8a4c3
@ -159,6 +159,11 @@
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.post-title h1,
|
||||
.author-name h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-title a,
|
||||
.author-name a {
|
||||
color: inherit;
|
||||
@ -173,7 +178,7 @@
|
||||
|
||||
.post-metadata,
|
||||
.author-metadata {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.categories,
|
||||
@ -823,7 +828,7 @@ li.disabled > .page-link:hover {
|
||||
|
||||
|
||||
/* Breadcrumb navigation */
|
||||
.breadcrumb {
|
||||
.breadcrumb ul {
|
||||
margin: 30px 0 20px;
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<h1>
|
||||
{{ partial "icon.html" "user-circle" }}
|
||||
{{ .Title | markdownify }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
</h1>
|
||||
<div class="author-name">
|
||||
<h1>
|
||||
{{ partial "icon.html" "user-circle" }}
|
||||
{{ .Title | markdownify }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{{ partial "post-metadata/author.html" . }}
|
||||
|
||||
|
@ -1,16 +1,18 @@
|
||||
{{ define "main" }}
|
||||
<h1>
|
||||
{{ if eq .Data.Singular "tag" }}
|
||||
{{ partial "icon.html" "tag" }}
|
||||
{{ else if eq .Data.Singular "category" }}
|
||||
{{ partial "icon.html" "folder" }}
|
||||
{{ else }}
|
||||
{{ partial "icon.html" "filter" }}
|
||||
{{ end }}
|
||||
<div class="post-title">
|
||||
<h1>
|
||||
{{ if eq .Data.Singular "tag" }}
|
||||
{{ partial "icon.html" "tag" }}
|
||||
{{ else if eq .Data.Singular "category" }}
|
||||
{{ partial "icon.html" "folder" }}
|
||||
{{ else }}
|
||||
{{ partial "icon.html" "filter" }}
|
||||
{{ end }}
|
||||
|
||||
{{ .Title | markdownify }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
</h1>
|
||||
{{ .Title | markdownify }}
|
||||
{{ partial "rss-link.html" . }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{{ partial "post-metadata/taxonomy.html" . }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user