Hugo Theme Bootstrap4 Blog screenshot

Hugo Theme Bootstrap4 Blog

Author Avatar Theme by Alanorth
Updated: 14 Apr 2025
207 Stars

A blogging-centric Bootstrap v4 theme for the Hugo static site generator.

Categories

Overview

Hugo Bootstrap v4 Blog is a simple but opinionated Hugo theme designed for blog-style content. It is based on the older two-column Bootstrap blog example that has been retired in favor of a new example in version 4.0.0’s final release. The theme offers responsive design, excellent structured data support, multi-lingual content support, and integration with Google Analytics and Disqus comments.

Features

  • Responsive design: The theme is designed to look good and load quickly on all platforms.
  • Structured data support: It provides excellent support for JSON-LD, OpenGraph, and Twitter Card metadata.
  • Robots.txt and XML sitemap: The theme includes a robots.txt file linking to an XML sitemap for search engine optimization.
  • Multi-lingual support: It has basic support for multi-lingual content and user interface translation, including RTL languages.
  • Site verification: The theme supports Google, Bing, and Yandex site verification via meta tags.
  • GDPR-compliant Google Analytics: The theme includes GDPR-compliant Google Analytics integration with a configurable consent banner.
  • Disqus comments: It supports Disqus comments for easy integration of commenting functionality.
  • Customizability: Users can add custom <head> code and configure the display of content summaries and keywords.

Installation

To install Hugo Bootstrap v4 Blog, follow these steps:

  1. Clone the repository to your site’s themes directory.
  2. Refer to the exampleSite/config.toml file for recommended configuration values.
  3. Make sure to keep your blog posts in the content/posts directory, static pages in the content directory, and media like images in the static directory.
  4. If you want to specify an image to be shown when sharing a post on social media, add the image path to the post’s front matter.
  5. Control the amount of content shown on summary pages using the \

tag in posts. 6. Customize the theme by modifying the configuration values in the site’s config.toml file. 7. For developers, if you want to modify the Bootstrap framework or assets, make sure to have Node.js >= v14 installed and rebuild the assets by running the appropriate commands.

Summary

Hugo Bootstrap v4 Blog is a Hugo theme specifically designed for blog-style content. It offers a range of features including responsive design, structured data support, multi-lingual capabilities, and integration with popular tools like Google Analytics and Disqus comments. The theme is easy to install and customize, making it a great choice for bloggers looking for a simple yet powerful theme for their Hugo site.