Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

readme.mkd

wintersmith-static-comments

Usage

  1. Add this repository as a submodule within your templates directory

  2. Add an email in config.json with the key comment_email

     "locals": {
       ...
       "comment_email": "comment@example.com"
     }
    
  3. Include wintersmith-static-comments/comments.jade in your main template

  4. Create a directory tree within your contents directory in the form:

     comments
     |-- [post-url]
     |   `-- 01.txt
     `-- [post2-url]
         |-- 01.txt
         `-- 02.txt
    

... where 01.txt, 02.txt, etc. are plain-text files in chronological order with some leading metadata, e.g.:

name: Tom Vincent
date: 2011-04-07T19:18:06
url: http://tlvince.com

An insightful comment.

The only mandatory metadata keys are name and date; arbitrary keys can later be accessed in the template.

Author

Copyright 2012 Tom Vincent http://tlvince.com/contact

License

Released under the MIT License.

About

Static commenting templates for Wintersmith

Resources

License

Releases

No releases published

Sponsor this project

 
Learn more about GitHub Sponsors

Packages

No packages published
You can’t perform that action at this time.