You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps I'm slow… but I cannot figure out how to add two authors to a post I'm writing.
In _layouts/post.html I can see the following:
{%- if page.author -%}
• {% for author in page.author %}
<spanitemprop="author" itemscopeitemtype="http://schema.org/Person"><spanclass="p-author h-card" itemprop="name">{{ author }}</span></span>
{%- if forloop.last == false %}, {% endif -%}
{% endfor %}
{%- endif -%}</p>
but it's a little unclear how I'm supposed to pass the authors info in the page header.
For example, the following added to the top of my markdown file does not work:
Perhaps I'm slow… but I cannot figure out how to add two authors to a post I'm writing.
In
_layouts/post.html
I can see the following:but it's a little unclear how I'm supposed to pass the authors info in the page header.
For example, the following added to the top of my markdown file does not work:
Additionally, I would like to specify two such authors.
Thanks.
The text was updated successfully, but these errors were encountered: