Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
caesr-pub
jekyll-scholar
Commits
64d2cc3d
Commit
64d2cc3d
authored
Apr 27, 2012
by
Sylvester Keil
Browse files
added detail page example
parent
238a9767
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
README.md
README.md
+33
-0
No files found.
README.md
View file @
64d2cc3d
...
...
@@ -34,6 +34,10 @@ default configuration is as follows:
source: ./_bibliography
bibliography: references.bib
details_dir ./bibliography
details_layout bibtex.html
You can use any style that ships with
[
CiteProc-Ruby
](
https://github.com/inukshuk/citeproc-ruby
)
by name (e.g.,
...
...
@@ -147,6 +151,35 @@ following blog post:
{% 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:
@book{ruby,
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:
---
---
<html>
<head></head>
<body>
<h1>{{ page.entry.title }}</h1>
<h2>{{ page.entry.author }}</h2>
<p>{{ page.entry.abstract }}</p>
</body>
</html>
Contributing
------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment