Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Brian P. Hogan
Build Websites with Hugo
 Acknowledgments
 Preface
What’s in This Book
What You Need
Conventions
Online Resources
1. Kicking the Tires
Installing Hugo
Creating Your Site
Building the Home Page
Creating Content Using Archetypes
Building and Exploring Hugo’s Output
Your Turn
Wrapping Up
2. Building a Basic Theme
Generating the Theme
Using Content Blocks and Partials
Styling the Theme with CSS
Your Turn
Wrapping Up
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
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 Sources
Syndicating Content with RSS
Rendering Content as JSON
Your Turn
Wrapping Up
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
6. Adding Search to Your Site
Creating the Document Collection
Creating the Search Interface
Improving the Search
Your Turn
Wrapping Up
7. Managing Assets with Pipes
Managing Stylesheets
Managing Images
Bundling JavaScript Files
Using Webpack and npm with Hugo
Your Turn
Wrapping Up
8. Deploying the Site
Deploying to Netlify
Deploying to Cloud Storage with Hugo
Deploying to a Traditional Web Server
Your Turn
Wrapping Up
A1. Migrating to Hugo
Understanding What You Have
Transferring the Content
Replicating the Theme
Making the Switch
Wrapping Up
 Bibliography
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Build Websites with Hugo
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset