+[2015-11-05T23:27:16Z]dave1984I'm trying to create a collection so I can group my "projects". I made a folder called _projects/, added the collection and output: true in my _config.yml, and tried looping through it with {% for project in site.projects %} <h1>{{ project.title }}</h1> {% endfor %}. But it's not finding anything. Did I miss a step? +[2015-11-05T23:28:25Z]dave1984Hm, appears to be working now +[2015-11-05T23:28:29Z]dave1984Not sure what I changed +[2015-11-05T23:32:26Z]dave1984so when I specify a layout:, the contents of that document are inserted in THAT layout's {{ content }} ? +[2015-11-05T23:50:36Z]jaybedave1984, a 'layout' is the "template" that is being called *first* before delivering the calling page/post' content... which is "released" within the layout/template as {{ content }}
message no. 118405
Posted by Wferr in #jekyll at 2015-11-05T07:16:16Z
gynter: just makes it more flexable
+[2015-11-06T04:55:34Z]kzismeanyone have an idea as to why jekyll serve --watch isn't working? +[2015-11-06T04:55:47Z]kzismeie: I make changes, save, and it should auto re-fresh right? +[2015-11-06T05:21:05Z]jaybekzisme, try the --force-polling option (jekyll help build) +[2015-11-06T05:21:51Z]kzismeDoes it matter that i'm only working on my comfig.yml file? +[2015-11-06T13:58:27Z]jaybekzisme: yes it matters. changes to _config.yml are not picked up without re-running