Based on the hugo-primer theme.
Clone to your theme directory:
$ git clone https://github.com/jachin/hydrurga.git themes/hydrurga
$ hugo server --theme=hydrurga
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"]
dateFormat
This sets the format for how the dates appear.
[params]
dateFormat = "Jan 2 2006"
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.
Issues and PRs are welcome.
MIT