<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Index on To be foolish - xqzhang2015</title>
    <link>https://xqzhang2015.github.io/categories/index/</link>
    <description>Recent content in Index on To be foolish - xqzhang2015</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 20 Aug 2018 01:17:14 +0000</lastBuildDate>
    
	<atom:link href="https://xqzhang2015.github.io/categories/index/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Shortcodes Notice Preview</title>
      <link>https://xqzhang2015.github.io/post/shortcode-notice/</link>
      <pubDate>Mon, 20 Aug 2018 01:17:14 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/shortcode-notice/</guid>
      <description>normal use Note example: 1 2 3 {{% notice note %}} A notice disclaimer {{% /notice %}} Result: note A notice disclaimer You could custom title : 1 2 3 {{% notice note 笔记 %}} A notice disclaimer {{% /notice %}} 笔记 A notice disclaimer tip 1 2 3 {{% notice tip %}} A tip disclaimer {{% /tip %}} tip A tip disclaimer tip-1th 1 I am a</description>
    </item>
    
    <item>
      <title>Jane Theme Preview</title>
      <link>https://xqzhang2015.github.io/post/jane-theme-preview/</link>
      <pubDate>Tue, 06 Mar 2018 16:01:23 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/jane-theme-preview/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Markdown&lt;/strong&gt; is created by &lt;a href=&#34;http://daringfireball.net/&#34;&gt;Daring Fireball&lt;/a&gt;, the original guideline is &lt;a href=&#34;http://daringfireball.net/projects/markdown/syntax&#34;&gt;here&lt;/a&gt;. Its syntax, however, varies between different parsers or editors.&lt;/p&gt;

&lt;p&gt;Please note that HTML fragments in markdown source will be recognized but not parsed or rendered. Also, there may be small reformatting on the original markdown source code after saving.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Jane 主题预览</title>
      <link>https://xqzhang2015.github.io/post/jane-theme-preview/</link>
      <pubDate>Tue, 06 Mar 2018 16:01:23 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/jane-theme-preview/</guid>
      <description>主题预览,内容有待填充。</description>
    </item>
    
    <item>
      <title>Shortcodes Preview</title>
      <link>https://xqzhang2015.github.io/post/shortcodes-preview/</link>
      <pubDate>Sun, 04 Mar 2018 16:01:23 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/shortcodes-preview/</guid>
      <description>&lt;h2 id=&#34;what-a-shortcode-is&#34;&gt;What a Shortcode is&lt;/h2&gt;

&lt;p&gt;Hugo loves Markdown because of its simple content format, but there are times when Markdown falls short. Often, content authors are forced to add raw HTML (e.g., video &lt;code&gt;&amp;lt;iframes&amp;gt;&lt;/code&gt;) to Markdown content. We think this contradicts the beautiful simplicity of Markdown&amp;rsquo;s syntax.&lt;/p&gt;

&lt;p&gt;Hugo created &lt;strong&gt;shortcodes&lt;/strong&gt; to circumvent these limitations.&lt;/p&gt;

&lt;p&gt;A shortcode is a simple snippet inside a content file that Hugo will render using a predefined template. Note that shortcodes will not work in template files. If you need the type of drop-in functionality that shortcodes provide but in a template, you most likely want a [partial template][partials] instead.&lt;/p&gt;

&lt;p&gt;In addition to cleaner Markdown, shortcodes can be updated any time to reflect new classes, techniques, or standards. At the point of site generation, Hugo shortcodes will easily merge in your changes. You avoid a possibly complicated search and replace operation.&lt;/p&gt;

&lt;p&gt;More details: &lt;a href=&#34;https://gohugo.io/content-management/shortcodes/&#34;&gt;https://gohugo.io/content-management/shortcodes/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Image Preview</title>
      <link>https://xqzhang2015.github.io/post/image-preview/</link>
      <pubDate>Sat, 03 Mar 2018 16:01:23 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/image-preview/</guid>
      <description>&lt;p&gt;Thanks for &lt;a href=&#34;https://github.com/liwenyip/hugo-easy-gallery&#34;&gt;liwenyip/hugo-easy-gallery&lt;/a&gt; &amp;amp; &lt;a href=&#34;https://github.com/xianmin/hugo-theme-jane/pull/48&#34;&gt;Zebradil · Pull Request #48&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;Now, we could use &lt;code&gt;{{&amp;lt; gallery &amp;gt;}}&lt;/code&gt; shortcode in hugo-theme-jane.&lt;/p&gt;

&lt;h2 id=&#34;normal-image&#34;&gt;Normal Image&lt;/h2&gt;

