<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] ## 1.創建項目 ``` npm install -g hexo-cli hexo init <folder> cd <folder> npm install ``` ## 2._config.yml 配置站點信息 ``` deploy: type: git repo: git@github.com:idcpj/idcpj.github.io.git branch: master ``` > [配置介紹](https://hexo.io/zh-cn/docs/configuration) ## 3.創建文件 `hexo nex [layout] <title> ` 新建一篇文章。如果沒有設置 layout 的話,默認使用 _config.yml 中的 default_layout 參數代替。如果標題包含空格的話,請使用引號括起來。 ## 4.本地查看 `hexo s` 本地查看 ## 5.生成靜態文件,并上傳到 github 的master 分支 ` hexo g -d` ### 監視文件變動 `hexo g--watch ` ## 生成秘鑰 github `ssh-keygen -t rsa -C "郵箱地址"` `~.ssh\id_rsa.pub`文件放到githhub 的sshkey中 `ssh-add ~/.ssh/id_rsa` ## 主題 > [選擇主題](https://github.com/hexojs/hexo/wiki/Themes) ` git clone <repository> themes/<theme-name>` ## 插件 1. [搜索插件](https://github.com/theme-next/hexo-generator-searchdb) ## 使用主題中的 layout 如`layout`下有`timeout.ejs`模塊 創建新的文件,聲明layout即可 ``` --- title: timeline layout: timeline date: 2019-02-13 17:26:19 --- content ``` ## 說明 1. 管理代碼 由于 <username>.github.io 項目只能使用master 展示,所以需要 用新的私密項目管理 2. 自動提交到 `<username>.github.io`項目 使用`hexo s` 處理文章內容和主題的`_config.yml` 可自動更新 3. 私密文件 `draft` 相當于私密文件 `hexo new draft "title"` 相當于創建私密文件 4.`hexo d`前 先使用`hexo g` 不然會由于沒有改動,導致上傳失敗
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看