JSPM

docpad-plugin-contactform

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q35425F

Simple contact form with postmark

Package Exports

  • docpad-plugin-contactform

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (docpad-plugin-contactform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Contact form Plugin for DocPad

Adds a simple contact form to DocPad using postmark

Install

  1. Install the Plugin
npm install --save --force docpad-plugin-contactform
  1. Output the contact form. You may have to change your document's extension (that you place this snippet inside) to my-document.html.eco.
<%- @getContactForm() %>

Configure

this needs to be addded to your docpad.coffee configuration file

plugins:
  contactform:
      postmarkAPI: '<your API number here>'
      toEmail: '<your email here>'

History

You can discover the history inside the History.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2013 dospuntocero Ltd