期望的结果
我想从每个人的数据 YML 文件中定义一篇文章的贡献者列表。
前线
---
collection: events
format: right-sidebar
layout: events
title: xxxxxxxxxxxxxxxxxxxx
contributors: [david-amerland, denver-prophit]
image: fiction-book-essentials.jpg
categories: technical-seo
tags: semantic-web
is_post: True
excerpt: "xxxxxxxxxxxxxxxxxxxx"
---
布局
{% for item in site.data.contributors[page.contributors] %}{{item|inspect}}{%endfor%}
数据文件
大卫-amerland.yml
name: David Amerland
url: https://g.co/kgs/QpjJVr
丹佛-prophit.yml
name: Denver Prophit
url: https://g.co/kgs/55pDpp
问题
我只能选择一个数据记录。我需要两个以上的记录哈希。