Fix some styling
This commit is contained in:
parent
19b67010cc
commit
4adc38883c
2 changed files with 15 additions and 11 deletions
|
@ -1,11 +1,13 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
|
<ul style="padding: 0;">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{ .Render "li" }}
|
{{ .Render "li" }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p>Looks like there's nothing here!... yet!</p>
|
<p>Looks like there's nothing here!... yet!</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<p class="left-border">
|
<div class="left-border">
|
||||||
<h3>
|
<h3>
|
||||||
<a style="flex-shrink: 1; margin-right: auto;" href="{{ .Permalink }}">
|
<a style="flex-shrink: 1; margin-right: auto;" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
{{ .Title }}
|
{{ if .Draft }}<span class="badge">DRAFT</span>{{end}}
|
||||||
</a>
|
|
||||||
<br />
|
<br />
|
||||||
<small>Posted on {{ dateFormat "Jan 2 2006" (cond .Date.IsZero .Lastmod .Date) }}</small>
|
<small>Posted on {{ dateFormat "Jan 2 2006" (cond .Date.IsZero .Lastmod .Date) }}</small>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
<p>
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
</p>
|
</p>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue