Comments (19)
out of the quote
And with httpS.
U are welcome.
from hexo-theme-next.
So, what version of NexT u use? Try to reproduce in clean v.6.0.0 without any 3rd-party plugins.
# Disqus
disqus:
enable: true
shortname: theme-next-test
count: true
from hexo-theme-next.
Tried several things with information from other issues: from #792
/themes/next/layout/_third-party/comments/disqus.swig
- add 'https://'
before: this.page.url = ’{{ page.permalink }}';
after: this.page.url = 'https://' + ’{{ page.permalink }}'; - remove this.page.url = ’{{ page.permalink }}';
not working
from hexo-theme-next.
HTTPS there is no problem, because disqus must work in localhost. There is screenshot from localhost, above.
Try to check disqus account. Mb some settings there is wrong or something like that.
from hexo-theme-next.
Thank you ivan-nginx.
I am not sure how to get the version information of NexT there?
from hexo-theme-next.
https://qifengzhou.github.io - see in the bottom — u use v5.1.4
There is instructions on English or Chinese how to update from v5.1.x to v 6.0.x
from hexo-theme-next.
NexT version updated to v 6.0.x
-config.yml updated as above
Disqus
disqus:
enable: true
shortname: qifengzhou
count: true
Disqus is still not working.
from hexo-theme-next.
Please, check your admin disqus dashboard. Is there any comment?
Also, check general settings of your site. What pathes do u set there?
from hexo-theme-next.
from hexo-theme-next.
Well, u need to set up «Website URL» to https://qifengzhou.github.io
.
from hexo-theme-next.
the website URL is set at the general setting of disqus site
still not working.
from hexo-theme-next.
Try to:
- Change
url
in main Hexo config:# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: https://qifengzhou.github.io
- Regenerate/redeploy site (hexo clean && hexo g && hexo d).
from hexo-theme-next.
hexo clean
hexo g
hexo d
Still dont see disqus.
from hexo-theme-next.
@qifengzhou can u show your full Hexo root _config.yml
?
from hexo-theme-next.
Hexo root _config.yml
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Qifeng Zhou
subtitle:
description: My thought and stuff
author: Qifeng Zhou
language: en
timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: ‘http://qifengzhou.github.io'
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 10
order_by: -date
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: next-reloaded
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: https://github.com/qifengzhou/qifengzhou.github.io.git
branch: master
from hexo-theme-next.
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: ‘http://qifengzhou.github.io'
See instructions above.
from hexo-theme-next.
Should I put the contents in the hexo root _config.yml?
I didnt get it here.
from hexo-theme-next.
@qifengzhou i repeat:
See instructions above.
from hexo-theme-next.
I see..
The url should be out of the quote.
Now it works.
Thank you @ivan-nginx
from hexo-theme-next.
Related Issues (20)
- 无法设置自动折叠帖子 HOT 5
- click tags btn but get 404 page HOT 1
- Archive page cannot be rendered and displayed normally. HOT 1
- NexT note with customize link color HOT 1
- 如何添加博客分享功能? HOT 2
- <tr> tag with class="header" displayed incorrectly HOT 1
- 如何更换自定义字体 HOT 1
- ~/source/_data/footer.swig can't work as well HOT 1
- 能不能在主题中增加一个按标签进行分类,在搜索框前面增加选择标签的下拉框,进而实现分类搜索的功能?? HOT 1
- 移动端国内访问博客只显示框架,不显示文字 HOT 2
- 使用utteranc作为评论系统, 点击github注册按钮后, 总是返回到http://example.com/... 然后页面找不到 HOT 1
- 自定义:添加代码块折叠
- 空格宽度不一样 HOT 2
- 能否支持配置备案跳转地址 HOT 1
- Gitter集成问题 HOT 1
- insert a inline image in text, but the image and text are not aligned horizontally HOT 1
- next 主题如何设置首页为Archives HOT 1
- 有中文说明的config.yml吗? HOT 1
- 将官网链接替换为 theme-next.js.org HOT 2
- 關於中文段首空格與豎排的支持諮詢。 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 hexo-theme-next.