HugoHTMLBlog

hugo-bootstrap-blog — Hugo Blog Template

By ngs

A Hugo blog theme built on Hugo and Bootstrap 5.3, offering a modular sidebar, dark mode, and multilingual support under the MIT license.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

3 previews
Desktop homepage1 / 3
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 3

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-12View source

What stands out

A quick read of the recorded project description.

01

A Hugo blog theme built on Hugo and Bootstrap 5.3, with a clean, mobile-friendly interface

02

Supports automatic and manual dark mode switching

03

Built-in multilingual support for English and Japanese, with a configurable language list

04

Sidebar composed of modules, with optional search, author profile, categories, tags, archives, social links, table of contents, related posts, subscription, popular posts, and ad slots

05

Client-side search using Lunr.js, requiring no additional search service

06

MIT license, permitting use, modification, commercial use, and distribution, provided copyright and license notices are retained

Template Details

This is a Hugo theme for blogs, with its interface built using Bootstrap 5.3. The repository and README describe its positioning as a clean, responsive blog appearance with configurable sidebar modules.

In terms of features, the theme provides automatic and manual dark mode switching, built-in multilingual support for English and Japanese, client-side search based on Lunr.js, and SEO-related configuration and structured data. The sidebar is organized as modules, allowing configuration to enable modules such as a search box, author profile, categories, tag cloud, recent posts, archives, social links, table of contents, related posts, subscription form, popular posts, and ad slots, with the option to place the sidebar on the left or right.

For usage, the theme requires Hugo 0.120.0 or higher, and building SCSS and running tests require Node.js 16 or above. Installation supports Git submodules or Hugo Modules, and the repository provides an exampleSite configuration and sample content for copying. Performance scores and accessibility compliance levels listed in the README are the author's own claims and have not been independently verified in this material.

Regarding licensing, this version's code is under the MIT license, permitting use, modification, commercial use, and distribution, provided copyright and license notices are retained; third-party assets such as demo images, fonts, and icons must be checked separately under their respective licenses.

HugoHTMLBlog

Is it right for your project?

Use Cases

  • Building a personal or technical blog focused on article reading with Hugo
  • Blog sites requiring dark mode and mobile responsiveness
  • Bilingual blogs for English and Japanese readers
  • Sites wanting to combine sidebar modules (such as tag cloud, archives, related posts) through configuration

Suitable For

  • Developers using Hugo who want to apply an existing blog theme directly
  • Bloggers needing multilingual support and dark mode
  • Users who prefer the Bootstrap style system and want to adjust SCSS themselves

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    Environment requirements: Hugo 0.120.0 or higher; building SCSS and running tests require Node.js 16 or above

  2. 2

    Add the theme via git submodule add, or import it using Hugo Modules in hugo.toml

  3. 3

    Copy the hugo.toml and content directory from exampleSite as a starting point

  4. 4

    Production build process: npm install, npm run build to compile SCSS, then run hugo --minify

  5. 5

    Third-party assets such as demo images, fonts, and icons must be checked under their respective licenses and cannot be judged solely by the code's MIT license

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope applies to this version's code and does not imply that external services or third-party assets are free.

Must comply with when using

  • Permits free use, modification, commercial use, and distribution of this version's code.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Demo images, fonts, icons, and other third-party assets must be checked under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Compiled by DeepSeek based on repository license and README ·2026-10-12. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 79 / 100
Technologies
Hugo · HTML
Website type
Blog
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2025-08-28
Screenshot last checked
2026-10-12

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Hugo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Review declaration: [email protected] · 2026-10-13

Inspect the recorded source material

SHA-256: 5773ad2f54f58e82b28e54f118f995a71053a80926c0eea582861007b488906e

2026-10-12T15:52:54.444Z

Source file / repository
# Hugo Bootstrap Blog Theme

A clean, responsive Hugo theme for blogging with Bootstrap 5.3, featuring modular sidebar, dark mode, and i18n support.

![Screenshot](images/screenshot.png)

## Features

- ✨ **Clean & Modern Design** - Minimalist design focused on readability
- 📱 **Fully Responsive** - Looks great on all devices
- 🌙 **Dark Mode** - Automatic and manual dark mode switching
- 🔧 **Modular Sidebar** - Customizable sidebar with various widgets
- 🌍 **Multilingual** - Built-in support for English and Japanese
- 🔍 **Search** - Client-side search with Lunr.js
- ⚡ **Fast** - Optimized for performance (Lighthouse 95+)
- ♿ **Accessible** - WCAG 2.1 AA compliant
- 🎨 **Bootstrap 5.3** - Latest Bootstrap framework
- 📊 **SEO Optimized** - Built-in SEO features and structured data

## Demo

