Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Simple and minimal personal blog theme for Hugo with tags, categories, archives, search, dark mode, and analytics.
Harbor is a simple, minimal personal blog theme for the Hugo static site generator, providing a responsive, dark-mode-ready blog with built-in search, tags, categories, archives, and analytics integrations.
Harbor is a simple and minimal personal blog theme for the Hugo static site generator, created by matsuyoshi30. It takes Markdown content and a config.toml as input and outputs a static blog site with responsive design, dark mode, search, and archive pages. The theme is open-sourced under the MIT license and available on GitHub and the Hugo Themes gallery.
archives.md content file.search.md with the "search" layout.toc is set to true.params.social array.theme = "harbor" in config.toml, and start writing Markdown posts.params.nav and params.social arrays to define menu items and social links with Font Awesome classes.customCSS parameter to a CSS file in your static directory to restyle Harbor without forking the theme.Harbor is installed as a Hugo theme by adding its GitHub repository as a git submodule under the themes directory. Once the theme is set in config.toml, you populate content using Markdown files with optional frontmatter keys for tags, TOC, back-to-top, and comment disabling. The theme comes with an exampleSite demonstrating the full configuration.
Yes, Harbor is released under the MIT license, so it is free to use, modify, and redistribute for personal or commercial projects.
Yes, Harbor includes a built-in dark mode color scheme. The theme's page shows both light and dark screenshots, and the layout adapts automatically.
Create a file named search.md in your content directory with the frontmatter setting layout to "search" and a title like "Search". Then add a navigation item pointing to /search/ with the Font Awesome search icon.
Yes. Set your Disqus shortname in config.toml under services.disqus. To disable comments on a specific post, set disable_comments = true in that post's frontmatter.
