Skip to content

Releases: cntrump/hugo-notepadium

v1.6.4

23 Dec 11:41
cca1260
Compare
Choose a tag to compare
  • Update summary text color
  • Display article labels on bottom

v1.6.3

21 Dec 02:18
5f95c89
Compare
Choose a tag to compare
  • Update article text color
  • Support text align justify on per page

Default is false, enable text align justify:

+++
justify = true
+++

v1.6.2

20 Dec 13:00
1b2d4c5
Compare
Choose a tag to compare
  • improve table style
  • improve tag style
  • improve license style
  • improve article background
  • improve heading style

v1.6.1

19 Dec 08:42
63167f7
Compare
Choose a tag to compare
  • improve linenos support

You can enable linenos on config.toml:

[markup.highlight]
codeFences = true
noClasses = false
linenos = true
lineNumbersInTable = true
linenostart = 1

v1.6.0

16 Dec 01:42
9bee086
Compare
Choose a tag to compare
  • 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

12 Dec 01:20
a99b9de
Compare
Choose a tag to compare
  • 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

09 Dec 12:25
c8687ab
Compare
Choose a tag to compare
  • 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:

add disqus short name

# disqus
disqusShortname = "XXX"

in your post header, add comments = true:

+++
title = "..."
date = 2019-12-08
...
comments = true
+++

...

v1.4.0

06 Dec 14:15
a8a647d
Compare
Choose a tag to compare
  • 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>}}

v1.3.0

04 Dec 09:12
fa40841
Compare
Choose a tag to compare
  • support custom nav items
[params.nav]
  showCategories = true       # /categories/
  showTags = true             # /tags/
  customs = ["album","about"]  # /album/; /about/

v1.2.1

02 Dec 06:08
d09c8de
Compare
Choose a tag to compare
  • minify builtin resources (*.css; *.js)