diff --git a/README.md b/README.md index 566ca3a..5b4cd92 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # Distill Templates -This is the repository for the distill web framework. If you're interesting in just using the framework to write an article for the [Distill journal](http://distill.pub), visit http://distill.pub/guide/. If you're interested in submitting pull requests or developing on the framework itself, read on. +This is the repository for the distill web framework. If you're interesting in just using the framework to write an article for the [Distill journal](http://distill.pub), visit http://distill.pub/guide/. + +The general process for using this framework is to hotlink the compiled code in your dev environment. + +```html + +``` + +You can also install it as a local dependency through npm or with [yarn](https://yarnpkg.com). + +``` +npm install --D distill-template +``` + +If you're interested in submitting pull requests or developing on the framework itself, read on. ## Development diff --git a/components/bibliography.js b/components/bibliography.js index 8e49693..e45c7a1 100644 --- a/components/bibliography.js +++ b/components/bibliography.js @@ -17,7 +17,7 @@ export default function(dom, data) { (full, x, char) => char); val = val.replace(/{\\([a-zA-Z])}/g, (full, char) => char); - e.entryTags[k] = val; + e.entryTags[k.toLowerCase()] = val; } bibliography[e.citationKey] = e.entryTags; bibliography[e.citationKey].type = e.entryType;