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 (front matter or shortcode)
- Article list
- Summarize and Readmore
- Sidebar
- Category list
- Tag cloud
- Recent Posts
- Archives
- Others
- Google Analytics
- Sitemap XML
- RSS
- Opengraph / Twitter Card
-
Put theme directory into
themesof your hugo site.- Run git command in
themesdirectory:git clone https://github.com/tosi29/inkblotty.git - Or, download and extract zip file, and put directory into
themesdirectory asinkblotty.
- Run git command in
-
Edit
config.tomlof your hugo site.
exampleSite/config.toml is for reference.
There are two ways to show a table of contents:
- Set
toc: truein the page front matter to automatically render the table of contents near the top of the article. - Insert the shortcode manually where you want the table of contents to appear:
{{< 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.