How to extend a template in go?
<p>Here is the problem: There are several <code>article</code>s on each page's <code>content</code> section and I'd like to insert a <code>likebar</code> template below each article. </p>

<p>So the <code>base.tmpl</code> is like:</p>

<pre><code>&lt;html&gt;
  &lt;head&gt;    
    {{template "head.tmpl" .}}
  &lt;/head&gt;
  &lt;body&gt;    
    {{template "content.tmpl" .}}   
   &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>and in <code>article.tmpl</code> I want to have :</p>

<pre><code>    {{define "content"}}    
          &lt;div&gt;article 1 
             {{template "likebar.tmpl" .}} 
          &lt;/div&gt; 
          &lt;div&gt;article 2
             {{template "likebar.tmpl" .}} 
         &lt;/div&gt;
       ... //these divs are generated dynamically
    {{end}}
</code></pre>

<p>How can I achieve this with <code>html/template</code>? 
I have tried to insert a <code>{{template "iconbar" .}}</code> in <code>base.tmpl</code> and then nested <code>{{template "likebar.tmpl" .}}</code> inside <code>{{define  "content"</code> but it failed with:</p>

<blockquote>
  <p>Template File Error: html/template:base.tmpl:122:12: no such template
  "likebar.tmpl"</p>
</blockquote>