iloveleon19
2018-12-22T07:11:50.995Z
https://iloveleon19.github.io/
iloveleon19
Hexo
angular-ui-bootstrap 的 popover 的 outsideClick 觸發器
https://iloveleon19.github.io/2018/12/22/AUB-popover-outsideClick/
2018-12-22T05:36:36.000Z
2018-12-22T07:11:50.995Z
<p> angular-ui-bootstrap 在 1.0 版本之前是沒有 outsideClick 觸發器的</p>
<p> 所以要自己寫一個</p>
hexo 驗證 google-site-verification
https://iloveleon19.github.io/2018/09/27/google-site-verification/
2018-09-27T22:08:24.000Z
2018-12-17T16:11:50.188Z
<ol>
<li><p>先安裝 sitemap</p>
<figure class="highlight console"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span> npm install hexo-generator-feed</span><br></pre></td></tr></table></figure>
</li>
<li><p>查看根目錄下是否新增 /.deploy_git/sitemap.xml</p>
hexo 的 閱讀全文 設置
https://iloveleon19.github.io/2018/09/24/hexo-read-more/
2018-09-24T23:31:45.000Z
2018-12-17T16:11:51.516Z
<p>在文章內設置 <code><!--more--></code> 標籤即可</p>
<p>/themes/next/_config.yml 的 scroll_to_more 選項要設定為 false</p>
<p>不然點擊 <em>閱讀全文</em>
extJS 3.4:PagingToolbar 搭配 MemoryProxy
https://iloveleon19.github.io/2018/09/24/extJS-PagingToolbar/
2018-09-24T10:21:01.000Z
2018-12-17T16:11:49.536Z
<p>在使用 PagingToolbar 不論你使用哪種 Proxy 得到資料,後端的資料結構都應該是一個 JSON 格式 </p>
<p>JSON 裡面包含目前這個分頁要呈現的資料 <code>$returnResult['rows']</code> 對應到 reader 的 root </p>
<p>及全部的資料數量 <code>$returnResult['results']</code> 對應到 reader 的 totalProperty </p>
<p>讓 PagingToolbar 知道該如何分頁</p>
測試
https://iloveleon19.github.io/2018/09/18/test/
2018-09-18T22:08:09.000Z
2018-12-17T16:11:52.176Z
<h1 id="標題"><a href="#標題" class="headerlink" title="標題"></a>標題</h1><p>這是為了測試而存在的文章</p>
Hello World
https://iloveleon19.github.io/2018/09/18/hello-world/
2018-09-18T00:00:00.000Z
2018-12-17T16:11:50.860Z
<p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="noopener">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html" target="_blank" rel="noopener">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="noopener">GitHub</a>.</p>