Hugo uses the excellent go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates. This document is a brief primer on using go templates.
Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like ▾ <root>/ ▾ images/ logo.png should become ▾ <root>/ ▾ static/ ▾ images/ logo.png Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.
Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture. Save it somewhere specific as we will be using it in the next step. More complete instructions are available at installing hugo Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now. Follow the following steps: Clone the hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313 Corresponding pseudo commands:
Water Balloon Boys is an action adventure game that I have been wanting to create. It’s a game where Angry Bird meets an Action Game. The player takes control of a kid who can throw water balloons by winding his arm back, and letting the balloon fly!
Here’s a version of the game I tried to create in the past for a 48 hour video game competition.
Dear Blog, Well, I’m an engaged man now. Colleen and I have dated for 7 wonderful years, and at this point, I knew it was time I needed to propose. So here’s my story… Wednesday, April 6, 2011. I was sitting at the office, and the idea formulates in my head that I want to propose to Colleen where we first met. Spring Break! But, I have no idea where we were staying.
Dear Blog, At work, doing my thing, and I decided to look at myself a year ago and today. Well, I’m on my way to having long hair again (but probably chop it off way before I get close). I still get scruffly faced (beard-wise). I seem to be more outgoing last year vs today, but that’s OK. I’m being a programmer this year anyway. I am planting a new batch of vegetables and herbs, like last year.
Dear Blog, Setting up git (Version Control System) really did suck on Windows. It wasn’t a simple install this package, and all your problems are solved. I had major issues trying to use PuTTy, plink, and copSSH, which I believe most people use if they are using git on windows. I’m doing the cygwin approach. It’s soo much easier (to me at least). Setting up the server kind of sucks, but the client is easy.
Dear Blog, I decided that I am going to use Ansca Corona to develop a game I’m working on vs. Airplay SDK. This LUA language is soo much easier than C++. I still would love to have my games programmed in C++, but for just me, it’ll take too long to get to my final destination. So, LUA it is! Anyway, here is a quick batch file that I like to keep in my projects directory so all I have to do is drag the folder to this batch file, or type in the name of the porject I’m working on.
Dear Blog, I use Boxee, and when I download DVDs, they don’t show up as episodes on my TV Guide. Someone suggested making symbolic links… Sounds good to me. Here’s a batch file I use to generate these symbolic links (not catching me renaming 100’s of files Edit: Hmm, my sickbeard renames the files, so here is my newer method… I append each dvd with their first episode, like first dvd would now end in s01e01.
Dear Blog Tonight I was having issues muting my HD content. My normal SD conent has normal, vol up/down and mute capabilities. Unfortunately, my HD conent was always like near max blast, even if I hit mute or vol down. So what I did was turn on Auto Volume! It works now… no dolby digital sound from the TV anymore, but, I only use TV speakers anyway, so I’m not missing much.
Dear Blog, After playing some volleyball and using my phone, I realized sand + my thumb = deep scratches on my phone. Now when I use my phone, I could feel the scratches and it made me cringe… Well I decided to buy some plastic repair off ebay called Novus plastic scratch repair kit. It came in 1, 2, 3 bottles, where 1 was just a polish, 2 was a shallow scractch repair, and 3 was the heavy duty scratch repair.