diff options
author | uPagge <git@upagge.ru> | 2021-03-20 14:26:42 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-03-20 14:26:42 +0300 |
commit | 1c7142279d8713023f1c9b07819b0ba9806ce64b (patch) | |
tree | 510d0f7f32cac2aa3a7d3e4496ba205c09605d51 /layouts | |
parent | e94fd5d75317fd7a23f8d2ae66a2b248ee65cb66 (diff) |
nosection
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/admonition.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/m.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/marker.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/s.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/split-wide.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/str.html | 2 |
6 files changed, 4 insertions, 6 deletions
diff --git a/layouts/shortcodes/admonition.html b/layouts/shortcodes/admonition.html index 0fafb19..8269e20 100644 --- a/layouts/shortcodes/admonition.html +++ b/layouts/shortcodes/admonition.html @@ -24,7 +24,7 @@ </div> <div class="details-content"> <div class="admonition-content"> - {{- $inner -}} + {{- $inner -}} </div> </div> </div> diff --git a/layouts/shortcodes/m.html b/layouts/shortcodes/m.html new file mode 100644 index 0000000..967c6d9 --- /dev/null +++ b/layouts/shortcodes/m.html @@ -0,0 +1 @@ +<span class="m">{{ .Inner | $.Page.RenderString }}</span>
\ No newline at end of file diff --git a/layouts/shortcodes/marker.html b/layouts/shortcodes/marker.html deleted file mode 100644 index 9ed2456..0000000 --- a/layouts/shortcodes/marker.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ $text := cond $.IsNamedParams ($.Get "text") "" }} -<span class="m">{{ $text }}</span>
\ No newline at end of file diff --git a/layouts/shortcodes/s.html b/layouts/shortcodes/s.html new file mode 100644 index 0000000..491a187 --- /dev/null +++ b/layouts/shortcodes/s.html @@ -0,0 +1 @@ +<span class="s">{{ .Inner | $.Page.RenderString }}</span>
\ No newline at end of file diff --git a/layouts/shortcodes/split-wide.html b/layouts/shortcodes/split-wide.html index 7e6330d..06d8ede 100644 --- a/layouts/shortcodes/split-wide.html +++ b/layouts/shortcodes/split-wide.html @@ -3,4 +3,4 @@ {{- $typeOpen := (printf `<%s>` $typeOpen) | safeHTML -}} {{- $typeClose := (printf `</%s>` $typeClose) | safeHTML -}} -</div></div></div>{{- if ne (.Get `first`) true -}}{{ $typeClose }}{{- end -}}{{ $typeOpen }}<div class="article-post"><div class="content-break content-block-position">
\ No newline at end of file +</div></div></div>{{- if ne (.Get `noSection`) true -}}{{- if ne (.Get `first`) true -}}{{ $typeClose }}{{- end -}}{{ $typeOpen }}{{- end -}}<div class="article-post"><div class="content-break content-block-position">
\ No newline at end of file diff --git a/layouts/shortcodes/str.html b/layouts/shortcodes/str.html deleted file mode 100644 index d8a470b..0000000 --- a/layouts/shortcodes/str.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ $text := cond $.IsNamedParams ($.Get "text") "" }} -<span class="s">{{ $text }}</span>
\ No newline at end of file |