Comments (7)
The permalink format is a general Hugo setting. You can add the following near the top of your config.toml
, and it should give you the format that you are after:
[permalinks]
post = "/:year/:month/:slug"
from hugo-blox-builder.
this is will make it easy to get disqus comments.
from hugo-blox-builder.
it works. thanks.
from hugo-blox-builder.
Hi, the permalinks works, but it seems that the setting of disqus is not correct.
For example, it the post, http://guangchuangyu.github.io/2015/12/use-emoji-font-in-r/
After setting the permalinks back to what it was, the count of sharethis was back, but the disqus comments are missing.
The url is indeed correct. I click the comment link and it go to the correct page.
I can guarantee you by the following screenshot.
from hugo-blox-builder.
this screenshot may give you some hints.
from hugo-blox-builder.
This is really a separate question now, and appears to be unrelated to the Academic theme.
The Academic theme does not directly implement any Disqus code, it uses the Hugo implementation documented at https://gohugo.io/extras/comments/ . On that page, it states you can also include disqus_identifier
, disqus_title
, and disqus_url
settings in the preamble (+++
section) of your posts/pages. Perhaps doing so will fix the new issue you reported. Otherwise, I suggest you search the Hugo Forum as many people there are using Hugo's Disqus plugin: http://discuss.gohugo.io/
Note that I do not use Disqus myself (although I hope to add it to my own website shortly).
from hugo-blox-builder.
I follow the guide in https://gohugo.io/extras/comments/ to create a disqus.html
in partial
folder, and the comments were back.
Thanks again.
from hugo-blox-builder.
Related Issues (20)
- blox-bootstrap: Bilibili videos cannot show HOT 2
- Landing-page theme basically lands to the same page , just with the user's name. How can I correct this?
- improve docs: show examples of using icons in code (markdown) HOT 3
- Support Devicon HOT 2
- missing reddit icon on Hugo Blox suggested code HOT 2
- Icon SVG is not loaded
- Add Strava to brands icon pack HOT 3
- Hugo v0.123.1 breaks sites HOT 3
- fix the docs: staticref shortcode missing? HOT 1
- fix docs: list_children missing? HOT 1
- highlight self name in authors list when importing from bibtex HOT 3
- All three map providers supported by Hugo are not available in China HOT 1
- Dark mode breaks highlighting lines in code blocks HOT 5
- Problem with deployment on GitHub Pages (Node.js 16) HOT 1
- filter will not work on hugo v0.123.7 HOT 1
- Add Google Scholar expected meta tags to publication pages HOT 2
- Add slider to gallery block HOT 1
- HUGO language HOT 1
- The latest version will cause an error when building when following the tutorial for configuration. HOT 1
- Build with Hugo, `publish.yaml` failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-blox-builder.