基于webman、webman-admin、tailwindcss、原生js 開發(fā)的響應(yīng)式博客網(wǎng)站。
[√] 得益于tailwindcss,博客系統(tǒng)自適應(yīng)pc、h5,支持一鍵切換主題色(黑暗模式)
[√] 后臺(tái)功能模塊包括:文章標(biāo)簽、文章分類、文章管理、導(dǎo)航設(shè)置、系統(tǒng)配置、友情鏈接、項(xiàng)目管理等
[√] 其他功能:個(gè)人主頁、項(xiàng)目展示、友情鏈接、登錄、注冊(cè)、評(píng)論等
通過webman-admin后臺(tái)安裝本插件及官方云郵件插件
安裝說明: http://wtbis.cn/app/view/email
模板示例:
安裝blade
composer require psr/container ^1.1.1 webman/blade
博客路由請(qǐng)根據(jù)自己需求手動(dòng)添加至webman配置文件:
Route::any('/', [\plugin\pt_blog\app\controller\IndexController::class, 'index'])->name("PtBlog.index");
Route::any('/categories/{id:\d+}', [\plugin\pt_blog\app\controller\IndexController::class, 'categories'])->name("PtBlog.categories");
Route::any('/articles/{id:\d+}', [\plugin\pt_blog\app\controller\IndexController::class, 'articles'])->name("PtBlog.articles");
Route::any('/projects', [\plugin\pt_blog\app\controller\ProjectController::class, 'index'])->name("PtBlog.projects");
Route::any('/sites', [\plugin\pt_blog\app\controller\SiteController::class, 'index'])->name("PtBlog.sites");
Route::any('/me', [\plugin\pt_blog\app\controller\MeController::class, 'index'])->name("PtBlog.me");
如圖:
github授權(quán)配置 callback url選項(xiàng)示例:https://www.putyy.com/app/pt_blog/user/github (可選)
重啟webman 到這里就可以愉快的使用本系統(tǒng)了!
郵箱: putyy@qq.com (推薦)
QQ: 10945014