Hugo theme Snotra
Find a file
2020-04-28 19:13:05 +02:00
archetypes First standalone version 2020-04-28 12:26:34 +02:00
data/snotra First standalone version 2020-04-28 12:26:34 +02:00
i18n First standalone version 2020-04-28 12:26:34 +02:00
layouts First standalone version 2020-04-28 12:26:34 +02:00
static Add icons for missing networks 2020-04-28 19:13:05 +02:00
CHANGELOG.md First standalone version 2020-04-28 12:26:34 +02:00
LICENSE First standalone version 2020-04-28 12:26:34 +02:00
README.md First standalone version 2020-04-28 12:26:34 +02:00
theme.toml First standalone version 2020-04-28 12:26:34 +02:00

Hugo theme : Snotra

This is a dark and classy Hugo theme.

Installation

To install Simple-site theme, you can simply clone the repository to your site's theme directory.

$ mkdir themes
$ cd themes
$ git clone https://git.vulgarisons.info/raghnarok/hugo_snotra.git snotra

Don't forget to change the theme in your config.toml file.

Configuration

Base

baseurl = "https://yourdoma.in" # The base url of your Hugo website
title = "Title"                 # The title of your website
author = "Author"               # The author of the website
language = "fr"
theme = "idunn"                 # The Hugo theme

Description

You can use some parameters to fill meta tags and bases images:

[params]
	description = "" # Description for the meta tag
	favicon = ""     # Favicon URL
	logo = ""        # Logo URL

Colors

It is possible to basicaly change some colors:

[params.colors]
	font = "black"       # General font color, default to black
	background = "white" # General background color, default to white
	main = "grey"        # Theme color, used for footer among others, default to grey
	font_above = "white" # Used for font above *main* color, default to white

Custom CSS

[params]
	custom_css = ["style.css"] # Your own css files

If you want to have some informations about you in the footer, you can set it with thoses parameters:

[params.contact]
	email = "mail@serve.ur"    # The mail of your company
	phone = "+41 22 123 45 67" # The phone number of your company
	address = "Your address"   # The address of your company

Social Networks

You can also set some of your networks accounts. Thoses options are availables:

[params.social]
	500px = ""
	codepen = ""
	facebook = ""
	flickr = ""
	github = ""
	gitlab = ""
	instagram = ""
	linkedin = ""
	mastodon = ""
	peertube = ""
	pinterest = ""
	pixelfed = ""
	tumblr = ""
	twitter = ""
	youtube = ""