Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/guangmean/Niello.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 21881c73de4908ec89a16705ef4c27db41a2248f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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](https://raw.githubusercontent.com/guangmean/Niello/master/images/theme_sc_home.png)

# Installation

In the root of your Hugo site directory run:

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

# Configuration
This is an example of site config.toml:

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

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

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

# 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. 

# Demo

A fully demo is available here:	[https://www.angularcorp.com](https://www.angularcorp.com)