You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The next version will support [Page Resources](http://gohugo.io/content-management/page-resources/) so you should have a better folder structure and you change:
The next version will support [Page Resources](http://gohugo.io/content-management/page-resources/) so you should have a better folder structure and you change:
25
+
```
26
+
# OLD Structure / deprecated
27
+
content/gallery/my-trip-to-scotland.md
28
+
static/images/scotland1.jpg
29
+
static/images/scotland2.jpg
30
+
...
31
+
32
+
# NEW structure
33
+
content/gallery/my-trip-to-scotland/index.md
34
+
content/article/my-trip-to-scotland/scotland1.jpg
35
+
content/article/my-trip-to-scotland/scotland2.jpg
36
+
...
37
+
```
38
+
You don't have to add the images manually to an array, instead all images in the content folder will be used automatically.
0 commit comments