blob: 79ac53861695ee9df3c3c616f96fe2f26099d17d (
plain)
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
|
{{ 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 }}
|