Skip to content
/ only Public

A Native, Simple, Oppose Flashy theme for Hugo

License

Notifications You must be signed in to change notification settings

sols1st/only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Only

A Native, Simple, Oppose Flashy theme for Hugo

Introduction

Just a slight modification to the native theme.

Overview

Configuration

For config.toml or hugo.toml

baseURL = ''
languageCode = 'zh-CN'
title = "Solsist's Blog"
theme = "Only"

[[menus.main]]
name = 'Home'
pageRef = '/'
weight = 10

[[menus.main]]
name = 'Tags'
pageRef = '/tags'
weight = 30

[[menus.main]]
name = 'Categories'
pageRef = '/categories'
weight = 30

[[menus.main]]
name = 'Tags'
pageRef = '/tags'
weight = 30

[module]
  [module.hugoVersion]
    extended = false
    min = "0.116.0"

[taxonomies]
  tag = "tags"
  category = "categories"

[markup]
  table = true
  [markup.highlight]
    guessSyntax = true
    lineNoStart =1
    lineNos = true
    lineNumbersInTable = true
    style = "abap"
    tabWidth = 4

[params]
  bio = "知ってることだけ"
  github = "sols1st"
  email = "[email protected]"

Installation

In the directory of project and run :

git submodule add https://github.com/sols1st/only themes/only

In config.toml or hugo.toml

theme = "only"

About

A Native, Simple, Oppose Flashy theme for Hugo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published