Skip to content
Snippets Groups Projects
Commit d5e12d0f authored by Thomas Wood's avatar Thomas Wood
Browse files

Link people to authors bidirectionally

parent d48ff0d2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ gem 'rake' ...@@ -4,7 +4,7 @@ gem 'rake'
gem 'jekyll' gem 'jekyll'
group :default, :jekyll_plugins do group :default, :jekyll_plugins do
gem 'jekyll-scholar', :git => 'https://github.com/edgemaster/jekyll-scholar.git', :branch => 'master' gem 'jekyll-scholar', :git => 'https://github.com/inukshuk/jekyll-scholar.git', :ref => '4ef567dc730e373a9b000c97f210b899cd155e6a'
end end
group :test do group :test do
......
GIT GIT
remote: https://github.com/edgemaster/jekyll-scholar.git remote: https://github.com/inukshuk/jekyll-scholar.git
revision: e0d4f7a10964f1b878c833fb67b570330d14bca6 revision: 4ef567dc730e373a9b000c97f210b899cd155e6a
branch: master ref: 4ef567dc730e373a9b000c97f210b899cd155e6a
specs: specs:
jekyll-scholar (5.6.0) jekyll-scholar (5.6.0)
bibtex-ruby (~> 4.0, >= 4.0.13) bibtex-ruby (~> 4.0, >= 4.0.13)
...@@ -19,7 +19,7 @@ GEM ...@@ -19,7 +19,7 @@ GEM
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
addressable (2.4.0) addressable (2.4.0)
bibtex-ruby (4.1.2) bibtex-ruby (4.2.0)
latex-decode (~> 0.0) latex-decode (~> 0.0)
citeproc (1.0.2) citeproc (1.0.2)
namae (~> 0.8) namae (~> 0.8)
......
...@@ -43,6 +43,7 @@ scholar: ...@@ -43,6 +43,7 @@ scholar:
details_layout: publication.html details_layout: publication.html
use_raw_bibtex_entry: true use_raw_bibtex_entry: true
bibtex_skip_fields: ['month_numeric']
sort_by: year sort_by: year
order: descending order: descending
......
{{ entry.author }} <ul class="list-inline">
{% for author in include.authors %}
{% assign matched = site.people | where:"lastname",author.last | first %}
<li class="list-inline-item">{% if matched %}<a href="{{ matched.url }}">{% endif %}{{ author.first }} {{ author.last }}{% if matched %}</a>{% endif %}</li>
{% endfor %}
</ul>
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
{% if link %}<a class="btn btn-secondary" role="button" href="{{ link }}"><i class="fa fa-file-text-o"></i></a>{% endif %} {% if link %}<a class="btn btn-secondary" role="button" href="{{ link }}"><i class="fa fa-file-text-o"></i></a>{% endif %}
</div> </div>
<p class="pub-title h4"><a href="{{ details }}">{{ entry.title }}</a></p> <p class="pub-title h4"><a href="{{ details }}">{{ entry.title }}</a></p>
<p class="pub-authors">{% include publication-authors.html %}</p> <p class="pub-authors">{% include publication-authors.html authors=entry.author_array %}</p>
<p class="pub-venue">{% include publication-venue.html %}</p> <p class="pub-venue">{% include publication-venue.html %}</p>
...@@ -22,7 +22,7 @@ menu: false ...@@ -22,7 +22,7 @@ menu: false
</div> </div>
<div class="col-sm-8"> <div class="col-sm-8">
<h3>Authors</h3> <h3>Authors</h3>
<p>{{ page.entry.author }}</p> <p>{% include publication-authors.html authors=page.entry.author_array %}</p>
{% if page.entry.abstract %} {% if page.entry.abstract %}
<h3>Abstract</h3> <h3>Abstract</h3>
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment