{"id":18265102,"url":"https://github.com/docpad-archive/docpad-plugin-nativecomments","last_synced_at":"2025-06-25T17:09:48.820Z","repository":{"id":6174280,"uuid":"7404244","full_name":"docpad-archive/docpad-plugin-nativecomments","owner":"docpad-archive","description":"Adds support for native comments to DocPad","archived":false,"fork":false,"pushed_at":"2015-06-11T11:48:48.000Z","size":247,"stargazers_count":8,"open_issues_count":2,"forks_count":3,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-06-03T11:29:18.350Z","etag":null,"topics":["docpad-plugin","unsupported"],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docpad-archive.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-02T08:53:25.000Z","updated_at":"2019-11-30T20:49:47.000Z","dependencies_parsed_at":"2022-09-14T18:51:08.710Z","dependency_job_id":null,"html_url":"https://github.com/docpad-archive/docpad-plugin-nativecomments","commit_stats":null,"previous_names":["docpad/docpad-plugin-nativecomments"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/docpad-archive/docpad-plugin-nativecomments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docpad-archive%2Fdocpad-plugin-nativecomments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docpad-archive%2Fdocpad-plugin-nativecomments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docpad-archive%2Fdocpad-plugin-nativecomments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docpad-archive%2Fdocpad-plugin-nativecomments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docpad-archive","download_url":"https://codeload.github.com/docpad-archive/docpad-plugin-nativecomments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docpad-archive%2Fdocpad-plugin-nativecomments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261917440,"owners_count":23229919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docpad-plugin","unsupported"],"created_at":"2024-11-05T11:17:00.501Z","updated_at":"2025-06-25T17:09:48.783Z","avatar_url":"https://github.com/docpad-archive.png","language":"CoffeeScript","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=QB8GQPZAH84N6"],"categories":[],"sub_categories":[],"readme":"# Native Comments Plugin for [DocPad](https://docpad.org)\n\n\u003c!-- BADGES/ --\u003e\n\n[![Build Status](https://img.shields.io/travis/docpad/docpad-plugin-nativecomments/master.svg)](http://travis-ci.org/docpad/docpad-plugin-nativecomments \"Check this project's build status on TravisCI\")\n[![NPM version](https://img.shields.io/npm/v/docpad-plugin-nativecomments.svg)](https://npmjs.org/package/docpad-plugin-nativecomments \"View this project on NPM\")\n[![NPM downloads](https://img.shields.io/npm/dm/docpad-plugin-nativecomments.svg)](https://npmjs.org/package/docpad-plugin-nativecomments \"View this project on NPM\")\n[![Dependency Status](https://img.shields.io/david/docpad/docpad-plugin-nativecomments.svg)](https://david-dm.org/docpad/docpad-plugin-nativecomments)\n[![Dev Dependency Status](https://img.shields.io/david/dev/docpad/docpad-plugin-nativecomments.svg)](https://david-dm.org/docpad/docpad-plugin-nativecomments#info=devDependencies)\u003cbr/\u003e\n[![Gratipay donate button](https://img.shields.io/gratipay/docpad.svg)](https://www.gratipay.com/docpad/ \"Donate weekly to this project using Gratipay\")\n[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[![PayPal donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a \"Donate once-off to this project using BitCoin\")\n[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V \"Buy an item on our wishlist for us\")\n\n\u003c!-- /BADGES --\u003e\n\n\nAdds support for native comments to [DocPad](https://docpad.org)\n\n\n## Install\n\n1. Install the Plugin\n\n  ```\n docpad install nativecomments\n  ```\n\n1. Output the comment form and listing. You may have to change your document's extension (that you place this snippet inside) to `my-document.html.eco.eco` to ensure the inner eco logic within the block is rendered correctly.\n\n  ```\n  \u003c%- @getCommentsBlock() %\u003e\n  ```\n\n1. Create a `comment` layout that contains something like:\n\n\t``` erb\n\t---\n\tlayout: default\n\t---\n\n\t\u003carticle class=\"comment\"\u003e\n\t    \u003ch1 class=\"comment-title\"\u003e\u003c%= @document.title %\u003e\u003c/h1\u003e\n\t    \u003cspan class=\"comment-author\"\u003e\u003c%= @document.author %\u003e\u003c/span\u003e\n\t    \u003ca href=\"\u003c%= @getDatabase().get(@document.for)?.get('url') %\u003e\" class=\"comment-for\"\u003e\u003c%= @getDatabase().get(@document.for)?.get('title') %\u003e\u003c/a\u003e\n\t    \u003cdiv class=\"comment-body\"\u003e\n\t        \u003c%- @content %\u003e\n\t    \u003c/div\u003e\n\t\u003c/article\u003e\n\t```\n\n\n## Configure\n\nSome configuration options are available. Check out `src/nativecomments.plugin.coffee` for them.\n\n\n\u003c!-- HISTORY/ --\u003e\n\n## History\n[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/docpad/docpad-plugin-nativecomments/blob/master/HISTORY.md#files)\n\n\u003c!-- /HISTORY --\u003e\n\n\n\u003c!-- CONTRIBUTE/ --\u003e\n\n## Contribute\n\n[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/docpad/docpad-plugin-nativecomments/blob/master/CONTRIBUTING.md#files)\n\n\u003c!-- /CONTRIBUTE --\u003e\n\n\n\u003c!-- BACKERS/ --\u003e\n\n## Backers\n\n### Maintainers\n\nThese amazing people are maintaining this project:\n\n- Benjamin Lupton \u003cb@lupton.cc\u003e (https://github.com/balupton)\n\n### Sponsors\n\nNo sponsors yet! Will you be the first?\n\n[![Gratipay donate button](https://img.shields.io/gratipay/docpad.svg)](https://www.gratipay.com/docpad/ \"Donate weekly to this project using Gratipay\")\n[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr \"Donate monthly to this project using Flattr\")\n[![PayPal donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=QB8GQPZAH84N6 \"Donate once-off to this project using Paypal\")\n[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a \"Donate once-off to this project using BitCoin\")\n[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](http://amzn.com/w/2F8TXKSNAFG4V \"Buy an item on our wishlist for us\")\n\n### Contributors\n\nThese amazing people have contributed code to this project:\n\n- [Benjamin Lupton](https://github.com/balupton) \u003cb@lupton.cc\u003e — [view contributions](https://github.com/docpad/docpad-plugin-nativecomments/commits?author=balupton)\n\n[Become a contributor!](https://github.com/docpad/docpad-plugin-nativecomments/blob/master/CONTRIBUTING.md#files)\n\n\u003c!-- /BACKERS --\u003e\n\n\n\u003c!-- LICENSE/ --\u003e\n\n## License\n\nUnless stated otherwise all works are:\n\n- Copyright \u0026copy; 2013+ Bevry Pty Ltd \u003cus@bevry.me\u003e (http://bevry.me)\n\nand licensed under:\n\n- The incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://opensource.org/licenses/mit-license.php)\n\n\u003c!-- /LICENSE --\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocpad-archive%2Fdocpad-plugin-nativecomments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocpad-archive%2Fdocpad-plugin-nativecomments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocpad-archive%2Fdocpad-plugin-nativecomments/lists"}