diff --git a/assets/donate.md b/assets/donate.md index e71fb0f..112b5de 100644 --- a/assets/donate.md +++ b/assets/donate.md @@ -1,7 +1,13 @@ -# 赞助 +--- +title: 资助 +type: about +order: 1 +--- + +# 资助 如果你认为本书对你起到了帮助,并希望赞助作者,可以通过下面的二维码给予支持: |微信|支付宝| |:--:|:--:| -|![](wechat.jpg) | ![](alipay.jpg)| \ No newline at end of file +|![](../assets/wechat.jpg) | ![](../assets/alipay.jpg)| \ No newline at end of file diff --git a/website/Makefile b/website/Makefile index 369b58b..706297b 100755 --- a/website/Makefile +++ b/website/Makefile @@ -2,6 +2,9 @@ all: clean node install.js python3 filter.py cp ../assets/cover-2nd.png ./src/modern-cpp/assets/cover-2nd.png + cp ../assets/alipay.jpg ./src/modern-cpp/assets/alipay.jpg + cp ../assets/wechat.jpg ./src/modern-cpp/assets/wechat.jpg + cp ../assets/donate.md ./src/modern-cpp/about/ cp -r ../assets/figures ./src/modern-cpp/assets/figures cp -r ../exercises ./src/modern-cpp/book/ cp -r ../code ./src/modern-cpp/book/ @@ -13,3 +16,6 @@ clean: rm -rf ./src/modern-cpp/assets/cover-2nd.png rm -rf ./src/modern-cpp/assets/figures rm -rf public db.json src/modern-cpp/book + rm -rf ./src/modern-cpp/assets/alipay.jpg + rm -rf ./src/modern-cpp/assets/wechat.jpg + rm -rf ./src/modern-cpp/about/donate.md \ No newline at end of file diff --git a/website/src/modern-cpp/about/copyright.md b/website/src/modern-cpp/about/copyright.md index b408d5b..a7ceebb 100755 --- a/website/src/modern-cpp/about/copyright.md +++ b/website/src/modern-cpp/about/copyright.md @@ -1,7 +1,7 @@ --- title: 版权声明 type: about -order: 1 +order: 2 --- 知识共享许可协议 diff --git a/website/themes/moderncpp/layout/partials/main_menu.ejs b/website/themes/moderncpp/layout/partials/main_menu.ejs index c63ae00..bf6723e 100755 --- a/website/themes/moderncpp/layout/partials/main_menu.ejs +++ b/website/themes/moderncpp/layout/partials/main_menu.ejs @@ -15,6 +15,7 @@ 关于