
I edited CSS to: 1. I added new styles (not only light and dark). 2. I edited the .toc part. Color of border around TOC should be matching style of theme. Before that it was seted to black no matter what. 3. The same story about "higlight". 4. I added shortcode to support HTML details tag. I also added draft post to show how it's working. 5. I edited baseof.html to add footer.
52 lines
1012 B
TOML
52 lines
1012 B
TOML
[[entries]]
|
|
title = "info"
|
|
|
|
[[entries.entries]]
|
|
title = "a (nearly) no-CSS, fast, minimalist Hugo theme ported from <a href='https://github.com/riggraz/no-style-please'>riggraz/no-style-please</a>."
|
|
|
|
[[entries.entries]]
|
|
title = "github repo"
|
|
url = "https://github.com/hanwenguo/hugo-theme-nostyleplease"
|
|
|
|
|
|
[[entries]]
|
|
title = "all posts"
|
|
|
|
[entries.post_list]
|
|
limit = 5
|
|
show_more = true
|
|
show_more_text = "See archive..."
|
|
show_more_url = "posts"
|
|
|
|
[[entries]]
|
|
title = "posts by category"
|
|
|
|
[entries.post_list]
|
|
section = "posts"
|
|
show_more = true
|
|
show_more_text = "See more posts..."
|
|
show_more_url = "posts"
|
|
|
|
[[entries]]
|
|
title = "rss"
|
|
url = "index.xml"
|
|
|
|
[[entries]]
|
|
title = "another list"
|
|
|
|
[[entries.entries]]
|
|
title = "with subitems"
|
|
|
|
[[entries.entries.entries]]
|
|
title = "with subsubitems"
|
|
|
|
[[entries.entries.entries]]
|
|
title = "example page"
|
|
url = "about"
|
|
|
|
[[entries]]
|
|
title = "PRO TIP"
|
|
entries = [
|
|
{ title = "to edit this menu, edit data/menu.toml file" }
|
|
]
|