這裏是我的config.yaml:
# Permalinks
permalink: pretty
relative_permalinks: true
# Setup
title: Tom Critchlow Title
tagline: My Github Site
url: http://tomcritchlow.com
paginate: 1
baseurl: /
author:
name: Tom Critchlow
url: https://twitter.com/tomcritchlow
email: [email protected]
collections:
- poetry:
output: true
這是我的文件夾結構:
-config.yaml
-index.html
-archive.md
_layouts
_poetry
_posts
然而,我的存檔頁上,當我這樣做:
{% for poem in site.poetry %}
hello world
{% endfor %}
什麼也沒有發生。 ..我也努力在我的詩歌集中呈現任何東西。
你可以看到GitHub的回購在這裏:
https://github.com/tomcritchlow/tomcritchlow.github.io
我在做什麼錯?你如何獲得在Github頁面上工作的集合?我對github完全陌生。謝謝。
該死......你說得對。這固定的東西正確了。謝謝!告訴你我是github上的n00b – tomcritchlow 2014-12-03 22:38:46