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-07-24 14:45:54 +0300
committeruPagge <git@upagge.ru>2021-07-24 14:45:54 +0300
commitfb055f45fc81ac9e04d90baf2121a079b88211f7 (patch)
tree966c4a82fc1149095235bb4f02e68f9038f755b1
parent74553b84f20a64d58ef1e6fe3dccea91a3ce62f8 (diff)
git new image
-rw-r--r--layouts/shortcodes/c.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/shortcodes/c.html b/layouts/shortcodes/c.html
new file mode 100644
index 0000000..2809f0c
--- /dev/null
+++ b/layouts/shortcodes/c.html
@@ -0,0 +1,2 @@
+{{- $color := cond $.IsNamedParams ($.Get "color") "" -}}
+<span style="color:{{ $color }}">{{ .Inner | $.Page.RenderString }}</span>