Commit 9f55e3fc authored by Kaushal Modi's avatar Kaushal Modi

Add .Description to single layout

parent ac5fe0fa
......@@ -15,6 +15,12 @@
{{ end }}
<div class="content">
{{ with .Description }}
<div class="description">
{{ . | markdownify }}
</div>
{{ end }}
{{ partial "headline-hash.html" .Content }}
</div>
</div>
......
......@@ -1144,18 +1144,24 @@ h6 {
}
/* * Block quotes */
.description,
blockquote {
font-family: sans-serif;
font-style: italic;
font-size: 0.8em;
font-weight: normal;
margin-left: 1.1em; /* Space to the left of the vertical line */
border-left: 2px solid #b3b3b3; /* Vertical line on the left */
padding-left: 1.1em; /* Space to the right of the vertical line */
padding-right: 2em;
margin-top: 1.1em;
margin-bottom: 1.1em;
}
.description {
font-size: 0.9em;
border-left: 4px solid var(--theme-color); /* Vertical line on the left */
}
blockquote {
font-size: 0.8em;
border-left: 2px solid #b3b3b3; /* Vertical line on the left */
}
/* *** Headline Hashes */
.headline-hash,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment