blob: 42c15dde0dbdae5b931706a211a6b329442211df (
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
|
# Simple Style Hugo Theme
My simple style hugo theme, based on [this webpage template](https://yanlinlin82.github.io/webpage-templates/simple-style/index.html)
Online demo of this theme: [simple-style-demo](https://yanlinlin82.github.io/simple-style-demo/)
## License
This project is licensed under [MIT, copyright (c) 2019 Linlin Yan](https://github.com/yanlinlin82/simple-style/blob/master/LICENSE), expect for the following code:
* `layout/partial/github-cornor.html` is based on source code from <http://tholman.com/github-corners/>, which is licensed under [MIT, copyright (c) 2016 Tim Holman](https://github.com/tholman/github-corners/blob/master/license.md).
## Supported Parameters
In `config.toml`
```
[params]
subtitle = "Sub title of the site"
favicon = "/<path-to-site-icon>/logo.ico"
githubUrl = "https://github.com/<your-name>/<site-proj-name>/"
referrer = "always"
author = "..."
description = "..."
keywords = "..."
googleSiteVerification = "<google-site-verification-code>"
search = "..." # baidu, google, bing, duckduckgo
dateFormat = "Mon Jan 2 15:04:05 MST 2006" # see: https://gohugo.io/functions/format/#gos-layout-string
externalLinkIcon = true
externalLinkNewWindow = true
```
|