${$showtoc:=eq .code "post_details"} ${if $showtoc}
  • 文章目录
  • 站点概览
${else}
${end}
jabin

${ .Config.app.author.name}

${ .Config.app.author.introduce}

${if and $showtoc}
    ${range $key,$value := .model.Doc2Html2Toc}
  • ${$value.Name}
      ${range $key2,$value2 := $value.Childs}
    • ${$value2.Name}
        ${range $keye,$value3 := $value2.Childs}
      • ${$value3.Name} ${end}
    • ${end}
  • ${end}
${end}