File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ < article >
2+ < div class ="post-title "> < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a > </ div >
3+ < div >
4+ {{- inner . -}}
5+ </ div >
6+ </ article >
Original file line number Diff line number Diff line change 22
33< div class ="post-list ">
44 {{ range $posts }}
5- < article >
6- < div class ="post-title "> < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a > </ div >
7- < div >
8- {{ partial "posts/meta.html" . }}
9- {{ partial "posts/summary.html" . }}
10- </ div >
11- </ article >
5+ {{ with partial "_decorators/post.html" . }}
6+ {{ partial "posts/meta.html" . }}
7+ {{ partial "posts/summary.html" . }}
8+ {{ end }}
129 {{ end }}
1310</ div >
Original file line number Diff line number Diff line change 22
33< div class ="post-list ">
44 {{ range $posts }}
5- < article >
6- < div class ="post-title "> < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a > </ div >
7- < div class ="post-meta ">
8- < div > {{ partial "posts/meta.html" . }}</ div >
9- </ div >
10- </ article >
5+ {{ with partial "_decorators/post.html" . }}
6+ < div class ="post-meta ">
7+ < div > {{ partial "posts/meta.html" . }}</ div >
8+ </ div >
9+ {{ end }}
1110 {{ end }}
1211</ div >
You can’t perform that action at this time.
0 commit comments