Build Websites with Hugo: Fast Web Development with Markdown
by: Brian P. Hogan
Print Length 页数: 140 pages
ISBN-10: 1680507265
ISBN-13: 9781680507263
05 x 0.84 x 23.5 cm
Publisher finelybook 出版社: O′Reilly (26 May 2020)
Language 语言: English
Book Description
By finelybook
Rediscover how fun web development can be with Hugo,the static site generator and web framework that lets you build content sites quickly using the skills you already have. Design layouts with HTML and share common components across pages. Create Markdown templates that let you create new content quickly. Consume and generate JSON,enhance layouts with logic,and generate a site that works on any platform with no runtime dependencies or database. Hugo gives you everything you need to build your next content site and have fun doing it.
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!