43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
|
|
{{ define "main" }}
|
|
<!-- Post Content -->
|
|
<article>
|
|
<div class="container">
|
|
<div class="row">
|
|
<!-- Post Container -->
|
|
<div class="
|
|
col-lg-8 col-lg-offset-1
|
|
col-md-8 col-md-offset-1
|
|
col-sm-12
|
|
col-xs-12
|
|
post-container">
|
|
{{ if eq (.Param "multilingual") true }}
|
|
{{ partial "multilingual-sel.html" . }}
|
|
|
|
<!-- Chinese Version -->
|
|
<div class="zh post-container">
|
|
{{$file := "/top/about-zh.md"}}
|
|
{{ $file | readFile | markdownify}}
|
|
</div>
|
|
|
|
<!-- English Version -->
|
|
<div class="en post-container">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ else }}
|
|
{{ .Content }}
|
|
{{ end }}
|
|
|
|
{{ partial "comments.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ partial "sidebar.html" . }}
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
|