mirror of
https://github.com/wassname/template.git
synced 2026-07-09 19:58:44 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 315e888810 | |||
| 4745281c2b | |||
| ebffcb4416 |
Generated
+1
-1
@@ -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
@@ -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": {
|
||||||
|
|||||||
@@ -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}}
|
||||||
}`;
|
}`;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user