Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ scheme: Muse

# ---------------------------------------------------------------
# Sidebar Settings
# See: https://theme-next.org/docs/theme-settings/sidebar/
# See: https://theme-next.org/docs/theme-settings/sidebar
# ---------------------------------------------------------------

# Posts / Categories / Tags in sidebar.
Expand Down Expand Up @@ -290,7 +290,7 @@ chat:

# ---------------------------------------------------------------
# Post Settings
# See: https://theme-next.org/docs/theme-settings/posts/
# See: https://theme-next.org/docs/theme-settings/posts
# ---------------------------------------------------------------

# Set the text alignment in the posts.
Expand Down Expand Up @@ -597,7 +597,7 @@ calendar:

# ---------------------------------------------------------------
# Comments and Widgets
# See: https://theme-next.org/docs/third-party-services/comments-and-widgets/
# See: https://theme-next.org/docs/third-party-services/comments-and-widgets
# ---------------------------------------------------------------

# Disqus
Expand Down Expand Up @@ -682,7 +682,7 @@ gitalk:

# ---------------------------------------------------------------
# Content Sharing Services
# See: https://theme-next.org/docs/third-party-services/content-sharing-services/
# See: https://theme-next.org/docs/third-party-services/content-sharing-services
# ---------------------------------------------------------------

# Baidu Share
Expand Down Expand Up @@ -741,7 +741,7 @@ needmoreshare2:

# ---------------------------------------------------------------
# Statistics and Analytics
# See: https://theme-next.org/docs/third-party-services/statistics-and-analytics/
# See: https://theme-next.org/docs/third-party-services/statistics-and-analytics
# ---------------------------------------------------------------

# Baidu Analytics ID
Expand Down Expand Up @@ -841,7 +841,7 @@ busuanzi_count:

# ---------------------------------------------------------------
# Search Services
# See: https://theme-next.org/docs/third-party-services/search-services/
# See: https://theme-next.org/docs/third-party-services/search-services
# ---------------------------------------------------------------

# Algolia Search
Expand Down Expand Up @@ -874,7 +874,7 @@ local_search:

# ---------------------------------------------------------------
# Chat Services
# See: https://theme-next.org/docs/third-party-services/chat-services/
# See: https://theme-next.org/docs/third-party-services/chat-services
# ---------------------------------------------------------------

# Chatra Support
Expand Down Expand Up @@ -1023,7 +1023,7 @@ canvas_ribbon:
#! ---------------------------------------------------------------
#! DO NOT EDIT THE FOLLOWING SETTINGS
#! UNLESS YOU KNOW WHAT YOU ARE DOING
#! See: https://theme-next.org/docs/advanced-settings/
#! See: https://theme-next.org/docs/advanced-settings
#! ---------------------------------------------------------------

# Script Vendors. Set a CDN address for the vendor you want to customize.
Expand Down
5 changes: 3 additions & 2 deletions layout/_partials/head/head-unique.swig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
<link rel="alternate" href="{{ url_for(theme.rss) }}" title="{{ title }}" type="application/atom+xml"/>
{% endif %}

{# Canonical, good for google search engine (SEO) : https://support.google.com/webmasters/answer/139066 #}
{% if theme.canonical %}
<link rel="canonical" href="{{ config.url }}/{{ page.canonical_path.replace('index.html', '') }}"/>
{% set without_index = url.replace('index.html', '') %}
{% set without_html = without_index.replace('.html', '') %}
<link rel="canonical" href="{{ without_html }}"/>
{% endif %}

{# Exports some front-matter variables to Front-End #}
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/button.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* button.js | https://theme-next.org/docs/tag-plugins/button/
* button.js | https://theme-next.org/docs/tag-plugins/button
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/exturl.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* exturl.js | https://theme-next.org/docs/tag-plugins/exturl/
* exturl.js | https://theme-next.org/docs/tag-plugins/exturl
* Note: need to remove in NexT v7.0.0
*/

Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/full-image.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* full-image.js | https://theme-next.org/docs/tag-plugins/full-image/
* full-image.js | https://theme-next.org/docs/tag-plugins/full-image
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/group-pictures.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* group-pictures.js | https://theme-next.org/docs/tag-plugins/group-pictures/
* group-pictures.js | https://theme-next.org/docs/tag-plugins/group-pictures
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/label.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* label.js | https://theme-next.org/docs/tag-plugins/label/
* label.js | https://theme-next.org/docs/tag-plugins/label
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/mermaid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* mermaid.js | https://theme-next.org/docs/tag-plugins/mermaid/
* mermaid.js | https://theme-next.org/docs/tag-plugins/mermaid
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/note.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* note.js | https://theme-next.org/docs/tag-plugins/note/
* note.js | https://theme-next.org/docs/tag-plugins/note
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/pdf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* pdf.js | https://theme-next.org/docs/tag-plugins/pdf/
* pdf.js | https://theme-next.org/docs/tag-plugins/pdf
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/tabs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* tabs.js | https://theme-next.org/docs/tag-plugins/tabs/
* tabs.js | https://theme-next.org/docs/tag-plugins/tabs
*/

/* global hexo */
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/video.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* video.js | https://theme-next.org/docs/tag-plugins/video/
* video.js | https://theme-next.org/docs/tag-plugins/video
*/

/* global hexo */
Expand Down