做一個部落格網站
- 開始
-
-
-
-
- 聲明
-
- 作者
-
-
-
開始
由于代碼很冗長,我不在此複制粘貼了😂
github:github
其中:
main.py
——排程檔案
usr.json
——使用者資訊(密碼存儲哈希值)
templates/index.html
——首頁
templates/home.html
——首頁
templates/login.html
——登陸頁
templates/register.html
——注冊頁
templates/del.html
——删除部落格的備援頁
templates/editBlog.html
——修改部落格的頁面(也很備援)
templates/me.html
——個人首頁
templates/pageErr.html
——錯誤頁
templates/search.html
——搜尋頁(也很備援)
templates/sha256.js
——
sha256
庫源檔案
templates/writeBlog.html
——寫部落格頁
templates/blog
——部落格存儲路徑
代碼寫個不很複雜,自己看吧。😜
聲明
此代碼僅供學習使用,不保證資料絕對安全,作為商業用途請謹慎考慮
作者
hit-road
拜拜,下課!
hit-road不定期跟新,不見不散!