Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimal text-focused Hugo theme for personal portfolios with dark mode, RSS, and GoatCounter analytics.

A customizable Jekyll portfolio theme with about, portfolio, and tools sections, easily configured via _config.yml.
Lekh is a minimal, text-focused Hugo theme for building a personal portfolio site with Markdown posts, RSS, dark mode, and GoatCounter analytics.
Lekh is a static-site theme for Hugo, a Go-based static site generator. It produces a text-focused personal portfolio with a front page listing recent posts, an About section, and links to social profiles. The theme takes Markdown content as input (written as Hugo content files) and outputs a fully static HTML site that can be deployed to any web host. It is based on https://github.com/vegarsti/vegarsti.github.io and was created by the maintainer of the invinciblycool/lekh repository on GitHub.
hugo new posts/title-of-post.md, then build and deploy the static site.The setup follows Hugo's standard workflow. First install Hugo, then create a new site with hugo new site. Add Lekh as a theme using git submodule add https://github.com/ba11b0y/lekh.git themes/lekh. Copy the example config to root, customize it, and write posts. Running hugo server -D shows drafts locally; hugo server shows only published posts.
Yes, Lekh is an open-source Hugo theme hosted on GitHub. You can use it for personal or commercial projects without charge.
Yes, dark mode is included, based on the stylesheet from gwern.net. The theme switches between light and dark based on user preference or a setting in the config.
Lekh integrates GoatCounter, a privacy-friendly web analytics service. You add your GoatCounter code in the config file, and the theme includes the tracking snippet automatically.
Yes, the front page displays your About text and a list of recent posts. Use the PostLimit setting to control how many posts appear there.
Because the output is static HTML, you can deploy it to any static hosting service, such as Netlify, GitHub Pages, or a web server. The Live Demo is hosted on Netlify.
