Imporove sectiopn shortcode example

This commit is contained in:
Alex Shpak 2021-05-03 22:59:33 +02:00
parent 9e9c7d3403
commit f4a26ff3da
8 changed files with 16 additions and 6 deletions

View File

@ -138,7 +138,7 @@
} }
dd { dd {
margin-inline-start: $padding-16; margin-inline-start: 0;
margin-bottom: $padding-16; margin-bottom: $padding-16;
} }
} }

View File

@ -0,0 +1,6 @@
# First page
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<!--more-->
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -1 +0,0 @@
# Page 1

View File

@ -1 +0,0 @@
# Page 2

View File

@ -0,0 +1,6 @@
# Second Page
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<!--more-->
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

View File

@ -1 +1 @@
{"Target":"book.min.5ac6c2989f0943405962be6800b442aef429ef26ade26545ecf0617a21d1197a.css","MediaType":"text/css","Data":{"Integrity":"sha256-WsbCmJ8JQ0BZYr5oALRCrvQp7yat4mVF7PBheiHRGXo="}} {"Target":"book.min.88999ddd76b75d2f982298d6a6ebd4b60f2068f6f112c9439a998f77b12ded54.css","MediaType":"text/css","Data":{"Integrity":"sha256-iJmd3Xa3XS+YIpjWpuvUtg8gaPbxEslDmpmPd7Et7VQ="}}

View File

@ -3,7 +3,7 @@
<dt> <dt>
<a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a> <a href="{{ .RelPermalink }}">{{ partial "docs/title" . }}</a>
</dt> </dt>
<dd> <dd class="markdown-inner">
{{ default .Summary .Description }} {{ default .Summary .Description }}
</dd> </dd>
{{ end }} {{ end }}