Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and enhancements. [8] #1433

Merged
merged 2 commits into from
Feb 16, 2017
Merged

Fixes and enhancements. [8] #1433

merged 2 commits into from
Feb 16, 2017

Conversation

ivan-nginx
Copy link
Collaborator

@ivan-nginx ivan-nginx commented Feb 15, 2017

1. Fix sidebar author description for seo option in #1311.

Files modified:

  1. Fix description for seo option in Fixes and enhancements. [5] #1311. … e6ff3bf

What's this?

If seo is true main site description will be passed by config.subtitle option in main Hexo config.
But, there is duplicate of description by sidebar code (author & description).
So, we will separate main site description and author description and u may use theme.signature option for author description (signature).

How to use?

In Next theme config:

# Change headers hierarchy on site-subtitle (will be main site description) and on all post/pages titles for better SEO-optimization.
seo: true

In main Hexo config:

# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/

# Site
title: 
subtitle:
description:
author:
signature: your Author signature here...

2. Fix VK_Like error at index page in #1381.

Files modified:

  1. Fix VK.Widgets: object #vk_like not found. aa4a1fb

What's this?

Uncaught Error: VK.Widgets: object #vk_like not found. on homepage if vkontakte_api.like option is enabled.

If `seo` is true main site description will be passed by `config.subtitle` option in main Hexo config.
But, there is duplicate of description by sidebar code (author & description).
So, we will separate main site description and author description and u may use `theme.signature` option for author description (signature).
@ivan-nginx ivan-nginx changed the title Fix description for seo option in #1311. Fixes and enhancements. [8] Feb 15, 2017
@iissnan iissnan merged commit c59b2c0 into iissnan:master Feb 16, 2017
@iissnan iissnan added the Docs label Feb 16, 2017
@iissnan
Copy link
Owner

iissnan commented Feb 16, 2017

Thanks. 👍

habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 9, 2017
habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants