You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Wilfried OLLIVIER f5391008e6 Bootstrap \o/ 1 year ago
archetypes Bootstrap \o/ 1 year ago
data/beautifulhugo Bootstrap \o/ 1 year ago
exampleSite Bootstrap \o/ 1 year ago
i18n Bootstrap \o/ 1 year ago
images Bootstrap \o/ 1 year ago
layouts Bootstrap \o/ 1 year ago
static Bootstrap \o/ 1 year ago
.gitattributes Bootstrap \o/ 1 year ago
.gitignore Bootstrap \o/ 1 year ago
LICENSE Bootstrap \o/ 1 year ago Bootstrap \o/ 1 year ago
beautifulhugo Bootstrap \o/ 1 year ago
theme.toml Bootstrap \o/ 1 year ago

Beautiful Hugo - A port of Beautiful Jekyll Theme

Beautiful Hugo Theme Screenshot


$ mkdir themes
$ cd themes
$ git clone beautifulhugo

See the Hugo documentation for more information.

Extra Features


This theme is designed to look great on both large-screen and small-screen (mobile) devices.

Syntax highlighting

This theme has support for both server side and client side highlighting.

Server side syntax highlighting

Use the highlight shortcode (with Pygments), see the Hugo documentation for more information.

To use this feature install Pygments (pip install Pygments) and add pygmentsuseclasses = true to your config.toml.

Client side syntax highlighting

Use triple backticks ( ``` ) or triple tilde ( ~~~ ) around code blocks.

Client side highlighting does not require pygments to be installed.

Disqus support

To use this feature, uncomment and fill out the disqusShortname parameter in config.toml.

Google Analytics

To add Google Analytics, simply sign up to Google Analytics to obtain your Google Tracking ID, and add this tracking ID to the googleAnalytics parameter in config.toml.

Commit SHA on the footer

If the source of your site is in a Git repo, the SHA corresponding to the commit the site is built from can be shown on the footer. To do so, two environment variables have to be set (GIT_COMMIT_SHA and GIT_COMMIT_SHA_SHORT) and parameter commit has to be defined in the config file:

  commit = "<username>/<siterepo>/tree/"

This can be achieved by running the next command prior to calling Hugo:

  GIT_COMMIT_SHA=`git rev-parse --verify HEAD` GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`

See at xor-gate/ an example of how to add it to a continuous integration system.


This is a port of the Jekyll theme Beautiful Jekyll by Dean Attali. It supports most of the features of the original theme.


MIT Licensed, see LICENSE.