From fecc9b268410c8fefcd1ca32bc4228bba9002178 Mon Sep 17 00:00:00 2001 From: GNUxeava Date: Fri, 11 Mar 2022 10:32:10 +0530 Subject: use theme --- layouts/partials/post/reward.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 layouts/partials/post/reward.html (limited to 'layouts/partials/post/reward.html') diff --git a/layouts/partials/post/reward.html b/layouts/partials/post/reward.html new file mode 100644 index 0000000..baceac7 --- /dev/null +++ b/layouts/partials/post/reward.html @@ -0,0 +1,21 @@ +{{ if or .Params.reward (and .Site.Params.reward.enable (ne .Params.reward false)) -}} +
+ + +
+ {{ $qrCode := .Site.Params.reward }} + {{ with $qrCode.wechat -}} + + {{- end }} + {{ with $qrCode.alipay -}} + + {{- end }} +
+
+{{- end }} \ No newline at end of file -- cgit v1.2.3