Go to file
Alexandre Vicenzi c094fefa84 Hugo Basic Example 2020-02-10 19:39:06 +01:00
archetypes adding archetypes to the existing themes 2014-05-23 15:45:21 -04:00
hugoBasicExample Hugo Basic Example 2020-02-10 19:39:06 +01:00
images Lanyon update 2020-02-10 19:38:11 +01:00
layouts Lanyon update 2020-02-10 19:38:11 +01:00
static Lanyon update 2020-02-10 19:38:11 +01:00
.gitignore Lanyon update 2020-02-10 19:38:11 +01:00
Dockerfile Lanyon update 2020-02-10 19:38:11 +01:00
LICENSE.md Lanyon update 2020-02-10 19:38:11 +01:00
README.md Lanyon update 2020-02-10 19:38:11 +01:00
docker-compose.yml Lanyon update 2020-02-10 19:38:11 +01:00
go.mod Lanyon update 2020-02-10 19:38:11 +01:00
theme.toml Lanyon update 2020-02-10 19:38:11 +01:00

README.md

Lanyon

Lanyon is a minimalist brazen two-column hugo theme based on Hyde and inspired by the success of Flex.

Installation

To install Lanyon as your default theme, first install this repository in the themes/ directory:

$ cd themes/
$ git clone https://github.com/alexandrevicenzi/lanyon.git

Second, specify lanyon as your default theme in the config.toml file. Just add the line

theme = "lanyon"

at the top of the file.

Configuration

baseURL = "https://example.com"
title = "Lanyon"
author = "Author Name"
languageCode = "en"
enableInlineShortcodes = true

summarylength = 10
enableEmoji = true

[params]
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

License

MIT