Fix disqus comment not working on new configuration style (#451)
* Fix disqus comment not working on new configuration style Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Fix LOC badge Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
8e7e195b91
commit
32837a0938
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
[](https://app.netlify.com/sites/toha/deploys)
|
||||
[](https://actions-badge.atrox.dev/hugo-toha/toha/goto?ref=main)
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{ $disqusShortName := site.DisqusShortname }}
|
||||
{{ if site.Params.features.disqus.shortName }}
|
||||
{{ $disqusShortName = site.Params.features.disqus.shortName }}
|
||||
{{ if site.Params.features.comment.disqus.shortName }}
|
||||
{{ $disqusShortName = site.Params.features.comment.disqus.shortName }}
|
||||
{{ end }}
|
||||
|
||||
<div id="disqus_thread"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue