Commit 64d2cc3d authored by Sylvester Keil's avatar Sylvester Keil
Browse files

added detail page example

parent 238a9767
...@@ -34,6 +34,10 @@ default configuration is as follows: ...@@ -34,6 +34,10 @@ default configuration is as follows:
source: ./_bibliography source: ./_bibliography
bibliography: references.bib bibliography: references.bib
details_dir ./bibliography
details_layout bibtex.html
You can use any style that ships with You can use any style that ships with
[CiteProc-Ruby]( by name (e.g., [CiteProc-Ruby]( by name (e.g.,
...@@ -147,6 +151,35 @@ following blog post: ...@@ -147,6 +151,35 @@ following blog post:
{% bibliography %} {% bibliography %}
### Detail Pages
If your layouts directory contains a layout file for bibliography details
(the 'details_layout' configuration options), Jekyll-Scholar will generate
a details page for each entry in you main bibliography. That is to say, if
your bibliography contains the following entry:
title = {The Ruby Programming Language},
author = {Flanagan, David and Matsumoto, Yukihiro},
year = {2008},
publisher = {O'Reilly Media}
Then a page 'bibliography/ruby.html' will be generated according to your
details page layout. In the layout file, you have access to all fields
of your BibTeX entry. Here is an example of a details page layout:
<h1>{{ page.entry.title }}</h1>
<h2>{{ }}</h2>
<p>{{ page.entry.abstract }}</p>
Contributing Contributing
------------ ------------
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