From 63b8cff51cacce27f4f99be6c8004893df18b1f6 Mon Sep 17 00:00:00 2001 From: bug_creator Date: Tue, 30 Nov 2021 22:10:00 +0800 Subject: [PATCH] add share --- app/templates/Posts/question.html | 50 ++++++++++++++++++++++++++++++ app/templates/post.html | 50 +++++++++++++++++++++++++++++- config.py | 2 +- data-dev.sqlite | Bin 6885376 -> 6885376 bytes 4 files changed, 100 insertions(+), 2 deletions(-) diff --git a/app/templates/Posts/question.html b/app/templates/Posts/question.html index cbd0260..ac2a918 100644 --- a/app/templates/Posts/question.html +++ b/app/templates/Posts/question.html @@ -9,6 +9,50 @@ + + {% endblock %} {#主导航#} @@ -189,6 +233,12 @@ Report +
  • + + Share +
  • diff --git a/app/templates/post.html b/app/templates/post.html index ce03a36..da7f3ac 100644 --- a/app/templates/post.html +++ b/app/templates/post.html @@ -55,6 +55,50 @@ $(this).socialShare("tQQ"); }) + + {% endblock %} @@ -72,7 +116,11 @@ {{ post.question.title }} -
    +{#
    #} + + Share
    {{ post.body_html| safe }} diff --git a/config.py b/config.py index 479e23e..c303d5b 100644 --- a/config.py +++ b/config.py @@ -23,7 +23,7 @@ class Config: FLASKY_COMMENTS_PER_PAGE = 30 FLASKY_LIKER_PER_PAGE = 50 CACHE_TYPE = "simple" - ADMIN_EMAIL=['1148636961@qq.com','me@echo.cool','2721712688@qq.com'] + ADMIN_EMAIL=['1148636961@qq.com','me@echo.cool','2721712688@qq.com','1635743062@qq.com'] @staticmethod diff --git a/data-dev.sqlite b/data-dev.sqlite index 913a530d352cb845a763f8dd9daeff0a26961053..bd7be6363ef65ff34f3dae311633f40d28c1a02f 100644 GIT binary patch delta 462 zcmWm8$1)=T0D$2Uy{~Td-b*4uLw6C}g{ zVImAN#4u4th%w3-<4iC~oGGT6;TN;aG0y^vEV0ZAtE{ok2AgcL%?`W#<_~-9bHE`- Y9CN}c3C=j@g1`LZlK*eX(AD+(7g3_D6951J delta 462 zcmWm8H%^-Y0Dw_p(|ZlX7((yG{tYIW-g`@-1~4TF3wMA4WexI-lz}TCZo?^9k@6Vc zH-9((9>X{Mjf56n@1wJNo4!kDJ*7i$vC<%wh^2yHAQ?*}hJ(!XL)V{7JVcmma>yl* zd