Inkblotty is a Hugo theme based on Inkblot.
- Responsive Design
- Article
- Share Button (Facebook, Twitter, Hatena Bookmark)
- Comment form (Disqus)
- Related Posts
- Table of Contents by shortcode
- Article list
- Summarize and Readmore
- Sidebar
- Category list
- Tag cloud
- Recent Posts
- Archives
- Others
- Google Analytics
- Sitemap XML
- RSS
- Opengraph / Twitter Card
- Hugo 0.81 or newer
-
Put theme directory into
themes
of your hugo site.- Run git command in
themes
directory:git clone https://github.com/tosi29/inkblotty.git
- Or, download and extract zip file, and put directory into
themes
directory asinkblotty
.
- Run git command in
-
Edit
config.toml
of your hugo site.
exampleSite/config.toml is for reference.
This theme has shortcode to create Table of Contents.
To insert Table of Contents, write the following code in markdown.
{{< toc >}}
This is sample configuration of TOC in config.toml
[markup]
[markup.tableOfContents]
startLevel = 1
endLevel = 3
ordered = false
If you set startLevel = 2
, <h1>
tag is ignored.
Put favicon.ico
file in static
directory to set favicon.
This theme provides the feature to display title in code block.
```toml { fn="config.toml" }
title = "Inkblotty"
author = "Author"
theme = "inkblotty"
paginate = 10
...
```