eleventy-plugin-11ndieweb

0.1.4 • Public • Published

11ndieWeb

Todo

  1. All functions called from one function copied to file (use redirects and path to route to proper function)
  2. Append redirects to netlify.toml? Or do manually?
  3. Make webmention interface?

Uses

Create an IndieWeb website

Use a starter site that includes 11ndieWeb for a fully-featured IndieWeb website with minimal configuration required

Add IndieWeb features to your current site

Add this plugin to your current 11ty site for all the IndieWeb goodies. You'll want to make sure your directory and data structure is set up for it, and add microformats to your templates

Self-Hosted Webmentions

Deploy without a site (or with, if you want) and use the webmention-receiver and API for hosting your own webmentions. The API is intended to be as close to webmention.io as possible.

Options

const indieweb = require("eleventy-plugin-11ndieweb");

module.exports = function (eleventyConfig) {
  let options = {
    functionsDirectory: "functions" // Directory to copy serverless functions into, default: "functions"
  }

  eleventyConfig.addPlugin(indieweb, options)
}

Installation

npm install eleventy-plugin-11ndieweb

You need to have the following environment variables set: GITHUB_TOKEN: An access token from Github

Package Sidebar

Install

npm i eleventy-plugin-11ndieweb

Weekly Downloads

8

Version

0.1.4

License

MIT

Unpacked Size

95.1 kB

Total Files

36

Last publish

Collaborators

  • rockorager