mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
path fixes for themes demo
This commit is contained in:
parent
e4819358a3
commit
e998429ae3
1 changed files with 6 additions and 2 deletions
|
@ -22,7 +22,11 @@
|
|||
<div class="col-12">
|
||||
<h1 class="title">{{ .Title | default .Site.Title }}</h1>
|
||||
<div class="content">
|
||||
{{ .Content | default .Site.Params.homepage_intro }}
|
||||
{{ if .Content }}
|
||||
{{ .Content }}
|
||||
{{ else }}
|
||||
<p>{{ .Site.Params.homepage_intro }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
<a class="button button-primary mb-2" href="{{ .Site.Params.homepage_button_link | relURL }}">
|
||||
{{ .Site.Params.homeoage_button_text }}
|
||||
|
@ -38,7 +42,7 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-md-10">
|
||||
<div class="terminal">
|
||||
<img src="{{ .Site.Params.homepage_image | absURL}}" />
|
||||
<img src="{{ .Site.Params.homepage_image | relURL}}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue