raytaylorlin / hexo-theme-raytaylorism

一款Material Design风格的hexo主题
MIT License
472 stars 111 forks source link

bug #75

Closed weigq closed 7 years ago

weigq commented 7 years ago

使用搜索时,点击相关文章会跳转到这个网站 http://144.dragonparking.com/?site=yoursite.com&t=1487766082&s=789ffed2e9795165720944bb2bb39cc0

weigq commented 7 years ago

@raytaylorlin

weigq commented 7 years ago

localhost:4000/search.xml内容如下:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<search>
<entry>
<title>
<![CDATA[ test ]]>
</title>
<url>http://yoursite.com/2017/02/20/test/</url>
<content type="html">
<![CDATA[
<h1 id="a-test-of-md-language-on-hexo"><a href="#a-test-of-md-language-on-hexo" class="headerlink" title="a test of md language on hexo"></a>a test of md language on hexo</h1><hr> <h2 id="Block"><a href="#Block" class="headerlink" title="Block"></a>Block</h2><h3 id="Blockquotes"><a href="#Blockquotes" class="headerlink" title="Blockquotes"></a>Blockquotes</h3><blockquote> <p>this is a quotation</p> <blockquote> <p>this is a quotation in a quotation </p> <ol> <li>one </li> <li>second </li> </ol> </blockquote> <p>end</p> </blockquote> <h3 id="list"><a href="#list" class="headerlink" title="list"></a>list</h3><ul> <li>one</li> <li><p>two</p> <ul> <li>1. </li> <li>2. </li> </ul> </li> </ul> <h3 id="code-block"><a href="#code-block" class="headerlink" title="code block"></a>code block</h3><pre><code>this is a code block </code></pre><h2 id="section-elements"><a href="#section-elements" class="headerlink" title="section elements"></a>section elements</h2><h3 id="link"><a href="#link" class="headerlink" title="link"></a>link</h3><p>this is <a href="https://weigq.github.io" target="_blank" rel="external">my blgo</a> </p> <h3 id="underline"><a href="#underline" class="headerlink" title="underline"></a>underline</h3><ul> <li><em>underline</em><ul> <li><strong>underline</strong> </li> </ul> </li> </ul> <h3 id="code"><a href="#code" class="headerlink" title="code"></a>code</h3><p>this is an <code>inline</code> code</p> <h3 id="images"><a href="#images" class="headerlink" title="images"></a>images</h3><p>markdown默认不支持调整图片参数,可使用嵌入html修改若要使图片居中:</p> <pre><code>&lt;div align=&quot;center&quot;&gt; ````````` &lt;/div&gt; </code></pre><div align="center"><br><img src="/images/avatar.png" alt="Alt text" title="my google avatar"><br></div> <h3 id="mathjex"><a href="#mathjex" class="headerlink" title="mathjex"></a>mathjex</h3><p>$E=mc^2$<br>$$E=mc^2$$<br>$$\alpha$$</p>
]]>
</content>
<categories>
<category>hexo</category>
</categories>
<tags>
<tag>hexo</tag>
<tag>markdown</tag>
</tags>
</entry>
<entry>
<title>
<![CDATA[ Hello World ]]>
</title>
<url>http://yoursite.com/2017/02/18/hello-world/</url>
<content type="html">
<![CDATA[
<p>Welcome to <a href="https://hexo.io/" target="_blank" rel="external">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/" target="_blank" rel="external">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://h
]]>
<![CDATA[
exo.io/docs/troubleshooting.html" target="_blank" rel="external">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues" target="_blank" rel="external">GitHub</a>.</p> <h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo new <span class="string">"My New Post"</span></div></pre></td></tr></table></figure> <p>More info: <a href="https://hexo.io/docs/writing.html" target="_blank" rel="external">Writing</a></p> <h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo server</div></pre></td></tr></table></figure> <p>More info: <a href="https://hexo.io/docs/server.html" target="_blank" rel="external">Server</a></p> <h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo generate</div></pre></td></tr></table></figure> <p>More info: <a href="https://hexo.io/docs/generating.html" target="_blank" rel="external">Generating</a></p> <h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">$ hexo deploy</div></pre></td></tr></table></figure> <p>More info: <a href="https://hexo.io/docs/deployment.html" target="_blank" rel="external">Deployment</a></p>
]]>
</content>
</entry>
</search>
weigq commented 7 years ago

已解决