Compare commits

...

3 Commits

Author SHA1 Message Date
Ludwig Schubert 315e888810 Add DOI to bibtex citation; minor style fix 2017-11-07 15:13:04 -08:00
Ludwig Schubert 4745281c2b 2.2.5 2017-10-24 17:02:06 -07:00
Ludwig Schubert ebffcb4416 Fix typo 2017-10-24 17:02:03 -07:00
5 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "distill-template", "name": "distill-template",
"version": "2.2.4", "version": "2.2.5",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "distill-template", "name": "distill-template",
"version": "2.2.4", "version": "2.2.5",
"description": "Template for creating Distill articles.", "description": "Template for creating Distill articles.",
"main": "dist/template.v2.js", "main": "dist/template.v2.js",
"bin": { "bin": {
+2 -1
View File
@@ -28,6 +28,7 @@ export function serializeFrontmatterToBibtex(frontMatter) {
title = {${frontMatter.title}}, title = {${frontMatter.title}},
journal = {${frontMatter.journal.title}}, journal = {${frontMatter.journal.title}},
year = {${frontMatter.publishedYear}}, year = {${frontMatter.publishedYear}},
note = {${frontMatter.url}} note = {${frontMatter.url}},
doi = {${frontMatter.doi}}
}`; }`;
} }
+4 -2
View File
@@ -105,14 +105,16 @@ figure svg text,
figure svg tspan { figure svg tspan {
} }
figcaption { figcaption,
.figcaption {
color: rgba(0, 0, 0, 0.6); color: rgba(0, 0, 0, 0.6);
font-size: 12px; font-size: 12px;
line-height: 1.5em; line-height: 1.5em;
} }
@media(min-width: 1024px) { @media(min-width: 1024px) {
figcaption { figcaption,
.figcaption {
font-size: 13px; font-size: 13px;
} }
} }
+1 -1
View File
@@ -42,7 +42,7 @@ const addBackIn = `
window.addEventListener('WebComponentsReady', function() { window.addEventListener('WebComponentsReady', function() {
console.warn('WebComponentsReady'); console.warn('WebComponentsReady');
const loaderTag = document.createElement('script'); const loaderTag = document.createElement('script');
loaderTag.src = 'http://localhost:8888/dist/template.v2.js'; loaderTag.src = '/template.v2.js';
document.head.insertBefore(loaderTag, document.head.firstChild); document.head.insertBefore(loaderTag, document.head.firstChild);
}); });
`; `;