Skip to content

General Best Practices

Nathan Hui edited this page Sep 18, 2024 · 2 revisions

Images

Images MUST be placed in the following location: /assets/{project}/

Images SHOULD be named YYYY-MM-DD_description_of_image.ext. If a date is not relevant (for example, a logo), then the date may be omitted.

Images SHOULD be placed in the markdown using the following: {{ relative_path_to_image_from_assets | resize: final_size,webp,80 | absolute_url }}. See https://imagemagick.org/script/command-line-processing.php#geometry for a full description of the resize argument.

Clone this wiki locally