Releases: cntrump/hugo-notepadium
Releases · cntrump/hugo-notepadium
v1.6.4
v1.6.3
v1.6.2
v1.6.1
v1.6.0
- add robots.txt
- add sitemap.xml
- support add CC License on page
Set CC License globally:
[params]
license = "This work is licensed under a Creative Commons Attribution 4.0 International License."
Or a single page:
+++
license = "This work is licensed under a Creative Commons Attribution 4.0 International License."
+++
v1.5.1
- builtin all chroma/hljs/prismjs themes
[markup.highlight]
codeFences = true
noClasses = false
[params.syntax]
use = "prismjs" # or "hljs"
theme = "dracula"
enableBuiltinFont = true
If you like chroma theme:
[markup.highlight]
codeFences = true
noClasses = false
[params.syntax]
theme = "dracula"
enableBuiltinFont = true
v1.5.0
- update style
- support custom nav item
- builtin source code pro
- support comments (powered by disqus)
[params.syntax]
enableBuiltinFont = true # use builtin font: source-code-pro
[params.nav]
showCategories = true # /categories/
showTags = true # /tags/
# custom links
[[params.nav.custom]]
title = "iOS"
url = "/tags/ios"
[[params.nav.custom]]
title = "Repo"
url = "//github.com/cntrump"
Enable comments, edit config.toml:
# disqus
disqusShortname = "XXX"
in your post header, add comments = true
:
+++
title = "..."
date = 2019-12-08
...
comments = true
+++
...
v1.4.0
- add logo and slogan settings
- add custom shortcodes for heading 1 - 6
set logo and slogan:
[params]
logo = "logo.png"
slogan = "code my life ~"
custom style heading 1 - 6 using shortcodes:
h1
{{<h1 XXXXXX>}}
h2
{{<h2 XXXXXX>}}
h3
{{<h1 XXXXXX>}}
h4
{{<h4 XXXXXX>}}
h5
{{<h5 XXXXXX>}}
h6
{{<h6 XXXXXX>}}