Skip to content

Fixes and enhancements. [8]#1433

Merged
iissnan merged 2 commits intoiissnan:masterfrom
ivan-nginx:master
Feb 16, 2017
Merged

Fixes and enhancements. [8]#1433
iissnan merged 2 commits intoiissnan:masterfrom
ivan-nginx:master

Conversation

@ivan-nginx
Copy link
Copy Markdown
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
Copy Markdown
Owner

iissnan commented Feb 16, 2017

Thanks. 👍

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