Skip to content

jtreminio/hugoBasicExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hugoBasicExample

This is an example site for Hugo.

It is intended to be used in conjunction with my blog post, Setting Up a Static Site with Hugo and Push to Deploy

Using

Clone this repo:

git clone [email protected]:jtreminio/hugoBasicExample.git
cd hugoBasicExample

Clone the starter template repo:

git clone [email protected]:nanxiaobei/hugo-paper.git themes/[email protected]:nanxiaobei/hugo-paper.git

Start the Hugo server:

./bin/hugo-server

Open http://localhost:1313/

Other tools

To publish static files:

./bin/hugo-publish

Files are generated into /public

To minify CSS/HTML/JS files in /public (after publish):

./bin/minify

To run an nginx container from files in /public (after publish):

./bin/nginx

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published