improve style and base layout
This commit is contained in:
		| @@ -1,8 +1,12 @@ | ||||
| {{ define "main" }} | ||||
|   <h1>{{ .Title }}</h1> | ||||
|   {{ .Content }} | ||||
|   {{ range .Pages }} | ||||
|     <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> | ||||
|     {{ .Summary }} | ||||
|   {{ end }} | ||||
|   <section> | ||||
|     {{ range .Pages }} | ||||
|       <article> | ||||
|         <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> | ||||
|             <p>{{ .Content | truncate 100 }}</p> | ||||
|       </article> | ||||
|     {{ end }} | ||||
|   </section> | ||||
| {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user