digitalcraftsman / hugo-strata-theme

Port of HTML5UP's Strata theme to Hugo
Other
143 stars 92 forks source link

where can I find "_internal/disqus.html" page #21

Closed fredia closed 8 years ago

fredia commented 8 years ago

hello,I want to use duoshuo to instead disqus,because I am in China,the disqus website can not open. so,I want to change single.html, but it doesn't work. Can you help me

digitalcraftsman commented 8 years ago

Hello @fredia,

Hugo itself is shipped with templates for common usecases, like the integration of [comments]. Such templates are prefixed with "_internal" in their path. Just replace {{ template "_internal/disqus.html" . }} inside the template with the code of Duashuo.

fredia commented 8 years ago

I've done it, thank you very much!!O(∩_∩)O~~ I built a new duoshuo.html in partials,and replaced "{{ template "_internal/disqus.html" . }}" by"{{ partial "duoshuo.html" . }}" By the way,this themes is very beautiful.Nice going! Thank you once again for your good job!

digitalcraftsman commented 8 years ago

By the way,this themes is very beautiful.Nice going!

Thank you.

Since this issue seems to be resolved I'll close this issue.

paskal commented 6 years ago

Answering the original question (which I was wondering myself): temmplate_embedded.go is source code for all _internal html pages.