Skip to content

Commit 25d1dec

Browse files
Use double quotes everywhere
1 parent f7d4bc0 commit 25d1dec

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

layouts/shortcodes/figure.html

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
doc: Figures
44

55
{{< figure >}}
6-
src = 'https://images.unsplash.com/photo-1546238232-20216dec9f72'
7-
alt = 'Cute puppies'
6+
src = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
7+
alt = "Cute puppies"
88
height = 200
99
width = 200
10-
title = 'Figure title'
11-
attribution = 'Figure Credits: Cute puppies image from unsplash.com'
12-
attributionlink = 'https://images.unsplash.com/photo-1546238232-20216dec9f72'
10+
title = "Figure title"
11+
attribution = "Figure Credits: Cute puppies image from unsplash.com"
12+
attributionlink = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
1313
caption = '''
1414
A figure is an image with a caption. Figures may also include a tile, legend, and/or attribution.
1515
'''
@@ -21,11 +21,11 @@
2121
{{< /figure >}}
2222

2323
{{< figure >}}
24-
src = 'https://images.unsplash.com/photo-1546238232-20216dec9f72'
25-
alt = 'Cute puppies'
26-
attribution = 'Figure Credits: Cute puppies image from unsplash.com'
27-
attributionlink = 'https://images.unsplash.com/photo-1546238232-20216dec9f72'
28-
align = 'left'
24+
src = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
25+
alt = "Cute puppies"
26+
attribution = "Figure Credits: Cute puppies image from unsplash.com"
27+
attributionlink = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
28+
align = "left"
2929
height = 150
3030
width = 150
3131
caption = '''
@@ -40,14 +40,15 @@
4040
This shortcode can also be used with named parameters. The following example shows how to do so:
4141

4242
{{< figure
43-
src = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
44-
alt = "Cute puppies"
45-
attribution = "Figure Credits: Cute puppies image from unsplash.com"
46-
attributionlink = 'https://images.unsplash.com/photo-1546238232-20216dec9f72'
47-
align = "right"
48-
height = "150"
49-
width = "150"
50-
caption = "A figure with right alignment." >}}
43+
src = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
44+
alt = "Cute puppies"
45+
attribution = "Figure Credits: Cute puppies image from unsplash.com"
46+
attributionlink = "https://images.unsplash.com/photo-1546238232-20216dec9f72"
47+
align = "right"
48+
height = 150
49+
width = 150
50+
caption = "A figure with right alignment."
51+
>}}
5152

5253
{{< /figure >}}
5354

0 commit comments

Comments
 (0)