-
Hi! I need help figuring out why my collection isn't being published. I've double checked my config file and deploy from the main branch. At this point I could use a fresh set of eyes to see if I've made any errors. Any help is appreciated, thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@sarakr4 you are close! All the configuration and files are correct, however, the build is breaking because of an incorrect include in your "about.md"--so your site isn't being built, thus you are getting the 404 still! To fix the issue, edit your "pages/about.md", take a look at line 27 and 31 you have an include like:
This is trying to use the include "_includes/image-external.html", which doesn't actually exist! (I believe that was an include in an older version of the template, so maybe you got that from some out of date docs?)
Notice I changed "feature/image-external.html" to "feature/image.html"; "src" to "objectid"; updated the link you were using to one that specifically referenced an image to display (the other link was to an descriptive page, so can't be displayed as an image); and added an "alt" text. Your second one would be updated something like:
Since it is an internal image from your collection, you can use the "objectid" of the item from your metadata to call the information in. Good luck! |
Beta Was this translation helpful? Give feedback.
@sarakr4 you are close! All the configuration and files are correct, however, the build is breaking because of an incorrect include in your "about.md"--so your site isn't being built, thus you are getting the 404 still!
To fix the issue, edit your "pages/about.md", take a look at line 27 and 31 you have an include like:
{% include feature/image-external.html src="https://www.churchofjesuschrist.org/media/image/emma-hale-smith-lee-richards-9b757db?lang=eng" width="50" caption="Emma Hale Smith"%}
This is trying to use the include "_includes/image-external.html", which doesn't actually exist! (I believe that was an include in an older version of the template, so maybe you got that from some …