Skip to content

han1475/cupcake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cupcake

A lightweight theme for hugo.

Tips

  • no pagination
  • all articles are displayed on the homepage (Only one page)
  • articles with only text or few pictures is recommended

Example Site Config

baseURL = "http://example.org/"
languageCode = "en-us"
title = "site title"
theme = "cupcake"

# Highlight options.
# @See https://gohugo.io/content-management/syntax-highlighting/
PygmentsCodeFences = true # Enable syntax highlighting with GitHub flavoured code fences
PygmentsUseClasses = true # Use CSS classes to format highlighted code
PygmentsCodefencesGuessSyntax = true
PygmentsOptions = "linenos=table"

[params]
  # The date format to use; for a list of valid formats
  # @see https://gohugo.io/functions/format/
  dateFormatToUse = "2006年1月2号"

  # site motto
  motto = "example motto"

[params.social]
    a-email = "mailto:yourname@example.com"
    g-github = "https://github.com/yourname"

About

A lightweight theme for hugo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published