diff options
author | uPagge <git@upagge.ru> | 2021-07-24 14:45:54 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-07-24 14:45:54 +0300 |
commit | fb055f45fc81ac9e04d90baf2121a079b88211f7 (patch) | |
tree | 966c4a82fc1149095235bb4f02e68f9038f755b1 | |
parent | 74553b84f20a64d58ef1e6fe3dccea91a3ce62f8 (diff) |
git new image
-rw-r--r-- | layouts/shortcodes/c.html | 2 |
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> |