fixed button-issue in features section

closed #23
This commit is contained in:
Sojon 2023-08-05 10:01:15 +06:00
parent 56544f9e86
commit 3e2ac9f852
2 changed files with 10 additions and 1 deletions

View File

@ -25,4 +25,5 @@ require (
github.com/gethugothemes/hugo-modules/tab v0.0.0-20230731024856-cab17e406beb // indirect github.com/gethugothemes/hugo-modules/tab v0.0.0-20230731024856-cab17e406beb // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230731024856-cab17e406beb // indirect github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20230731024856-cab17e406beb // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20230731024856-cab17e406beb // indirect github.com/gethugothemes/hugo-modules/videos v0.0.0-20230731024856-cab17e406beb // indirect
github.com/zeon-studio/hugoplate v0.0.0-20230731041653-56544f9e8606 // indirect
) )

View File

@ -16,7 +16,7 @@
{{ if .enable }} {{ if .enable }}
<a class="btn btn-primary" href="{{ .link | absURL }}"> <a class="btn btn-primary" href="{{ .link | absURL }}">
{{ .label }} {{ .label }}
<i class="fa fa-arrow-right"></i> <i class="fa fa-arrow-right pl-2"></i>
</a> </a>
{{ end }} {{ end }}
{{ end }} {{ end }}
@ -59,6 +59,14 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
{{ with .button }}
{{ if .enable }}
<a class="btn btn-primary mt-6" href="{{ .link | absURL }}">
{{ .label }}
<i class="fa fa-arrow-right pl-2"></i>
</a>
{{ end }}
{{ end }}
</div> </div>
</div> </div>
</div> </div>