diff --git a/_config.yml b/_config.yml index ef7ec9bc691ba0f0dc96ecf1a9e9e236d8f84646..fd51f386671a52298382826b0c146ce59688762c 100644 --- a/_config.yml +++ b/_config.yml @@ -37,6 +37,8 @@ defaults: scholar: source: . bibliography: publications.bib + bibliography_template: publication-entry + details_link: "" details_dir: publications details_layout: publication.html diff --git a/_includes/publication-authors.html b/_includes/publication-authors.html new file mode 100644 index 0000000000000000000000000000000000000000..fbad0b717915f3578061835ab3775b063980ced1 --- /dev/null +++ b/_includes/publication-authors.html @@ -0,0 +1 @@ +{{ entry.author }} diff --git a/_includes/publication-venue.html b/_includes/publication-venue.html new file mode 100644 index 0000000000000000000000000000000000000000..f3d125e59cc2ddb5d9b6f8137ac7c9a0dc4599d9 --- /dev/null +++ b/_includes/publication-venue.html @@ -0,0 +1 @@ +{% if entry.jorurnal %}{{ entry.journal }}{% elsif entry.booktitle %}{{ entry.booktitle }}{% elsif entry.institution %}{{ entry.institution }}{% elsif entry.school %}{{ entry.school }}{% endif %} diff --git a/_layouts/publication-entry.html b/_layouts/publication-entry.html new file mode 100644 index 0000000000000000000000000000000000000000..021a912fceeb7a9546acff64fc931ebd50796dff --- /dev/null +++ b/_layouts/publication-entry.html @@ -0,0 +1,8 @@ +<div class="btn-group pull-xs-right" role="group"> + <a class="btn btn-secondary" role="button" href="{{ details }}"><i class="fa fa-info-circle"></i></a> + {% if link %}<a class="btn btn-secondary" role="button" href="{{ link }}"><i class="fa fa-file-text-o"></i></a>{% endif %} +</div> +<p class="pub-title h4"><a href="{{ details }}">{{ entry.title }}</a></p> +<p class="pub-authors">{% include publication-authors.html %}</p> +<p class="pub-venue">{% include publication-venue.html %}</p> + diff --git a/assets/blog.scss b/assets/blog.scss index 90ed04ba450317e322cf5bb0ff88ff226e3c771b..8669a683a1c0668477e0f6eeb24a6e37de791d1f 100644 --- a/assets/blog.scss +++ b/assets/blog.scss @@ -145,6 +145,24 @@ h6, .h6 { } } +.bibliography { + padding: 0; + + > li { + list-style: none; + border-top: 1px solid #eee; + padding: 1em; + } + + .pub-title a { + color: black; + } + + p { + margin-bottom: 0.25rem; + } +} + /* * Blog name and description */