Build Websites With Hugo: Fast Web Development With Markdown

Brian P. Hogan

Language: English

Publisher: Pragmatic Bookshelf

Published: May 19, 2020

Description:

Database-driven sites bring complexity you might not need, but building a site by hand is too much work. Hugo is a static site generator and web development framework that creates content sites quickly without the overhead or dependencies of a dyanmic web framework. With Hugo, you use HTML templates and Markdown to build static sites you can host anywhere, letting you use the skills you already have.

Develop your own theme using standard HTML and CSS, using Hugo’s powerful templating features to organize your site’s components. Create your site’s content with HTML or Markdown and use Hugo’s content templating features to build new content quickly. Build a fully-featured blog with archive pages, tagging, and pagination, and integrate an external commenting system to provide interactivity. Use data from front-matter, site-wide configuration, and external JSON sources to add content, and generate JSON others can use. Integrate JavaScript with your site to create a search engine. Get Hugo working with Webpack so you can leverage the wider web development ecosystem, and explore ways to publish your site to various services. Finally, learn how you can move your existing content site to Hugo.

Dive in and build your next site with Hugo!

About the Author

Brian P. Hogan is a web developer, editor, and author of technical books, including "Small, Sharp Software Tools," "Exercises for Programmers," and "tmux: Productive Mouse-Free Development." When he's not working, he's hacking on code, composing music, or spending time with family and friends.