mirror of
https://github.com/wassname/template.git
synced 2026-07-16 11:22:25 +08:00
Generate crossref stub
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export default function(data) {
|
||||
return "crossref";
|
||||
}
|
||||
@@ -11,6 +11,8 @@ import citation from "./components/citation";
|
||||
import markdown from "./components/markdown";
|
||||
import code from "./components/code";
|
||||
|
||||
import generateCrossref from "./components/generate-crossref";
|
||||
|
||||
function render(dom, data) {
|
||||
data = data || {};
|
||||
html(dom);
|
||||
@@ -48,3 +50,5 @@ export {footer as footer};
|
||||
export {citation as citation};
|
||||
export {markdown as markdown};
|
||||
export {code as code};
|
||||
|
||||
export {generateCrossref as generateCrossref};
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
export default {
|
||||
"title": "Experiments in Handwriting with a Neural Network",
|
||||
"description": "Several interactive visualizations of a generative model of handwriting. Some are fun, some are serious.",
|
||||
"url": "http://distill.pub/2016/handwriting/",
|
||||
"github": "https://github.com/distillpub/post--handwriting",
|
||||
"firstPublished": "Tue Dec 6 2016 21:39:33 GMT-0700 (PDT)",
|
||||
"lastPublished": "Tue Dec 6 2016 21:39:33 GMT-0700 (PDT)",
|
||||
"authors": [
|
||||
{
|
||||
"firstName": "Shan",
|
||||
"lastName": "Carter",
|
||||
"personalURL": "http://shancarter.com",
|
||||
"affiliation": "Google Brain",
|
||||
"affiliationURL": "http://g.co/brain"
|
||||
},
|
||||
{
|
||||
"firstName": "David",
|
||||
"lastName": "Ha",
|
||||
"personalURL": "https://github.com/hardmaru",
|
||||
"affiliation": "Google Brain",
|
||||
"affiliationURL": "http://g.co/brain"
|
||||
},
|
||||
{
|
||||
"firstName": "Ian",
|
||||
"lastName": "Johnson",
|
||||
"personalURL": "https://github.com/enjalot",
|
||||
"affiliation": "Google Cloud",
|
||||
"affiliationURL": ""
|
||||
},
|
||||
{
|
||||
"firstName": "Chris",
|
||||
"lastName": "Olah",
|
||||
"personalURL": "http://colah.github.io/",
|
||||
"affiliation": "Google Brain",
|
||||
"affiliationURL": "http://g.co/brain"
|
||||
}
|
||||
],
|
||||
journal: {
|
||||
"title": "Distill",
|
||||
"full_title": "Distill",
|
||||
"abbrev_title": "Distill",
|
||||
"url": "http://distill.pub",
|
||||
"doi": "00.0000/dstl",
|
||||
"issn": "0000-0000"
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user