Build Websites with Hugo: Fast Web Development with Markdown
- Length: 156 pages
- Edition: 1
- Language: English
- Publisher: Pragmatic Bookshelf
- Publication Date: 2020-05-19
- ISBN-10: 1680507265
- ISBN-13: 9781680507263
- Sales Rank: #499904 (See Top 100 Books)
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!
Build Websites with Hugo About the Pragmatic Bookshelf Table of Contents Early praise for Build Websites with Hugo Acknowledgments Preface What’s in This Book What You Need Conventions Online Resources Chapter 1: Kicking the Tires Installing Hugo Creating Your Site Building the Home Page Creating Content Using Archet ypes Building and Exploring Hugo’s Output Your Turn Wrapping Up Chapter 2: Building a Basic Theme Generating the Theme Using Content Blocks and Pa rtials Styling the Theme with CSS Your Turn Wrapping Up Chapter 3: Adding Content Sections Creating a Project Archetype Creating the List Layout Creating More Specific Layouts Adding Content to List Pages Customizing the Project List Your Turn Wrapping Up Chapter 4: Working with Data Using Site Configuration Data in Your Theme Populating Page Content Using Data in Front Matter Conditionally Displaying Data Using Local Data Files Pulling Data from Remote Source s Syndicating Content with RSS Rendering Content as JSON Your Turn Wrapping Up Chapter 5: Adding a Blog Creating the Post’s Layout Organizing Content with Taxonomies Customizing the URL for Posts Customizing Blog List Pages Adding Pagination Adding Comments to Posts Using Disqus Displaying Related Content Your Turn Wrapping Up Chapter 6: Adding Search to Your Site Creating the Document Collection Creating the Search Interface Improving the Search Your Turn Wrapping Up Chapter 7: Managing Assets with Pipes Managing Stylesheets Managing Images Bundling JavaScript Files Using Webpack and npm with Hugo Your Turn Wrapping Up Chapter 8: Deploying the Site Deploying to Netlify Deploying to Cloud Storage with Hugo Deploying to a Traditional Web Server Your Turn Wrapping Up Appendix 1: Migrating to Hugo Understanding What You Have Transferring the Content Replicating the Theme Making the Switch Wrapping Up Bibliography You May Be Interested In…
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.