diff --git a/README.md b/README.md index fef420a..d71861d 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ It executes the method passed via `data`. Methods emit a `MethodCall` event. ## Documentation -* [Documentation](https://github.com/vittominacori/erc1363-payable-token/tree/master/docs/index.md) +* [Solidity API](https://github.com/vittominacori/erc1363-payable-token/tree/master/docs/index.md) ## Code Analysis diff --git a/pages/.vuepress/config.js b/pages/.vuepress/config.js index dfc9b75..de00b56 100644 --- a/pages/.vuepress/config.js +++ b/pages/.vuepress/config.js @@ -1,9 +1,14 @@ const vars = require('./.env.json'); +const title = 'ERC-1363 Payable Token | Reference implementation'; +const description = + 'ERC-1363 is an extension interface for ERC-20 tokens that supports executing code on a recipient contract after transfers, or code on a spender contract after approvals, in a single transaction.'; +const url = 'https://vittominacori.github.io/erc1363-payable-token'; +const image = 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg'; + module.exports = { - title: 'An ERC-20 token that can be used for payments', - description: - 'The ERC-1363 is an ERC-20 compatible token that can make a callback on the receiver contract to notify token transfers or token approvals', + title: 'Reference implementation', + description: description, base: '/erc1363-payable-token/', plugins: [ [ @@ -15,27 +20,18 @@ module.exports = { ], head: [ ['link', { rel: 'icon', href: '/favicon.ico' }], + ['meta', { name: 'title', property: 'og:title', content: title }], + ['meta', { name: 'description', property: 'og:description', content: description }], + ['meta', { name: 'image', property: 'og:image', content: image }], + ['meta', { property: 'og:title', content: title }], + ['meta', { property: 'og:description', content: description }], + ['meta', { property: 'og:image', content: image }], ['meta', { property: 'og:type', content: 'website' }], - ['meta', { property: 'og:url', content: 'https://vittominacori.github.io/erc1363-payable-token' }], - [ - 'meta', - { - property: 'og:image', - content: 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg', - }, - ], + ['meta', { property: 'og:url', content: url }], + ['meta', { property: 'twitter:title', content: title }], + ['meta', { property: 'twitter:description', content: description }], + ['meta', { property: 'twitter:image', content: image }], ['meta', { property: 'twitter:card', content: 'summary_large_image' }], - [ - 'meta', - { - property: 'twitter:image', - content: 'https://vittominacori.github.io/erc1363-payable-token/assets/images/erc1363-payable-token.jpg', - }, - ], - [ - 'meta', - { property: 'twitter:title', content: 'ERC-1363 Payable Token | An ERC-20 token that can be used for payments' }, - ], ], themeConfig: { repo: 'vittominacori/erc1363-payable-token',