{"_id":"@dendronhq/eleventy-plugin-seo","_rev":"2-dd725730d9a5f840b4d3eb46f80ccb42","name":"@dendronhq/eleventy-plugin-seo","dist-tags":{"latest":"0.6.0"},"versions":{"0.5.1":{"name":"@dendronhq/eleventy-plugin-seo","version":"0.5.1","description":"Eleventy plugin to generate meta tags for improved SEO.","main":".eleventy.js","scripts":{"check":"npx prettier --check 'src/**/*.js' 'test/**/*.js' .eleventy.js","test":"npx nyc --reporter=lcov --reporter=text ava"},"repository":{"type":"git","url":"git+https://github.com/artstorm/eleventy-plugin-seo.git"},"keywords":["eleventy","eleventy-plugin","seo"],"author":{"name":"Johan Steen"},"license":"MIT","bugs":{"url":"https://github.com/artstorm/eleventy-plugin-seo/issues"},"homepage":"https://github.com/artstorm/eleventy-plugin-seo#readme","devDependencies":{"ava":"^3.5.0","nyc":"^14.1.1","prettier":"^1.18.2"},"dependencies":{"html-entities":"^1.2.1","lodash":"^4.17.19"},"gitHead":"5227c7a6a18cbebf3f89660b6099a21a125f15a3","_id":"@dendronhq/eleventy-plugin-seo@0.5.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-W+AEX7SYBHRg+ydQ4tK865gklp6C2rISqv6NQdWP01vshUqZWiGwTxEkuxlCn3HeGc07IIFx4qZCboWwqw3znQ==","shasum":"80cd5587587b0f46e4a8fa8ea45aafbe2cb7cd27","tarball":"https://registry.npmjs.org/@dendronhq/eleventy-plugin-seo/-/eleventy-plugin-seo-0.5.1.tgz","fileCount":23,"unpackedSize":26151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf63LdCRA9TVsSAnZWagAAL6EP/ROs3zAEDfg76U2I1urK\nHCcokLOdr4+y0GedXP27qh47BT+nopEXSgF0SEfNWXjQft8Gd3qRhMTYQIPG\n+cpNGLnkHVSTw6TNrpwYffmg/HC0SqtjX45cdKSY7P4P42QV4oMKWU/VPeax\npQCMKZmkgA6e+DvNm/j7Ejpo5azK3z2Oi5wWoNXGEZJIPYdJQPpuiQYWiviw\n/SJZ8dOMMnVVf8x3QSfrG59Vakc5rldfTI7I52wQ6u877So1Y0ixnYKqxiPP\nTyRaufpZiKX7KzOKOr9c8ipovW7RIQCB8dF9yxWB/IlZI0ooEGeIciZ4rxnI\nZ4a5m9szeyHQtYLV5W2vfqhbt+3Yar+QSK7OPnoc+TDxMGKDj+7m6BVjb5rs\n+OFhe94Og4WmmfYFqO8mRXKkrwFwDVeybud4cGAOPTFT2QZqufc7i1MNpjGb\nAAdfCs89Iju7xZ3TgJeCXk3zk5Q8yoOXLmgWcROuwmLIEspB/RmwyHCnITkK\ntMCWhU1KPQjhCuTBal1+pc6c1Qjb1RFIpKQz4ne1jKcDJED+fblSjha9EtfY\nkh90eN0gCE2oVlcVYi784ieWx+/JLYwb7NBhHfvP0NmPf1uLfZJyIG7oZ9Kk\nJg/GnlYWhAlj5g0rgdDUqMzXz2ZI49ifmB2LVj/s0wjZJEG4fJ2FLfa0wHBY\na+0c\r\n=dhEq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClM9e5ZorCjU6pvxhiVNpSsbXCzAORI+F+h6gaSkMULAIgMDjE5VB415NEQ0yP/3hHH0bj3n3yFA+C+cYndCX3CHs="}]},"_npmUser":{"name":"kevins8","email":"kevinslin8@gmail.com"},"directories":{},"maintainers":[{"name":"kevins8","email":"kevinslin8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eleventy-plugin-seo_0.5.1_1609265884782_0.4562870122257736"},"_hasShrinkwrap":false},"0.6.0":{"name":"@dendronhq/eleventy-plugin-seo","version":"0.6.0","description":"Eleventy plugin to generate meta tags for improved SEO.","main":".eleventy.js","scripts":{"check":"npx prettier --check 'src/**/*.js' 'test/**/*.js' .eleventy.js","test":"npx nyc --reporter=lcov --reporter=text ava"},"repository":{"type":"git","url":"git+https://github.com/artstorm/eleventy-plugin-seo.git"},"keywords":["eleventy","eleventy-plugin","seo"],"author":{"name":"Johan Steen"},"license":"MIT","bugs":{"url":"https://github.com/artstorm/eleventy-plugin-seo/issues"},"homepage":"https://github.com/artstorm/eleventy-plugin-seo#readme","devDependencies":{"ava":"^3.5.0","nyc":"^14.1.1","prettier":"^1.18.2"},"dependencies":{"html-entities":"^1.2.1","lodash":"^4.17.19"},"gitHead":"0f7591b6ee4ddeba08050c8d80f27cb9d6a5516b","_id":"@dendronhq/eleventy-plugin-seo@0.6.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-vd9gePPV198jamkS1qUanJSVxzfi/4CSs8vIzl/Drmwd02mZb/+HII/KZnLlN8S9iVPpSjKcQdrkH71BywBw9w==","shasum":"02a7e6d9b7f2396260ecd8442fe363e75603161e","tarball":"https://registry.npmjs.org/@dendronhq/eleventy-plugin-seo/-/eleventy-plugin-seo-0.6.0.tgz","fileCount":23,"unpackedSize":26485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2hEZCRA9TVsSAnZWagAA3yQP/2KZOsx/PAb5V4caBJ8u\nl3A8s9m/I0F6eUaw0Rc8mfd/e4Fzji+JktEIBoOaM/eRxIk8fSJAtOl21gPs\n5ZaFbKhjR5edRzotI4C3f/PHF3bpsTjf+PJT71s24UVXwkZukAyO+tn/9O35\n5jTiuO17K93hsTd89X1cDt5GBBsUizXi7wqQZTMJlqte5pOIWqB4fLGQydqo\niz2cVPE15wxWpLQw4iD8c6g/Fiu+fsugPhjmTerkzrwiHR19WxKys8RCwppv\nZhkWtcUGB/iQXLU6XbdDkO40MgJtpvs3ELjek95U0vg3mE34cSWwHpy1PfQ4\nen47eDuCTL3D6FHpjfveeqzWQFu+TK8L8s/dp8pue5qHE4DCkfycEYAeRrEH\nbGX0DHPv+GX/y1S3ZMyIJOybIFPel0DVU6cIxEcs0uEDvylQrzAe+P4hWyVK\nhqIaGZ5E6e9MGNmvBmWHXPFI1O8urBMVC+Z2Nf7T5dPspXYf6gU5LPJaQ2p1\nbrXoV6JGmXyO3D6pXS/l4WmQwu2nTV9iLFK02GTO4XQUJ/RDC5FfBm1RM00u\nw2EhYobspNQPxiAlSS9CtVreMki8bAL36CBN8O5w8vOFi7jRtWHJw1IHrHMx\n6Y86b0OPQZIpT84zrviRc5M+KqGKVlSyOoEogisSOOsCAW6HL5dxvI7UgVpq\nT2o3\r\n=ZJ9T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOn4nBE9BztqZYgYVcOoMM9Wd2NIUM3IDP87m47r+j/QIhAMVjmsdc5SmDifb1e/dprUKf0Ccy4EA2yOvRAdaM6nFd"}]},"_npmUser":{"name":"kevins8","email":"kevinslin8@gmail.com"},"directories":{},"maintainers":[{"name":"kevins8","email":"kevinslin8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eleventy-plugin-seo_0.6.0_1624903960678_0.0381443858120083"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-29T18:18:04.555Z","0.5.1":"2020-12-29T18:18:04.903Z","modified":"2022-04-05T03:44:40.715Z","0.6.0":"2021-06-28T18:12:40.781Z"},"maintainers":[{"name":"kevins8","email":"kevinslin8@gmail.com"}],"description":"Eleventy plugin to generate meta tags for improved SEO.","homepage":"https://github.com/artstorm/eleventy-plugin-seo#readme","keywords":["eleventy","eleventy-plugin","seo"],"repository":{"type":"git","url":"git+https://github.com/artstorm/eleventy-plugin-seo.git"},"author":{"name":"Johan Steen"},"bugs":{"url":"https://github.com/artstorm/eleventy-plugin-seo/issues"},"license":"MIT","readme":"# About Eleventy Plugin SEO\n\nAn [Eleventy](https://github.com/11ty/eleventy) plugin to generate meta tags for improved SEO using the Liquid or Nujucks templating engines.\n\n[![GitHub Actions](https://github.com/artstorm/eleventy-plugin-seo/workflows/CI/badge.svg)](https://github.com/artstorm/eleventy-plugin-seo/actions)\n[![GitHub Actions](https://github.com/artstorm/eleventy-plugin-seo/workflows/style/badge.svg)](https://github.com/artstorm/eleventy-plugin-seo/actions)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/1ed1dcde669edcc8240a/test_coverage)](https://codeclimate.com/github/artstorm/eleventy-plugin-seo/test_coverage)\n[![Maintainability](https://api.codeclimate.com/v1/badges/1ed1dcde669edcc8240a/maintainability)](https://codeclimate.com/github/artstorm/eleventy-plugin-seo/maintainability)\n\n_I wrote this plugin when moving from Jekyll to Eleventy to get the functionality I previously had with Jekyll SEO Tag._\n\n## Features\n\n* Page title with styling options and pagination.\n* Page description.\n* Canonical URL.\n* Robots meta directive for pagination.\n* Author meta directive.\n* Open Graph markup.\n* Twitter Card markup.\n* Supports Liquid and Nunjucks.\n\n## Installation\n\nAvailable on [npm](https://www.npmjs.com/package/eleventy-plugin-seo):\n\n```sh\nnpm install eleventy-plugin-seo --save\n```\n\nAdd the plugin to `.eleventy.js`:\n\n```js\nconst pluginSEO = require(\"eleventy-plugin-seo\");\n\nmodule.exports =  function(eleventyConfig) {\n  eleventyConfig.addPlugin(pluginSEO, require(\"./src/_data/seo.json\"));\n};\n```\n\n## Usage\n\nAdd the following right before `</head>` in your site's template(s):\n\nLiquid:\n```\n{% seo %}\n```\n\nNunjucks:\n```\n{% seo \"\" %}\n```\n\nDone!\n\n### Front Matter\n\nThe plugin uses these front matters when available:\n\n```yml\n---\ntitle:   Some page title\nexcerpt: Some page excerpt\nauthor:  Jane Doe\nimage:   foo.jpg\nogtype:  website\n---\n```\n\n`ogtype` defaults to `article`, set it to `website` or something more appropriate via front matter where required.\n\n## Config\n\nPass in an object with config options to the plugin:\n\n```js\neleventyConfig.addPlugin(pluginSEO, {\n  title: \"Foobar Site\",\n  description: \"Lorem ipsum dolor sit amet, consectetur adipiscing elit.\",\n  url: \"https://foo.com\",\n  author: \"Jane Doe\",\n  twitter: \"username\",\n  image: \"foo.jpg\"\n});\n```  \n\nAlternatively keep the options in an external file and require it:\n\n```js\neleventyConfig.addPlugin(pluginSEO, require(\"./src/_data/seo.json\"));\n```\n\n### title\n\nUses the title in front matter and by default the site title gets appended to the page title, `page title - site title`. Page with page number gets appended to the page title when paginated. \n\nSee options for customization.\n\n### description\n\nUses front matter excerpt to generate the description. If no excerpt is set for a page it falls back on using the site description in the config. \n\n### url\n\nFull URL to the site without trailing slash, `https://foo.com`.\n\n### author\n\nFull name of the site author, `Jane Doe`. Can be overridden on a per page basis using `author` in front matter.\n\n### twitter\n\nTwitter username for the author of the site. Used when generating the markup for Twitter cards.\n\n### image\n\nURL to default image to use if none is set in front matter when creating markup blocks for open graph and Twitter cards.\n\n### Options\n\nThe behavior of the output can be controlled via an options object that can be passed in with the config.\n\n```js\neleventyConfig.addPlugin(pluginSEO, {\n  title: \"Foobar Site\",\n  ...\n  options: {\n    titleStyle: \"minimalistic\",\n    titleDivider: \"|\",\n    imageWithBaseUrl: true,\n    twitterCardType: \"summary_large_image\"\n  }\n});\n```  \n\n#### titleStyle\n\nSetting the style to `minimalistic` removes the appending of the site title to all title strings.\n\n#### titleDivider\n\nChanges the divider between elements in the title output from `-` to any custom character or string.\n\n#### imageWithBaseUrl\n\nPrepends the config `url` to the `image` option.\n\n#### twitterCardType\n\nCard type for Twitter card. Default is `summary`.\n\n## Additional Tags\n\nWhile adding the `seo` tag is all that is needed, the plugin defines more tags that it uses internally that can be convenient to use in other places.\n\n* [Additional Tags](doc/additional-tags.md)\n","readmeFilename":"README.md"}