Skip to content

Fixes and enhancements. [7]#1381

Merged
iissnan merged 24 commits intoiissnan:masterfrom
ivan-nginx:master
Feb 7, 2017
Merged

Fixes and enhancements. [7]#1381
iissnan merged 24 commits intoiissnan:masterfrom
ivan-nginx:master

Conversation

@ivan-nginx
Copy link
Copy Markdown
Collaborator

@ivan-nginx ivan-nginx commented Jan 17, 2017

1. Add VKontakte API support.

Files modified:

  1. ADD: VK API support. (1) 7db5774
  2. ADD: VK API support. (2) 9e79f14
  3. ADD: VK API support. (3) def4dc2
  4. ADD: VK API support. (4) bb89ece
  5. ADD: VK API support. (5) 1b8a517
  6. ADD: VK API support. (6) c82924e

What's this?

This for support vk.com api, like facebook sdk.
For now u can:

  1. Likes on posts.
  2. Comments.

How to use?

# VKontakte API Support.
# To get your AppID visit https://vk.com/editapp?act=create
 vkontakte_api:
   enable: false
   app_id:       #<app_id>
   like:         true
   comments:     true
   num_of_posts: 10

2. Moved social buttons from top post-meta to footer.

Files modified:

  1. FIX: move fb & vk like buttons from top to footer. ce361f4
  2. FIX: refatcor buttons style alignment. (2) fb1f5c2
  3. FIX: for better like buttons style. (3) 66fad6d
  4. FIX: add fb_like div for better alignment. (4) 5128978
  5. FIX: refactor social alignment style. (5) dfea208
  6. FIX: refactor social alignment style. (6) 1e10b2c
  7. FIX: refactor social alignment style. (7) 7f7b248
  8. FIX: disable social-like div on index page . (8) 1fb1716
  9. FIX: social buttons vertical align. (9) c56b267

Why this need?

It's better when user read article and click like at the end of reading if this article liked him.
Also, on mobile devices that's look better.

How it looks?

image


3. Add hexo-wordcount plugin support.

Files modified:

  1. ADD: hexo-wordcount plugin support. (1) 788e795
  2. ADD: hexo-wordcount plugin support. (2) 9707b07
  3. ADD: hexo-wordcount plugin support. (3) 1eb5ff8
  4. ADD: hexo-wordcount plugin support. (4) 4965910
  5. ADD: hexo-wordcount plugin support. (5) 614b8ea

What's this?

This option will add words count and/or time to reading info below post meta of article on all your posts.

How to use?

  1. Firstly, need to install hexo-wordcount plugin: https://github.com/willin/hexo-wordcount.
  2. Change options in _config.yml of theme:
# Post wordcount display settings
# Dependies: https://github.com/willin/hexo-wordcount
post_wordcount:
  item_text: true
  wordcount: false
  min2read: false

How it looks?

image

Of course, u can always see live demo.


4. Add Yandex verification option.

Files modified:

  1. ADD: Yandex verification option. (1) 39521c7
  2. ADD: Yandex verification option. (2) 9992dd7

What's this?

This for support Yandex verification with meta-tag , like «Google Webmaster tools verification setting».

How to use?

# Yandex Webmaster tools verification setting
# See: https://webmaster.yandex.ru/
#yandex_site_verification:

@iissnan iissnan merged commit e4e5b9c into iissnan:master Feb 7, 2017
@iissnan
Copy link
Copy Markdown
Owner

iissnan commented Feb 7, 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