Skip to content

Commit

Permalink
remove URLs, they're ugly
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Mar 7, 2016
1 parent c54dbf3 commit 68b6650
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<script type="text/javascript">

// Library of Cornell Conservation Agriculture
var chosenLibraryItems = "https://api.zotero.org/groups/459003/items?format=csljson&limit=20&itemType=journalArticle";
var chosenLibraryItems = "https://api.zotero.org/groups/459003/items?format=csljson&limit=15&itemType=journalArticle";
// Chicago Manual of Style (Full Note)
var chosenStyleID = "chicago-fullnote-bibliography";

Expand All @@ -60,6 +60,7 @@
for (var i=0,ilen=citationData.items.length;i<ilen;i++) {
var item = citationData.items[i];
if (!item.issued) continue;
if (item.URL) delete item.URL;
var id = item.id;
citations[id] = item;
itemIDs.push(id);
Expand Down

0 comments on commit 68b6650

Please sign in to comment.