leafy's blog

Tags · 博客构建

Home

About

Archives

loading..
博客构建

如何在网页中添加自己的图标

  因为在制作自己的个人主页的时候遇到了Hexo主题没有提供对应图标的问题,就查看了一下Hexo主题是如何添加图标的。发现主要的方法是直接修改fonts文件夹下的iconfont.svg文件。修改yilia theme下的font文件,这个也刚好是同学blog使用的主题,学习了一下这个主题,明白了这类图标是通过字体库的形式导入的。   但我使用的Claudia-theme并没有类似的source-src文件夹,因此需要找到这些图标是如何导入的。分析widget-sns.pug文件,发现他通过i.iconfont.icon-xxxx导入。自然的,我们可以去对应文件中寻找iconfont是如何被定义的。   在对应的scss文件中寻找到了结果,ic..

Read more
博客构建

Test Bug

Here is TitleAnd Here is sub title# want to and some code here print("Hello Python") To-do List work play

Read more
博客构建

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post$ hexo new "My New Post" More info: Writing Run server$ hexo server More info: Server Generate static files$ hexo generate ..

Read more