Contents

Hugo | Static Site Generator

Contents

Static Site Generator


I have reviewed and tried a lot of different ways to create a personal Blog so that I can share Code, Knowledge, Pictures and do Reviews. After spending some time with Hugo it has become the framework that I have liked the most. The Theme “Hugo Future Imperfect” is also the Hugo Theme that I have liked the most.

Some of the ways I have reviewed creating a Blog require a monthly fee to host the web site for you. I am using Github to host the web site where there is no monthly cost. I like how you can add Google Analytics code to all the pages within a Hugo Site. To add Google Analytics all you have to do is edit one line within the config.toml file.

To create the content for the Blog I use Visual Studio Code to edit the files. I have been reviewing Forestry CMS to edit and create the pages.

To create the web pages Hugo is so FAST! It is the fastest file creation framework that I reviewed. Is is also very easy to use.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# To create the static web pages you just run the hugo command.

Mac-mini:hugo dalehassinger$ hugo

                    | EN  
-------------------+-----
  Pages            | 61  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     | 25  
  Processed images |  0  
  Aliases          | 16  
  Sitemaps         |  1  
  Cleaned          |  0  

# To run the Hugo Web Server and see real-time changes you are making
# to your web site you just run hugo server and open the web page
# http://localhost:1313/

Mac-mini:hugo dalehassinger$ hugo server
Building sites … 

                    | EN  
-------------------+-----
  Pages            | 61  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     | 25  
  Processed images |  0  
  Aliases          | 16  
  Sitemaps         |  1  
  Cleaned          |  0  

Built in 43 ms
Watching for changes in /Users/dalehassinger/hugo/{archetypes,content,data,layouts,static,themes}
Watching for config changes in /Users/dalehassinger/hugo/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop

One of the main items I wanted a Blog site for, is to share code I create. I could just create a Public Github repository, but that just isn’t as pleasing to the eyes as a personal Blog can be.

The first person I know that created a Hugo site is AdminWillie. I met him at the Central PA VMUG meetings and I also started attending the Blair County Little Hacks that he organizes. A great example of the vCommunity sharing ideas.


  • If you like wearing Crocs and want to get a pair like I wear, follow this link to Amazon: My Favorite Crocs
  • If you found this Blog article useful and it helped you, Buy me a coffee to start my day.