image relURL on single pages (address #69) (#70)

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:
Mike DeCrescenzo 2018-07-26 15:29:52 -05:00 committed by Vicky Lai
parent 997c707d5b
commit db3bdd9512

View file

@ -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>