I copy content of exampleSite to the root folder. But I got error if I deleted YAML files from data/slider :
ERROR 2018/07/08 20:07:53 Error while rendering "home" in "": template: index.html:9:4: executing "index.html" at <partial "slider" .>: error calling partial: template: partials/slider.html:6:11: executing "partials/slider.html" at <len .Site.Data.slide...>: error calling len: len of untyped nil
Total in 9 ms
ERROR 2018/07/08 20:07:53 Failed to rebuild site: logged 1 error(s)
Can I have slider (automatic or manual) from posts only without having YAML files in the data/slider folder?
Hi,
I copy content of
exampleSite
to the root folder. But I got error if I deleted YAML files fromdata/slider
:Can I have slider (automatic or manual) from posts only without having YAML files in the
data/slider
folder?