mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Images in static directory were not displaying on single pages within the /projects/ folder. Including of relURL makes them appear.
This commit is contained in:
parent
997c707d5b
commit
db3bdd9512
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
<!-- Begin content -->
|
<!-- Begin content -->
|
||||||
{{ if .Params.image }}
|
{{ if .Params.image }}
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
<img src="{{ .Params.image }}" class="img-responsive">
|
<img src="{{ .Params.image | relURL }}" class="img-responsive">
|
||||||
</div>
|
</div>
|
||||||
{{ end }} {{ .Content }}
|
{{ end }} {{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -59,4 +59,4 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue