Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Hugo theme based on PureCSS from Yahoo with pagination, responsive images, Disqus, Google Analytics, and a social sidebar.
Purehugo is a Hugo theme based on Yahoo's PureCSS framework, repurposing the official PureCSS blog layout into a responsive blogging theme with pagination, Disqus comments, Google Analytics, and a configurable social sidebar.
Purehugo is a Hugo theme that uses the PureCSS CSS framework from Yahoo, specifically the blog layout example from purecss.io. It takes a Hugo site's content and renders it as a responsive blog with a sidebar, post pages, and listing pages. The theme is authored by Dragos Plesca (Twitter handle dragos_plesca) and is distributed on GitHub under the repository dplesca/purehugo. It includes a gulp-based mini asset pipeline for processing theme assets.
Paginate setting in the Hugo config (e.g., 10 posts per page).img-responsive lets you insert images that scale responsively, called with the image URL as argument.disqusShortname in the config file; no template edits needed.google_analytics parameter in the [params] section.twitterName, githubName, stackOverflowId, and linkedinName parameters.hideShareOptions = true in [params] to remove share buttons from single post views.hideSidebarIconText = true to display only icons in the sidebar without accompanying text.Purehugo is aimed at Hugo users who want a clean, CSS-only blog theme without pulling in a heavy front-end framework. Bloggers who appreciate Yahoo's PureCSS design language can customize the theme through the Hugo config file rather than editing templates. Developers building a personal or project blog on Hugo can use the theme's built-in integrations to add comments, analytics, and social links quickly.
The theme works as a standard Hugo theme: clone it into the themes directory, set theme = "purehugo" in your site config, and configure the sidebar and integration parameters. A demo config file in the repository shows all available options, including baseurl, languageCode, title, Paginate, disqusShortname, and the [params] block with social and analytics fields.
The theme is distributed as an open-source Hugo theme on GitHub. The repository does not mention a price or license restrictions, and it is available for cloning via git clone https://github.com/dplesca/purehugo.git.
Set disqusShortname = "your-shortname" in the site config file. The theme automatically adds the Disqus comment thread to single post pages when this value is present.
Insert the shortcode with a URL as its only argument, for example: {{% img-responsive "http://example.com/image.jpg" %}}. The theme's shortcode renders an image that scales with the viewport.
Yes. Add hideShareOptions = true to the [params] section to hide share buttons, or hideSidebarIconText = true to remove the text next to sidebar icons.
