Simple and clean blog theme for hugo, based on Vienna theme
Go to file
2019-04-22 20:58:41 +02:00
archetypes Removed title from default archetype 2015-02-03 17:05:07 +09:00
layouts Moved social links to top and made them disappear when cursor is outside 2017-04-18 03:20:56 +02:00
static Moved social links to top and made them disappear when cursor is outside 2017-04-18 03:20:56 +02:00
.gitignore Implemented paging 2015-07-08 00:47:04 -07:00
LICENSE.md Initial commit 2015-02-03 15:21:35 +09:00
README.md Move disqus setting under .Site.Params 2015-07-18 00:20:39 +09:00
theme.toml Changed design. Added footer ad. 2017-03-30 03:47:46 +02:00

Vienna

Overview

Vienna is a simple and clean blog theme for Hugo. Notable features are:

  • Simple and clean design
  • Client side source code highlighting
  • Social links (Twitter, Facebook, GitHub, LinkedIn, Instagram, Keybase)
  • Support for tags
  • Analytics with Google Analytics or Mixpanel
  • Responsive design
  • Font Awesome icons

Installation

In your hugo site directory, run:

$ mkdir themes
$ cd themes
$ git clone https://github.com/keichi/vienna

Vienna is also included in the spf13/hugoThemes repository.

Configuration

You may specify following options in config.toml of your site to make use of this theme's features.

baseurl = "Your site URL"
languageCode = "en-us"
title = "Your site title"
# Copyright notice. This is displayer in the footer.
copyright = "© Copyright notice"

[params]
    # Social accounts. Link to these accounts are displayed in the header and
    # footer.
    twitter = "Your Twitter username"
    github = "Your GitHub username"
    linkedin = "Your LinkedIn username"
    googleplus = "Your Google+ user id"
    facebook = "Your Facebook username"
    stackoverflow = "Your Stackoverflow user id (number)"
    keybase = "Your keybase.io username"
    instagram = "Your Instagram username"
    # Disqus shortname
    disqus = "Your disqus shortname"
    # Google Analytics API key.
    ga_api_key = "Your Google Analytics tracking id"
    # Mixpanel API key.
    mixpanel_api_key = "Your Mixpanel API key"
    author = "Your Name"
    avatar = "/path/to/avatar"
    contact = "Your contact link (ex. mailto:foo@example.com)"
    bio = "Your short bio"
    # Short subtitle/tagline. This is displayed in the header.
    subtitle = "Short subtitle/tagline of your blog"
    themecolor = "#hexcolor" # Defines the tab color in Chrome for Android.

Usage

Use hugo's -t vienna or --theme=vienna option with hugo commands. Example:

$ hugo server -t vienna -w -D