From 825a1d01053600987615e9bec0f8f11c690d397b Mon Sep 17 00:00:00 2001 From: Aksgo Date: Tue, 24 Dec 2024 11:34:32 +0530 Subject: [PATCH] structure changed --- docs/index.html | 4 ++-- {static => docs/static}/admin.js | 0 {static => docs/static}/asset/blog-1.png | Bin {static => docs/static}/asset/blog-2.jpg | Bin {static => docs/static}/asset/blog-3.png | Bin {static => docs/static}/asset/blog-4.png | Bin {static => docs/static}/asset/welcome-blog.jpg | Bin {static => docs/static}/styles.css | 0 server.py | 8 -------- 9 files changed, 2 insertions(+), 10 deletions(-) rename {static => docs/static}/admin.js (100%) rename {static => docs/static}/asset/blog-1.png (100%) rename {static => docs/static}/asset/blog-2.jpg (100%) rename {static => docs/static}/asset/blog-3.png (100%) rename {static => docs/static}/asset/blog-4.png (100%) rename {static => docs/static}/asset/welcome-blog.jpg (100%) rename {static => docs/static}/styles.css (100%) delete mode 100644 server.py diff --git a/docs/index.html b/docs/index.html index 488eebb..381d4fd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4,7 +4,7 @@ Admin Panel - Blog - + @@ -41,5 +41,5 @@

Active Blogs



- + diff --git a/static/admin.js b/docs/static/admin.js similarity index 100% rename from static/admin.js rename to docs/static/admin.js diff --git a/static/asset/blog-1.png b/docs/static/asset/blog-1.png similarity index 100% rename from static/asset/blog-1.png rename to docs/static/asset/blog-1.png diff --git a/static/asset/blog-2.jpg b/docs/static/asset/blog-2.jpg similarity index 100% rename from static/asset/blog-2.jpg rename to docs/static/asset/blog-2.jpg diff --git a/static/asset/blog-3.png b/docs/static/asset/blog-3.png similarity index 100% rename from static/asset/blog-3.png rename to docs/static/asset/blog-3.png diff --git a/static/asset/blog-4.png b/docs/static/asset/blog-4.png similarity index 100% rename from static/asset/blog-4.png rename to docs/static/asset/blog-4.png diff --git a/static/asset/welcome-blog.jpg b/docs/static/asset/welcome-blog.jpg similarity index 100% rename from static/asset/welcome-blog.jpg rename to docs/static/asset/welcome-blog.jpg diff --git a/static/styles.css b/docs/static/styles.css similarity index 100% rename from static/styles.css rename to docs/static/styles.css diff --git a/server.py b/server.py deleted file mode 100644 index ce3a98c..0000000 --- a/server.py +++ /dev/null @@ -1,8 +0,0 @@ -from flask import Flask, render_template -app = Flask(__name__, template_folder="docs") -@app.route('/') -def home(): - return render_template('index.html') - -if __name__ == '__main__': - app.run(host='0.0.0.0', debug=True) \ No newline at end of file