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

侧边栏社交icon无法修改??? #1971

Closed
sundongxu opened this issue Oct 27, 2017 · 4 comments
Closed

侧边栏社交icon无法修改??? #1971

sundongxu opened this issue Oct 27, 2017 · 4 comments
Labels

Comments

@sundongxu
Copy link

@iissnan #求解答一下问题~

在主题配置文件中相关字段配置如下:
social:
GitHub: https://github.com/sundongxu
ZhiHu: https://www.zhihu.com/people/sun-dong-xu-6/activities
Weibo: ...
Twitter: ...

social_icons:
enable: true
GitHub: github
Zhihu: graduation-cap
Twitter: github
Weibo: weibo

效果如下:

2017-10-27 4 29 11

想要指定知乎和微博的icon失败,似乎就是显示的是默认icon。
Github、Twitter这种在social字段下本已经有定义的似乎就是会显示指定icon,在social_icons中修改icon也失败。

@ivan-nginx
Copy link
Collaborator

ivan-nginx commented Oct 27, 2017

See release notes please.
Or #1830 pull.

@sundongxu
Copy link
Author

sundongxu commented Oct 27, 2017

Problem solved...
It's because the default icon of each item has been appiled under the "social attribute"...
Just like this:
social:
GitHub: https://github.com/sundongxu || github
ZhiHu: https://www.zhihu.com/people/sun-dong-xu-6/activities (lack of "||")
Weibo: ... (lack of "||")
Twitter: ... || twitter

and once these default icons have been set here, the icon setting under the "social-icons" attribute is no longer valid...

So the best way for applying a different icon for item is to do like the way showing above.

Thks.

@NaraLuwan
Copy link

Upstairs, the same problem has been solved.

@ivan-nginx
Copy link
Collaborator

NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).

There is instructions on English or Chinese how to update from v5.1.x to v 6.x

You also may read this for details.

Repository owner locked and limited conversation to collaborators Dec 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants