pi-www-theme-soho/README.md

95 lines
1.8 KiB
Markdown
Raw Normal View History

2020-02-10 20:38:11 +02:00
# Lanyon
2014-04-27 01:25:13 +03:00
2020-02-10 20:38:11 +02:00
Lanyon is a minimalist brazen two-column [hugo](https://gohugo.io) theme based on [Hyde](https://github.com/spf13/hyde) and inspired by the success of [Flex](https://github.com/alexandrevicenzi/Flex).
2014-04-27 01:25:13 +03:00
2016-07-26 15:27:07 +03:00
## Installation
2020-02-10 20:38:11 +02:00
To install Lanyon as your default theme, first install this repository in the `themes/` directory:
2016-07-26 15:27:07 +03:00
$ cd themes/
2020-02-10 20:38:11 +02:00
$ git clone https://github.com/alexandrevicenzi/lanyon.git
2016-07-26 15:27:07 +03:00
2020-02-10 20:38:11 +02:00
Second, specify `lanyon` as your default theme in the `config.toml` file. Just add the line
2016-07-26 15:27:07 +03:00
2020-02-10 20:38:11 +02:00
theme = "lanyon"
2016-07-26 15:27:07 +03:00
at the top of the file.
2020-02-10 20:38:11 +02:00
## Configuration
2016-07-26 15:27:07 +03:00
2019-08-30 21:57:59 +03:00
```toml
2020-02-10 20:38:11 +02:00
baseURL = "https://example.com"
title = "Lanyon"
author = "Author Name"
languageCode = "en"
enableInlineShortcodes = true
2014-04-27 01:25:13 +03:00
2020-02-10 20:38:11 +02:00
summarylength = 10
enableEmoji = true
2019-08-30 21:58:38 +03:00
[params]
2020-02-10 20:38:11 +02:00
description = "My Blog"
## Set one of:
# gravatar = "lanyon@example.com"
profilePicture = "images/profile.png"
copyright = "Author Name"
license = "CC BY-SA 4.0"
licenseURL = "https://creativecommons.org/licenses/by-sa/4.0"
## Set custom theme color.
# themeColor = "#fc2803"
## Set custom CSS and/or JS to override site defaults.
customCss = ["css/blog.css"]
customJs = ["js/blog.js"]
## Set as many as you want.
[[params.socialIcons]]
icon = "fa-linkedin"
title = "Linkedin"
url = "#"
[[params.socialIcons]]
icon = "fa-github"
title = "GitHub"
url = "#"
[[params.socialIcons]]
icon = "fa-twitter"
title = "Twitter"
url = "#"
[menu]
[[menu.main]]
name = "Posts"
weight = 100
identifier = "posts"
url = "/posts/"
[[menu.main]]
name = "About"
identifier = "about"
weight = 300
url = "/about/"
[markup]
[markup.highlight]
codeFences = true
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true # if false, you need to provide you own custom CSS
style = "monokai"
tabWidth = 4
2019-08-30 21:58:38 +03:00
```
2014-04-27 01:25:13 +03:00
## License
2020-02-10 20:38:11 +02:00
MIT