git

My personal website source code
Log | Files | Refs | Submodules | README | LICENSE

single.html (622B)


      1 {{ define "main" }}
      2 
      3 <div class="post-meta min-textbox">
      4 	<div>
      5 		<h1 class="post-title">{{ .Title }}</h1>
      6 		<span class="post-date">
      7 			{{ .Date.Format "2006-01-02" }}
      8 		</span>
      9 	</div>
     10 	<div class="post-description">
     11 		{{ if .Params.description }}
     12 			{{ .Description | markdownify }}
     13 		{{ end }}
     14 	</div>
     15 	{{ if .Params.tags }}
     16 	  <span class="post-tags xx-sm">
     17 		{{ range .Params.tags }}
     18 		#<a href="{{ (urlize (printf "tags/%s/" . )) | absLangURL }}">
     19 		  {{- . -}}
     20 		</a>&nbsp;
     21 		{{ end }}
     22 	  </span>
     23 	{{ end }}
     24 	<hr class="solid">
     25 </div>
     26 <article class="post-content min-textbox">
     27 {{ .Content }}
     28 </article>
     29 {{ end }}