Skip to content

HuangPingyang1/ryan4yin.space

 
 

Repository files navigation

Ryan4Yin's Space

Ryan4Yin's Space, built using Hugo and hosted on GitHub Pages.

Address: https://ryan4yin.space

Editing

Launch a local Hugo server including live reload by running (append -F for including future posts):

hugo server -D --debug

You can manually create content files (for example as content/<CATEGORY>/<FILE>.<FORMAT>) and provide metadata in them, however you can use the new command to do a few things for you (like add title and date):

hugo new posts/my-first-post.md

Edit the newly created file under content/posts, update the header of the post to say draft: false, you can view the live changes in the browser http://localhost:1313/

Deploy to Github Pages

Push updates to main branch will trigger a github action to deploy the updates automatically.

see .github/workflows/gh-pages.yaml for details.

TODO

  • sync posts to cnblogs(markdown & image)

Releases

No releases published

Packages

No packages published

Languages

  • HTML 69.1%
  • JavaScript 30.9%