Skip to content

Commit

Permalink
chore: format usage comments
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 3, 2023
1 parent 44a4001 commit edf3781
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions layouts/partials/images/image.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{/* The image partial generates accept the following parameters: */}}
{{/* - Filename : the filename or url of image, required. */}}
{{/* - Alt : the alternative text of image, optional. */}}
{{/* - Caption : the caption text of image, optional. */}}
{{/* - Page : the page for finding image resources, optional. */}}
{{/* - ClassName : the class name of the img tag, optional. */}}
{{/* - Original : whether to describe the original image info via data-* attributes, default to false. */}}
{{/* - LazyLoading: whether enable lazy loading, default true. */}}
{{/* - Style : additional inline style for <img> tag. */}}
{{/* - Filename : the filename or url of image, required. */}}
{{/* - Alt : the alternative text of image, optional. */}}
{{/* - Caption : the caption text of image, optional. */}}
{{/* - Page : the page for finding image resources, optional. */}}
{{/* - ClassName : the class name of the img tag, optional. */}}
{{/* - Original : whether to describe the original image info via data-* attributes, default to false. */}}
{{/* - LazyLoading : whether enable lazy loading, default true. */}}
{{/* - Style : additional inline style for <img> tag. */}}
{{- $formats := slice "bmp" "gif" "jpeg" "jpg" "png" "tif" "tiff" "webp" }}
{{- $modernFormat := "webp" }}
{{- if isset site.Params.images "modern_format" }}
Expand Down

0 comments on commit edf3781

Please sign in to comment.