2分鐘搭建一個在線博客

準備條件

GitHub 帳號;git

建立項目

新建一個項目,項目名格式爲${username}.github.io, username 爲你的 github 帳號名;github

選擇主題

進入項目設置,選擇博客主題;markdown

這裏我選擇了 Cayman 主題,簡單樸素支持響應式佈局。

設置首頁

在項目根目錄建立 index.md,添加以下內容;佈局

歡迎進入個人在線博客。

在線驗證

訪問https://${username}.github.io,驗證成果;spa

附上個人博客地址:https://caojiantao.github.iocode

相關文章
相關標籤/搜索