&lt;p&gt;This is an image in &lt;code&gt;static/image&lt;/code&gt; folder.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;![&lt;span class=&#34;nt&#34;&gt;This is an image in `static/image` folder.&lt;/span&gt;](&lt;span class=&#34;na&#34;&gt;/image/example.jpg&lt;/span&gt;)&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;img src=&#34;https://xqzhang2015.github.io/image/example.jpg&#34; alt=&#34;This is an image in `static/image` folder.&#34; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Jane-Theme Footnote Preview</title>
      <link>https://xqzhang2015.github.io/post/doc-footnote-preview/</link>
      <pubDate>Thu, 01 Mar 2018 16:01:23 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/doc-footnote-preview/</guid>
      <description>&lt;p&gt;Hugo-theme-jane optimized for footnote. When you mouse hover the footnote&lt;sup class=&#34;footnote-ref&#34; id=&#34;fnref:example&#34;&gt;&lt;a href=&#34;#fn:example&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; , footnote content will be displayed.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>English Creating a New Theme</title>
      <link>https://xqzhang2015.github.io/post/english-preview/</link>
      <pubDate>Thu, 31 Aug 2017 15:43:48 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/english-preview/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;

&lt;p&gt;This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&amp;rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won&amp;rsquo;t cover using CSS to style your theme.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>This is a very long title This is a very long title This is a very long title This is a very long title This is a very long title</title>
      <link>https://xqzhang2015.github.io/post/this-is-a-very-long-title/</link>
      <pubDate>Wed, 30 Aug 2017 15:43:48 +0800</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/this-is-a-very-long-title/</guid>
      <description>This is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long titleThis is a very long title</description>
    </item>
    
    <item>
      <title>Creating a New Theme</title>
      <link>https://xqzhang2015.github.io/post/creating-a-new-theme/</link>
      <pubDate>Sun, 28 Sep 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/creating-a-new-theme/</guid>
      <description>Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I&amp;rsquo;ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won&amp;rsquo;t cover using CSS to style your theme.
We&amp;rsquo;ll start with creating a new site with a very basic template.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 15.动态规划</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter15_dynamic_schedule/</link>
      <pubDate>Sat, 30 Aug 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter15_dynamic_schedule/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 10.平衡搜索树-红黑树</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter10_rbtree/</link>
      <pubDate>Sun, 15 Jun 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter10_rbtree/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 9.二叉搜索树</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter09_search_tree/</link>
      <pubDate>Thu, 12 Jun 2014 10:57:12 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter09_search_tree/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 7.2.二叉树</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter07_2_binary_tree/</link>
      <pubDate>Thu, 12 Jun 2014 10:51:19 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter07_2_binary_tree/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 7.1.基本数据结构_栈、队列、链表、有根树</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter07_basic_structure/</link>
      <pubDate>Thu, 12 Jun 2014 10:30:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter07_basic_structure/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 3.分治法实例_二分查找 和求a^b</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter03_divide/</link>
      <pubDate>Thu, 05 Jun 2014 10:20:33 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter03_divide/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 2.渐近符号、递归及解法_和连续子数组的最大和、主方法/主定理求时间复杂度</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter02_analysis/</link>
      <pubDate>Thu, 05 Jun 2014 10:16:25 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter02_analysis/</guid>
      <description>Todo.</description>
    </item>
    
    <item>
      <title>MIT Algorithm - 1.算法分析: 插入排序 vs 二路归并排序</title>
      <link>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter01_sort/</link>
      <pubDate>Tue, 03 Jun 2014 17:30:06 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/algorithm/mit_algorithm_chapter01_sort/</guid>
      <description>Sort algorithm All kinds of sort algorithms. Insertion sort CLICK ME: [code] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 #include &amp;lt;iostream&amp;gt;#include &amp;lt;vector&amp;gt;#include &amp;lt;string&amp;gt; using namespace</description>
    </item>
    
    <item>
      <title>(Hu)go Template Primer</title>
      <link>https://xqzhang2015.github.io/post/goisforlovers/</link>
      <pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/goisforlovers/</guid>
      <description>Hugo uses the excellent go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates.
This document is a brief primer on using go templates.</description>
    </item>
    
    <item>
      <title>Getting Started with Hugo</title>
      <link>https://xqzhang2015.github.io/post/hugoisforlovers/</link>
      <pubDate>Wed, 02 Apr 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/hugoisforlovers/</guid>
      <description>Step 1. Install Hugo Goto hugo releases and download the appropriate version for your os and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at installing hugo
Step 2. Build the Docs Hugo has its own example site which happens to also be the documentation site you are reading right now.
Follow the following steps:
 Clone the hugo repository Go into the repo Run hugo in server mode and build the docs Open your browser to http://localhost:1313  Corresponding pseudo commands:</description>
    </item>
    
    <item>
      <title>Migrate to Hugo from Jekyll</title>
      <link>https://xqzhang2015.github.io/post/migrate-from-jekyll/</link>
      <pubDate>Mon, 10 Mar 2014 00:00:00 +0000</pubDate>
      
      <guid>https://xqzhang2015.github.io/post/migrate-from-jekyll/</guid>
      <description>Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like
1 2 3  ▾ &amp;lt;root&amp;gt;/ ▾ images/ logo.png   should become
1 2 3 4  ▾ &amp;lt;root&amp;gt;/ ▾ static/ ▾ images/ logo.png   Additionally, you&amp;rsquo;ll want any files that should reside at the root (such as CNAME) to be moved to static.</description>
    </item>
    
  </channel>
</rss>