Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/kitab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-06-16 21:19:26 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-06-16 21:19:26 +0300
commite35c01d1fa69c98cd30b3325726841c8734eafa7 (patch)
tree45d6297ad4d64606221951c0e4df7350cb894666
parentc35435ed67fe85a74dd44ed834ebd2cce3def08c (diff)
added bok title to single page
-rw-r--r--layouts/_default/single.html10
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>