Commits

Show all
Author Commit Message Labels Comments Date
David Chambers
Updated permalink code to loop through descendants of `#main` rather than descendants of `document.body`.
David Chambers
Added "pilcrow" permalinks to default template (à la djangoproject.com).
David Chambers
Added iPad-specific rules to default style sheet.
David Chambers
Added `JS` to default settings in order to significantly simplify `_defaults`.
David Chambers
Refactored "stylesheets" code to match neighbouring "scripts" code.
David Chambers
Moved `import` statement to ensure that the `disqus` module is not required unless commenting is enabled.
David Chambers
Removed ridiculous `try` statement.
David Chambers
Removed `now` from default context dictionary.
David Chambers
Simplified syntax of the `JS` setting.
David Chambers
Replaced ugly `DISQUS` setting with `DISQUS_API_KEY` and `DISQUS_SHORTNAME`. The sort order of comments is no longer configurable, but templates can easily reverse the order if required.
David Chambers
Added `GRAVATAR_DEFAULT_IMAGE_URL` and `GRAVATAR_IMAGE_SIZE` to default settings.
David Chambers
Changed `gravatar` template filter to make Gravatar settings optional once again.
David Chambers
Replaced ugly `GRAVATAR` setting with `GRAVATAR_DEFAULT_IMAGE_URL` and `GRAVATAR_IMAGE_SIZE`.
David Chambers
Fixed bug in `moderate` handler.
David Chambers
Simplified the base template slightly.
David Chambers
Added "mango:" prefix to all cache keys.
David Chambers
Added `BASE_URL` to top-level cache key to allow multiple Mango sites to share a cache. Possibly _all_ cache keys should be prefixed to avoid (highly unlikely) collisions with non-Mango keys.
David Chambers
Updated default style sheet such that submit buttons are correctly positioned with or without a preceding checkbox.
David Chambers
Added `csrf_token` to both the contact form and the comment form.
David Chambers
Added rules to hide the textual feedback provided following invalid form submission and to visually distinguish the offending field(s).
David Chambers
Added selectors to default style sheet to share the contact form's styling with the comment form. Added `placeholder` fallback to document template.
David Chambers
Replaced the check for native `placeholder` support with a more elegant equivalent.
David Chambers
Added rules to `default.css` to ensure that the `background-color` of selected text within the header is `transparent`.
David Chambers
Fixed bug affecting installations without `AKISMET_API_KEY` defined.
David Chambers
Replaced `thread` with `thread_id` to avoid unbound local errors.
David Chambers
Integrated Akismet spam filtering.
David Chambers
Corrected `ip_address` argument in call to `DisqusService.create_post`. Comments were being saved with the _server's_ IP address!
David Chambers
Added `VERSION`.
David Chambers
Added `placeholder` support for older browsers.
David Chambers
Alphabetized template tag definitions.
  1. Prev
  2. Next