features.html: Center buttons
parent
5eb0760ed6
commit
4ce8e994e2
|
|
@ -0,0 +1,12 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
{{ partial "page-header" . }}
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-center">
|
||||||
|
<div class="lg:col-10">
|
||||||
|
<div class="content">
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
@ -109,10 +109,12 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{ with .button }}
|
{{ with .button }}
|
||||||
{{ if .enable }}
|
{{ if .enable }}
|
||||||
|
<div class="flex justify-center items-center">
|
||||||
<a class="btn mt-6 {{ .class }}" href="{{ .link | absURL }}">
|
<a class="btn mt-6 {{ .class }}" href="{{ .link | absURL }}">
|
||||||
{{ .label }}
|
{{ .label }}
|
||||||
<i class="fa fa-arrow-right pl-2"></i>
|
<i class="fa fa-arrow-right pl-2"></i>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue