mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +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 -->
|
||||
{{ if .Params.image }}
|
||||
<div class="has-text-centered">
|
||||
<img src="{{ .Params.image }}" class="img-responsive">
|
||||
<img src="{{ .Params.image | relURL }}" class="img-responsive">
|
||||
</div>
|
||||
{{ end }} {{ .Content }}
|
||||
</div>
|
||||
|
@ -59,4 +59,4 @@
|
|||
})
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue