Commit 3000c6e6 authored by Sylvester Keil's avatar Sylvester Keil

Allow for entries to have no title

parent a4b06d51
......@@ -3,7 +3,7 @@ Feature: Details
I want to publish my BibTeX bibliography on my blog
And I want Jekyll to generate detail pages for all the entries in my bibliography
@generators @wip
@generators
Scenario: A bibliography with a single entry
Given I have a scholar configuration with:
| key | value |
......
......@@ -15,7 +15,7 @@ module Jekyll
process(@name)
read_yaml(File.join(base, '_layouts'), config['details_layout'])
data['title'] = entry.title.to_s
data['title'] = entry.title.to_s if entry.field?(:title)
data.merge!(reference_data(entry))
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment