Commit graph

6 commits

Author SHA1 Message Date
Vimux
fc5680d3df
Fix .Site.IsServer error in Hugo >= 0.132.0 [2] (#97)
The second part of the fix, fixes the comments.html. The `.Site.IsServer` no longer works since Hugo v0.132.0. Use `hugo.IsServer` since Hugo v0.120.0.

Related 8b4c646cb0
See #94
2024-08-19 09:38:09 -04:00
Vimux
2558f6bbde
Fix deprecated config params (GA, Disqus) (#89)
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
4ddcf52ccc
2023-12-09 14:04:44 -05:00
vimux
4cece3cf46
Fix comments condition
Don't show Disqus comments in Hugo local webserver
2018-06-18 21:48:14 +03:00
vimux
b099c5e941
Use .Param for TOC and comments
Enable/disable "TOC" and "comments" partials for all site or specific posts.
See: https://gohugo.io/functions/param/
2018-05-27 00:02:06 +03:00
vimux
fa13a9b9e2 Unify name convention for config params (camelCase)
* disable_comments -> comments
* dateformat -> dateFormat
* CardsColumns -> cardsPerRow
2018-04-25 21:51:50 +03:00
vimux
aff7c3515f Add internal comments (Disqus) partial 2018-02-23 16:01:12 +03:00