/vncnt-hugo

Fork of vncnt-hugo with some changes

Primary LanguageCSSMIT LicenseMIT

Fork of vncnt-hugo

This is a simple theme for hugo which can serve as a template for personal landing pages.

Changes in this fork

  • Use Simple Icons instead of font awesome
  • Use Source Sans Pro instead of Raleway
  • Simplify config
  • Add support for GoatCounter

Installation

Clone this repo into your themes directory of your hugo website:

git clone https://github.com/gamingrobot/vncnt-hugo themes/vncnt-hugo

Or even better, add this repository as a submodule of your hugo website, if you are using git for it:

git submodule add https://github.com/gamingrobot/vncnt-hugo themes/vncnt-hugo

Configuration

Copy the config.toml file of the theme into the main directory of your hugo website. You should adjust the value of baseURL as well as the parameters in the [params] section.

Params

If you set email in [params], the link to your email will appear in front of all keys set in [params.contact].

goatcounter = "your-goatcounter-site-code": Enables GoatCounter

Changing Contact Links

To add a link to a preferred service of your choice simply add a suitable key to [params.contact], e.g.

linkedin = "https://www.linkedin.com/in/jdoe"

Please note that the key must correspond to a simple icons icon. Also, regardless of the key order in your config.toml file, the links will be ordered lexicographically due to the usage of range.

However, you may specify contact links more verbosely, as documented in config.toml.

rel="me"

This theme now allows to set the rel="me" value manually. Services like Github or Mastodon make use of this. An example is given in the provided config.toml file.

Third-party Components

The spine (I'm so sorry) of this theme is made of Barebones. Both normalize.css and barebones.css are licensed unter the MIT License.

Uses simple-icons for brand icons.

Uses feather for generic icons.

The Source Sans Pro font files in static/css/fonts are licensed under the SIL Open Font License 1.1 (see static/css/fonts/OFL.txt)

Tracking

The theme supports Google Analytics using Hugo's internal templates. To enable tracking, set the googleAnalytics and (optionally) privacy configuration values.

The theme also supports GoatCounter analytics

Dark Mode

On supported browsers, this theme applies a dark mode if the user's OS itself is set to dark.

Roadmap

  • add support for blog-like content