Skip to content

feffes/hugo-theme-luluco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luluco

Dark theme based off the colors of luluco.

Screenshots

Home Article Phone

Features

  • Smart table of contents (will highlight and expand current section in TOC)
  • Google Analytics
  • KaTeX
  • Syntax highlighting using highlight.js

Installation

To install this theme, add it as a submodule in the themes/ directory:

$ cd themes/
$ git submodule add https://github.com/feffes/hugo-theme-luluco

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

theme = "hugo-theme-luluco"

Options

Pagination

paginate = 10

Smart TOC

[params]
    smartToc = true

Disqus

disqusShortname = "xxxxxx"

Google Analytics

[params]
    googleAnalytics = "UA-123-45"

KaTeX

[params]
    katex = true

This option enables the KaTeX auto-render extension. To render block math, use $$ ... $$. For inline math, use \\( ... \\). For more details, please refer to https://github.com/KaTeX/KaTeX/blob/v0.7.1/contrib/auto-render/auto-render.js#L73 .

Others

For other configuration variables, visit Hugo documentation.

Post Params

Featured Image displayed in index.html

+++
featuredImage = "img/foobar.jpg"
+++

Hide the post from index.html

This can be used when creating an "About me"-page.

+++
hidden = true
+++

Enable KaTeX for this post

Enable KaTeX for a specific post without enabling the global switch.

+++
katex = true
+++

License

Licensed under the MIT License. See the LICENSE file for more details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published