Fix license link
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
import { Canvas, Meta, Story } from '@storybook/addon-docs';
|
import { Canvas, Meta, Story } from '@storybook/addon-docs';
|
||||||
import { Image, ImageRow } from './ImageAsset';
|
import { Image, ImageRow } from './ImageAsset';
|
||||||
|
|
||||||
@@ -10,7 +8,8 @@ import { Image, ImageRow } from './ImageAsset';
|
|||||||
{{#each emojiCollections}}
|
{{#each emojiCollections}}
|
||||||
|
|
||||||
## {{capitalize this.name}}
|
## {{capitalize this.name}}
|
||||||
<a href="/img/emoji/{{this.name}}/LICENSE.md" target="_blank">
|
|
||||||
|
<a href="img/emoji/{{this.name}}/LICENSE.md" target="_blank">
|
||||||
LICENSE
|
LICENSE
|
||||||
</a>
|
</a>
|
||||||
<ImageRow images={[
|
<ImageRow images={[
|
||||||
@@ -31,7 +31,7 @@ emojiCollectionDirs.forEach(collection => {
|
|||||||
emojiCollections[collection] = { name: collection, images: emojiCollection };
|
emojiCollections[collection] = { name: collection, images: emojiCollection };
|
||||||
});
|
});
|
||||||
|
|
||||||
const template = fs.readFileSync('./Emoji.stories.md', 'utf8');
|
const template = fs.readFileSync('./Emoji.stories.mdx', 'utf8');
|
||||||
let t = handlebars.compile(template);
|
let t = handlebars.compile(template);
|
||||||
let output = t({ emojiCollections });
|
let output = t({ emojiCollections });
|
||||||
console.log(output);
|
console.log(output);
|
||||||
|
|||||||
Reference in New Issue
Block a user