Kimberley Mackenzie e35e01f06f
Prettier Spike (#1517)
* Add Prettier set-up (no formatting in this commit).

* Manual fixes for Prettier issues.

* Run Prettier fix on non-markdown files.

* Incorporate Prettier PR feedback - update commands, re-apply new yaml styles, add editor config.

* Remove deprecated config item.

* Add dependency on prettier-plugin-go-template.

* reconcile changed file with prettier formatting.

* Add git blame ignore revs file to include Prettier formatting commit.

* Fix format issue with merge conflict.
2022-06-01 10:58:20 -07:00

10 lines
387 B
HTML

{{/* If a general image is associated with the post, display it in-line. */}}
{{ if .Params.meta_image }}
<a href="{{ .RelPermalink }}"
><img
class="rounded-lg md:m-2 md:mt-0 md:max-w-xs md:float-right my-8 border-2 border-gray-100"
src="{{ (.Resources.GetMatch .Params.meta_image).RelPermalink }}"
alt="{{ .Title }}"
/></a>
{{ end }}