From dff23045a8de705c79597c8dd1430b6ff2d1f8e1 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 9 Apr 2022 23:29:22 -0500 Subject: [PATCH] Use
and have different class names for authors --- assets/css/bobastyle.css | 10 +++++----- layouts/_default/baseof.html | 4 ++-- layouts/_default/summary/author.html | 6 +++--- layouts/partials/post-metadata/author.html | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 605b62c..32253e9 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -85,21 +85,21 @@ opacity: .75; } -.post-title { +.post-title, .author-name { margin-bottom: 10px; } -.post-title a { +.post-title a, .author-name a { color: inherit; text-decoration: inherit; } -.post-meta-item { +.post-meta-item, .author-meta-item { margin-right: 10px; display: inline-block; } -.post-metadata { +.post-metadata, .author-metadata { margin-bottom: 15px; } @@ -112,7 +112,7 @@ margin-top: 15px; } -.post-description { +.post-description, .author-description { margin-top: 10px; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5e02650..881c11c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,11 +14,11 @@ {{ partial "breadcrumb.html" . }} {{ end }} -
+
{{ block "main" . }} {{ .Content }} {{ end }} -
+
{{ if or .Site.Copyright .Site.Params.footer }}
diff --git a/layouts/_default/summary/author.html b/layouts/_default/summary/author.html index dd45bd9..c030539 100644 --- a/layouts/_default/summary/author.html +++ b/layouts/_default/summary/author.html @@ -1,12 +1,12 @@ -
-

+
+

{{ .Title | markdownify }} {{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}

{{ partial "post-metadata/author.html" . }} -
+
{{ partial "description-or-summary.html" . }}
diff --git a/layouts/partials/post-metadata/author.html b/layouts/partials/post-metadata/author.html index 0533c58..8534cd2 100644 --- a/layouts/partials/post-metadata/author.html +++ b/layouts/partials/post-metadata/author.html @@ -1,16 +1,16 @@ -