View the live demo: [Hugo Bootstrap Blog Demo](https://hugo-bootstrap-blog.netlify.app)

## Requirements

- Hugo 0.120.0 or later
- Node.js 16+ (for building SCSS and running tests)

## Installation

### As a Git Submodule

```bash
git submodule add https://github.com/ngs/hugo-bootstrap-blog themes/hugo-bootstrap-blog
```

### Using Hugo Modules

1. Initialize Hugo Modules in your project:

```bash
hugo mod init github.com/yourusername/your-site
```

2. Add the theme to your `hugo.toml`:

```toml
[module]
  [[module.imports]]
    path = "github.com/ngs/hugo-bootstrap-blog"
```

## Quick Start

1. Copy the example site configuration:

```bash
cp themes/hugo-bootstrap-blog/exampleSite/hugo.toml .
```

2. Copy example content (optional):

```bash
cp -r themes/hugo-bootstrap-blog/exampleSite/content .
```

3. Start the Hugo server:

```bash
hugo server
```

## Configuration

### Basic Configuration

```toml
baseURL = "https://example.com/"
languageCode = "en"
title = "My Blog"
theme = "hugo-bootstrap-blog"
paginate = 10

[params]
  description = "A modern blog built with Hugo and Bootstrap"
  darkMode = true
  enableSearch = true
  showReadingTime = true
```

### Sidebar Modules

Configure which modules appear in the sidebar:

```toml
[params]
  sidebarPosition = "right" # "left" or "right"
  sidebarModules = [
    "search",
    "profile",
    "categories",
    "tags",
    "recent",
    "archives",
    "social"
  ]
```

Available modules:
- `search` - Search box with live search functionality
- `profile` - Author profile with avatar and bio
- `categories` - Categories list with post count
- `tags` - Tag cloud with weighted sizes
- `recent` - Recent posts list
- `archives` - Monthly/yearly post archives
- `social` - Social media links
- `toc` - Table of contents (single pages only)
- `related` - Related posts (single pages only)
- `newsletter` - Newsletter subscription form
- `popular` - Popular/featured posts with thumbnails
- `advertisement` - Advertisement space placeholder

### Author Information

```toml
[params.author]
  name = "John Doe"
  bio = "Web developer and blogger"
  avatar = "/images/avatar.jpg"
  email = "[email protected]"
```

### Social Links

```toml
[params.social]
  twitter = "https://twitter.com/username"
  github = "https://github.com/username"
  linkedin = "https://linkedin.com/in/username"
  facebook = ""
  instagram = ""
  youtube = ""
```

### Advertisement Module

To enable advertisements in the sidebar:

```toml
[params.advertisement]
  enabled = true
  code = """
    <!-- Your ad code here -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-xxxxxxxxxx"
         data-ad-slot="xxxxxxxxxx"
         data-ad-format="auto"></ins>
  """
```

### Menu Configuration

```toml
[menu]
  [[menu.main]]
    name = "Home"
    url = "/"
    weight = 1
  
  [[menu.main]]
    name = "Posts"
    url = "/posts/"
    weight = 2
  
  [[menu.main]]
    name = "About"
    url = "/about/"
    weight = 3
```

## Multilingual Support

The theme supports multiple languages. Configure in `hugo.toml`:

```toml
defaultContentLanguage = "en"

[languages]
  [languages.en]
    languageName = "English"
    weight = 1
  
  [languages.ja]
    languageName = "日本語"
    weight = 2
```

## Content Structure

### Front Matter

```yaml
---
title: "Post Title"
date: 2024-01-15
description: "Post description"
categories: ["Tutorial"]
tags: ["Hugo", "Bootstrap"]
image: "/images/featured.jpg"
toc: true
author: "John Doe"
---
```

## Building for Production

1. Install dependencies:

```bash
npm install
```

2. Build SCSS:

```bash
npm run build
```

3. Build the site:

```bash
hugo --minify
```

## Development

### Build SCSS

```bash
npm run build:scss
```

### Watch SCSS

```bash
npm run watch:scss
```

### Run development server

```bash
npm run dev
```

### Generate screenshots

```bash
npm run screenshot
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## License

This theme is released under the [MIT License](LICENSE.md).

## Credits

- [Hugo](https://gohugo.io/)
- [Bootstrap](https://getbootstrap.com/)
- [Bootstrap Icons](https://icons.getbootstrap.com/)
- [Lunr.js](https://lunrjs.com/)

## Author

**Atsushi Nagase**
- Website: [https://ngs.io](https://ngs.io)
- GitHub: [@ngs](https://github.com/ngs)

## Support

If you find this theme useful, please consider:
- Starring the repository on GitHub
- Sharing it with others
- [Reporting issues](https://github.com/ngs/hugo-bootstrap-blog/issues)
- [Contributing](https://github.com/ngs/hugo-bootstrap-blog/pulls)
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.