美文网首页
Hexo 技巧

Hexo 技巧

作者: lwwlsky | 来源:发表于2016-07-06 10:19 被阅读40次

    输入http://localhots:5000/ 界面一直转圈 无反应

    表明4000端口被占用,使用:
    $ hexo sever -p 5000修改端口


    在文章中加入目录


    设置图标

    <i class="<%- theme.menu[i] %>"></i>
    这个显示的是
    <i class="archives"></i>

    正确显示

    ` < for (var i in theme.menu) { >
    <a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>">

                     <i class="<%- theme.meuse[i] %>"></i>
                   <%= i %></a>
                <% } %> `
    

    <i class="<%- theme.meuse[i] %>"></i>
    `


    meuse: Home: fa fa-home Archives: fa fa-lightbulb-o Categories: fa fa-sort-alpha-asc Tags: fa fa-tag About: fa fa-envira

    语法对 可能前面的格式写错了
    config.yml复制成功的 可能licon:要顶格写

    • Lucene 全站搜索

    相关文章

      网友评论

          本文标题:Hexo 技巧

          本文链接:https://www.haomeiwen.com/subject/cqywdttx.html