diff options
-rw-r--r-- | layouts/_default/single.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 5e4e31a..f4bc9b6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,13 @@ {{ define "main" }}
-<div class="mb-2">
+<div class="mb-2 p-3 shadow position-relative">
+ <small
+ class="bg-white pl-1 pr-1 rounded border border-secondary"
+ style="background-color: #f3f3ef !important; position: absolute; top: -0.75em; left: 0.5em"
+ >
+ {{ (.Site.GetPage .Section).Title | markdownify }}
+ </small>
<h2>{{ .Title }}</h2>
- <div class="rounded p-2 shadow">
+ <div class="rounded">
{{ .Content }}
</div>
</div>
|