<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 路由 路由存儲了網站中所用到的所有路徑。 ## 獲取路徑 `get` 方法會傳回一個 [Stream](http://nodejs.org/api/stream.html),例如把該路徑的資料存儲到某個指定位置。 ``` var'index.html' var'somewhere' data.pipe(dest); ``` ## 設置路徑 您可以在 `set` 方法中使用字符串、[Buffer](http://nodejs.org/api/buffer.html) 或函數,如下: ``` // String hexo.route.set('index.html''index' // Buffer hexo.route.set('index.html'new'index' // Function (Promise) hexo.route.set('index.html'function{ returnnewPromisefunctionresolve, reject{ resolve('index' });});// Function (Callback) hexo.route.set('index.html'functioncallback{ callback(null'index' }); ``` 您還可以設置該路徑是否更新,這樣在生成文件時便能忽略未更動的文件,加快生成時間。 ``` hexo.route.set('index.html' data: 'index' modified: false });// hexo.route.isModified('index.html') => false ``` ## 移除路徑 ``` hexo.route.remove('index.html' ``` ## 獲得路由表 ``` hexo.route.list(); ``` ## 格式化路徑 `format` 方法可將字符串轉為合法的路徑。 ``` hexo.route.format('archives/' // archives/index.html ```
                  <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>

                              哎呀哎呀视频在线观看