Skip to content
master
Switch branches/tags
Code
This branch is 15 commits ahead, 53 commits behind qqhann:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Hydrurga

A Hugo Theme

Based on the hugo-primer theme.

Installation

Clone to your theme directory:

$ git clone https://github.com/jachin/hydrurga.git themes/hydrurga

$ hugo server --theme=hydrurga

Usage

config.toml

You can configure Hydrurga behavior with these params in your blog's config.toml. Shown are defaults and most recommended configs.

That being said, below is all recommended configurations.

# config.toml

baseURL = "https://your_web_site"
title = "Your Blog"
theme = "hugo-primer"
summaryLength = 70
# Code pen
pygmentsCodeFences = true
pygmentsUseClasses = true
googleAnalytics = "<Your Tracking Code>"

[frontmatter]
# update sitemap.xml's lastmod datetime by file change time, instead of git.
lastmod = ["lastmod", ":fileModTime", ":default"]

[params]
description = "Describe what your web page is about"
twitter = "your_twitter_id"
# You can use favicon by adding them manually.
useIcon = true
useTwitterCard = true

shareTo = ["Twitter", "Hatena", "Facebook", "Pocket"]

Some config variables you could set.

dateFormat

This sets the format for how the dates appear.

[params]
  dateFormat = "Jan 2 2006"

Favicons

Put your favicons in your site's static\favicon directory and name appropriately.

  • favicon/favicon.ico
  • favicon/favicon-032.png
  • favicon/favicon-057.png
  • favicon/favicon-072.png
  • favicon/favicon-120.png
  • favicon/favicon-128.png
  • favicon/favicon-144.png
  • favicon/favicon-152.png
  • favicon/favicon-195.png
  • favicon/favicon-228.png

Yes, the world of favicons seems more complicated than it needs to be, but lets try and be accommodating.

Contributing

Issues and PRs are welcome.

License

MIT

About

Hugo theme based on GitHub's Primer CSS

Resources

License

Packages

No packages published