hugo new site hugo-tutorialĬongratulations! Your new Hugo site is created in /Users/davd/Workspace/hugo-tutorial. The following command will create a new folder called hugo-tutorial which is the rootįolder for your site. Many GNU/Linux distributions also include Hugo in their package repositories, otherwise you can download This installs the Hugo binary to /usr/local/bin/hugo, which is in your $PATH so you can simply execute it by running On macOS using Homebrew, the installation is about as easy as it can get: brew install hugo No attack surface at all since everything is static, you can keep your blog and all it’s contents under version control, you don’t needĪ cookie warning since you don’t use cookies and so on and so on. The advantages are obvious: No PHP or MySQL needed (which means you can host it for free e.g. Which means you can edit your blog in any text editor with a simple syntax, add some HTML, CSS and probably even JavaScriptĪnd in the end you compile your blog with a single command that - in case of Hugo - is blazingly fast ending up with just a bunch Like most static site generators, Hugo uses Markdown files as a content format, I love it’s flexibility and it’s developer-alike approach to implementing sites. As a evidence for how awesome Hugo is you can have a look at this very site (just kidding), which isĪlso built using Hugo. I’ve used many static site generators from Jekyll to Octopress but in the end In this little series I’d like to show you how to set up a blog, or in fact any website, using Hugo,Ī static site generator written in Go.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |