Open SepineTam opened 3 months ago
Thanks for opening this issue, maintainers will get back to you as soon as possible!
Hi Sepine,
The syntax of embedding an icon in NexT is slightly different from directly embedding in HTML. It should be fa
instead of fa-brand
. You should follow the examples set by the default tabs.
As a side note, it is recommended to use a theme config file _config.next.yml
in the root dir instead of theme/next/_config.yml
. See docs of Hexo and NexT for more details.
Thank you for your reply, but the answer is consist exist.
I change it from Github: https://github.com/sepinetam/ || fa fa-brand fa-github
to Github: https://github.com/sepinetam/ || fa fa-github
, but that is no use.
I also have tried fa fa-github
, fa fa-brand fa-github
, fa-github
, However that is no use.
try
Github: <your link> || fab fa-github
still no use with fab fa-github
still no use with
fab fa-github
This works for me. Take a look at my repo:
Which version of Hexo and NexT are you using? Maybe try fresh install the engine and theme.
Issue Checklist
Expected behavior
I hope while i change the file "themes/next/_config.yml" about menu task, i could add new tab i like. While i add a github tab, and add a link, the logo dismisses. Hope to make the logo visionable.
Actual behavior
The first page is theme's _config.yml file, i add the 124th line is github
and the second pic is fontawesome website's logo link.
and here is the looks of the demo which i made
however i change the index.html about the github place from
<a href="https://github.com/sepinetam/" rel="noopener" target="_blank"><i class="fa fa-github fa-fw"></i>Github</a>
to<a href="https://github.com/sepinetam/" rel="noopener" target="_blank"><i class="fa-brands fa-github"></i>Github</a>
it is also looks like that.Steps to reproduce the behavior
first i add the "themes/next/_config.yml" file's 124th line to
Github: https://github.com/sepinetam/ || fa-brands fa-github
and the second step i did is runand i open it, which looks like hereβ¬οΈ
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
Other Information
No response