Hexo-theme-next: 网站标题自定义

Created on 28 Sep 2016  ·  3Comments  ·  Source: iissnan/hexo-theme-next

Expected behavior (预期行为)

网站标题只显示 作者名称, 不显示关键字,不显示description
qq20160928-2

Actual behavior (实际行为)

Steps to reproduce the behavior (重现步骤)

NexT Informations

Add the ✔ sign before an item which is affected by this behavior.

NexT Version:

  • Master
  • Latest Release
  • Old version -

NexT Scheme:

  • All schemes
  • Muse
  • Mist
  • Pisces

Other Informations (Like Browser, System, Screenshots)

All 3 comments

You can design your site title like this .
https://neveryu.github.io/guestbook/
In site config.

就是看了你的博客,在哪里进行设置啊?site config where ?

In themes\next\layout\index.swing.
You can find

{% block title %} {{ config.title }} {% endblock %}

This is default setting.

You can change it to

{ % block title % } {{ config.title }} - {{ theme.description }} { % endblock % }

or you can custom any style if you want.

Thanks for your cooperation.
@LionWY
If you has any other questions , you can write me a message on https://neveryu.github.io/guestbook/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aiplay picture aiplay  ·  4Comments

YorksonChang picture YorksonChang  ·  3Comments

ifyour picture ifyour  ·  4Comments

dev-fancyluo picture dev-fancyluo  ·  3Comments

chy9002 picture chy9002  ·  3Comments