Open mepland opened 10 months ago
The relevant html from the served page is below.
<html lang="en">
<head>
<meta charset="UTF-8" />
...
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
...
</head>
...
<h1 id="publications">Publications</h1>
<h2 id="-include-biberepaperhtml-piddemselectemnlp23-">{% include bibere/paper.html pid=”demselect:emnlp23” %}</h2>
<li id="demselect_emnlp23">
<!-- Author --><span class="author"><a href="https://github.com/Shivanshu-Gupta">Shivanshu Gupta</a></span>, <span class="author"><a href="https://matt-gardner.github.io/">Matt Gardner</a></span>, <span class="author"><a href="http://www.sameersingh.org/">Sameer Singh</a></span>.<!-- Title -->
<span class="title">Coverage-based Example Selection for In-Context Learning.</span>
<!-- Venue -->
<span class="venue">Empirical Methods in Natural Language Processing (EMNLP).
</span>
<!-- Year -->
<span class="year">2023</span>
<!-- Tag -->
<span class="tag_Conference tag label label-default">Conference</span><br />
<!-- Notes --><!-- Links -->
[ <a href="https://arxiv.org/abs/2305.14907">ArXiV</a>, <a href="https://arxiv.org/pdf/2305.14907.pdf">PDF</a>,<!-- Abstract --><!-- BibTex -->
<a class="collapse-clicker" onclick="$('#demselect_emnlp23_bibtex').slideToggle(200)">BibTex</a> ]<div class="collapse" id="demselect_emnlp23_bibtex">
<div class="panel panel-info">
<pre class="panel-body details-panel">@inproceedings{demselect:emnlp23,
author = {Shivanshu Gupta and Matt Gardner and Sameer Singh},
title = { {Coverage-based Example Selection for In-Context Learning} },
booktitle = {Empirical Methods in Natural Language Processing (EMNLP)},
year = {2023}
}</pre>
</div>
</div>
</li>
<h2 id="-include-biberebyyearhtml-mainauthorsameer-filterauthorsameer-minyear2023-">{% include bibere/byyear.html mainAuthor=”sameer” filterAuthor=”sameer” minYear=2023 %}</h2>
<!-- Create a list of papers filtered by flags -->
<!-- Group filtered ones by year, sorted -->
<div>
Publications (grouped by year):
<a href="[#2023](http://0.0.0.0:4000/#2023)">2023</a>.
<hr />
</div>
<!-- For each year, sorted by type (alphabetical), then sort_weight -->
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span id="2023" class="yearGroup">2023</span>
<ul class="papers">
<li id="posthoc_neurips23">
<!-- Author --><span class="author">Satyapriya Krishna</span>,&nbsp;<span class="author">Jiaqi Ma</span>,&nbsp;<span class="author"><a href="https://dylanslacks.website/">Dylan Slack</a></span>,&nbsp;<span class="author">Asma Ghandeharioun</span>,&nbsp;<span class="mainAuthor"><a href="http://www.sameersingh.org">Sameer Singh</a></span>,&nbsp;<span class="author"><a href="https://himalakkaraju.github.io/">Himabindu Lakkaraju</a></span>.<!-- Title -->
<span class="title">Post Hoc Explanations of Language Models Can Improve Language Models.</span>
<!-- Venue -->
...
</code></pre></div></div>
...
Thank you for developing this great package, it seems perfect for adding a list of publications to github pages! I am using it as intended, but am currently testing my site locally with the BretFisher/jekyll-serve docker container rather than live on github pages.
I've added
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
to_includes/head.html
, andbibere.scss
to_sass/
, along with the required_includes/bibere
files and demo_data/bibere/
yaml files.Including
paper.html
for one paper works okay, though without styling:However, using
byyear.html
breaks at the first publication at the<code>
tag:Am I using
bibere
incorrectly, or could this be breaking due to the particular docker container I am hosting it in? Any suggestions on how to fix the<code>
section ofbyyear.html
and how to get thebibere.scss
to be applied?