30 lines
575 B
Markdown
30 lines
575 B
Markdown
|
|
# Hugo on GitHub Pages
|
|
### hugo_gh_blog
|
|
Template repo for a blog built with Hugo deployed on github-pages
|
|
|
|
### [Demo](http://spencerlyon2.github.io/hugo_gh_blog)
|
|
|
|
|
|
---
|
|
|
|
### Snippet
|
|
|
|
Quick start
|
|
* Run **`` hugo server ``** command on hugo_gh_blog folder.
|
|
|
|
```
|
|
hugo server
|
|
````
|
|
* Create new blank post.
|
|
```
|
|
hugo new posts/newblogpost.md
|
|
````
|
|
* Run **`` hugo ``** command for updating *public* folder, *public* folder is your static site.
|
|
```
|
|
hugo
|
|
````
|
|
|
|
|
|
##### [Another Tutorial](https://gohugo.io/tutorials/github-pages-blog/) by Spencer Lyon
|