Hugo+Firebase: building blog and adding new posts
This blog is built using Hugo and is hosted at Google’s servers using Firebase. See Quick Start for installation and setting up sites with Hugo.
Once the blog is built, a new post can be added by the following steps.
-
Create a new post in the blog
hugo new content/posts/name-of-the-new-post.md
-
Add content to the new post
vim content/posts/name-of-the-new-post.md
-
View the blog locally
hugo server -D
Note: to view the effect made by changing the theme’s css files, run instead
hugo server -D --noHTTPCache
-
Build static pages
hugo
-
Deploy by Firebase
firebase deploy