A simple Hugo theme
Go to file
2024-04-22 14:16:31 +02:00
archetypes Initial 2024-04-22 13:19:56 +02:00
assets Theme Update 2024-04-22 14:08:06 +02:00
content Initial 2024-04-22 13:19:56 +02:00
layouts Theme Update 2024-04-22 13:29:17 +02:00
misc Theme Update 2024-04-22 14:16:31 +02:00
static Initial 2024-04-22 13:19:56 +02:00
.gitignore Initial 2024-04-22 13:21:02 +02:00
hugo.toml Initial 2024-04-22 13:19:56 +02:00
LICENSE Initial commit 2024-04-22 13:09:55 +02:00
README.md Theme Update 2024-04-22 14:16:31 +02:00
theme.toml Initial 2024-04-22 13:19:56 +02:00

banner

Typo, a Hugo theme.

Homepage

1

Article

1

1

Installation

To receive updates, add the theme as a submodule:

git submodule add git@github.com:tomfran/typo.git themes/typo

Otherwise you can clone the repo and copy it manually to yout theme folder.

Configuration example

Here is an example configuration:

baseURL = 'https://example.org/'
languageCode = 'en-us'
disableKinds = ['taxonomy']
title = 'Title'
theme = 'Typo'

googleAnalytics = "G-XXXXXXXXX"


[params]
# Math mode
math = true

# Intro on main page, content in markdown
homeIntro = true
homeIntroTitle = 'Hi!'
homeIntroContent = """
Here is my blog, this supports markdown: 
- a
- b
- c
"""

# Collection to display on home
homeCollectionTitle = 'Posts'
homeCollection = 'posts'

# Pagination size across all website
paginationSize = 100

# Social icons
[[params.social]]
name = "linkedin"
url = "https://www.linkedin.com/in/"

[[params.social]]
name = "medium"
url = "https://medium.com/"

[[params.social]]
name = "github"
url = "https://github.com/"


# Main menu pages
[[params.menu]]
name = "home"
url = "/"

[[params.menu]]
name = "posts"
url = "/posts"

[[params.menu]]
name = "about"
url = "/about"

# Syntax highligth on code blocks
[markup]
[markup.highlight]
style = 'algol'

Tags are intentionally omitted.