Skip to content

guangmean/Niello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
guangmean
Oct 29, 2019
5b18ef9 · Oct 29, 2019

History

46 Commits
Jan 7, 2019
Jan 9, 2019
Oct 29, 2019
Jun 28, 2019
Jan 7, 2019
Jun 24, 2019
Jan 14, 2019

Repository files navigation

Niello

Niello is a simple and clean dark mode Theme for "Hugo - Static Site Generator"

Features

Simple, Clean

Syntax Highlight with highlight.js

Google Adsense

Google Analytics

HTML5 Boilerplate

Dark Mode

Screenshot

Theme Screenshot

Installation

In the root of your Hugo site directory run:

git clone https://github.com/guangmean/Niello.git themes/Niello

Configuration

This is an example of site config.toml:

baseURL = "https://www.angularcorp.com/"
languageCode = "en-us"
title = "Application Deveopment"

staticDir = ["static", "themes/Niello/static"]

[params]
keywords = ""
description = ""
copyright = "© 2019 by guangmean. All Rights Reserved."
google_ad_client = "ca-pub-******"
ga = "UA-******"
sharethis = ""

[menu]
    [[menu.niello]]
    name = "Home"
    url = "/"
    weight = 1

    [[menu.niello]]
    name = "Contact"
    url = "/post/contact/"
    weight = 2
    

Google Adsense & Google Analytics

Niello support Google Adsnese code by configure the google_ad_client param in [params] block and Google Analytics code by the ga param in the site config.toml as abover.

ShareThis

Niello support share your content to other platforms by ShareThis.

Demo

A fully demo is available here: https://www.angularcorp.com