Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 889 Bytes

Video 5 - 使用 Github Pages 功能將你的作品集公開於在網路上 .md

File metadata and controls

25 lines (16 loc) · 889 Bytes

Video 5 - 挑戰 8 - 使用 Github Pages 功能將你的作品集公開於在網路上

筆記位置 https://codingluka.com/use-github-show-static-pages/

Demo 範例 https://codingluka.com/demo-implemented-scrolling-trigger-the-css-animation/ https://codingluka.com/use-wowjs-to-quickly-create-scrolling-animation/ https://codingluka.com/landing-page-implements-a/

使用 Github 展示靜態網頁

這篇很簡短,但還是筆記一下怎麼用,因為網路上找的資料有點繁雜。

github的gh-pages分支可以用來展示靜態網頁,推上去就可以正確展示了。

  1. 建立新的branchgit branch gh-pages
  2. 推上githubgit push origin gh-pages
  3. 需要注意的是首頁要命名為index.html
  4. [github name].github.io/[repository name]網址查看,你的網頁已經展示在這個網址。

以我們的範例

codingluka.github.io/hello_git