diff --git a/website/src/modern-cpp/about/donate.md b/website/src/modern-cpp/about/donate.md new file mode 100644 index 0000000..112b5de --- /dev/null +++ b/website/src/modern-cpp/about/donate.md @@ -0,0 +1,13 @@ +--- +title: 资助 +type: about +order: 1 +--- + +# 资助 + +如果你认为本书对你起到了帮助,并希望赞助作者,可以通过下面的二维码给予支持: + +|微信|支付宝| +|:--:|:--:| +|![](../assets/wechat.jpg) | ![](../assets/alipay.jpg)| \ No newline at end of file diff --git a/website/src/modern-cpp/assets/alipay.jpg b/website/src/modern-cpp/assets/alipay.jpg new file mode 100644 index 0000000..63abc14 Binary files /dev/null and b/website/src/modern-cpp/assets/alipay.jpg differ diff --git a/website/src/modern-cpp/assets/wechat.jpg b/website/src/modern-cpp/assets/wechat.jpg new file mode 100644 index 0000000..0ae6403 Binary files /dev/null and b/website/src/modern-cpp/assets/wechat.jpg differ diff --git a/website/themes/moderncpp/layout/layout.ejs b/website/themes/moderncpp/layout/layout.ejs index 817d64d..d4e4cc0 100755 --- a/website/themes/moderncpp/layout/layout.ejs +++ b/website/themes/moderncpp/layout/layout.ejs @@ -3,7 +3,7 @@ - <%- page.title ? page.title + ' — ' : '' %> - C++ 11/14/17 On the Fly + <%- page.title ? page.title : '' %> 高速上手 C++ 11/14/17 - C++ 11/14/17 On the Fly diff --git a/website/themes/moderncpp/layout/page.ejs b/website/themes/moderncpp/layout/page.ejs index 04bc262..9c42b37 100755 --- a/website/themes/moderncpp/layout/page.ejs +++ b/website/themes/moderncpp/layout/page.ejs @@ -22,5 +22,8 @@ 欧长坤 © 2016-<%- new Date().getFullYear() %> 版权所有, 采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议许可,代码使用 MIT 协议开源。

+

+ 如果你认为本书对你起到了帮助,可以资助作者。 +