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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <git@upagge.ru>2021-03-20 14:26:42 +0300
committeruPagge <git@upagge.ru>2021-03-20 14:26:42 +0300
commit1c7142279d8713023f1c9b07819b0ba9806ce64b (patch)
tree510d0f7f32cac2aa3a7d3e4496ba205c09605d51 /layouts
parente94fd5d75317fd7a23f8d2ae66a2b248ee65cb66 (diff)
nosection
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/admonition.html2
-rw-r--r--layouts/shortcodes/m.html1
-rw-r--r--layouts/shortcodes/marker.html2
-rw-r--r--layouts/shortcodes/s.html1
-rw-r--r--layouts/shortcodes/split-wide.html2
-rw-r--r--layouts/shortcodes/str.html2
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