Helpers
Template helpers and utils for any engine. Create an issue on helpers/meta to request a new helper repo, or ask to be added to the org.
Pinned Repositories
handlebars-helper-include
Handlebars helper, alternative to built-in partials. Similar to handlebars-helper-partial, but this helper will allow wildcard (glob) patterns. Like Assemble itself, this helper will automatically determine the correct context to use, or a context may be explicitly passed in as a second parameter.
handlebars-helper-minify
{{minify}} handlebars helper, for minification of HTML with html-minifier.
handlebars-helper-moment
{{moment}} handlebars helper. Combines the powers of Assemble, Handlebars.js and Moment.js into a great helper to master time.
handlebars-helper-partial
Handlebars helper, alternative to built-in partials. Like Assemble itself, this helper will automatically determine the correct context to use, or a context may be explicitly passed in as a second parameter.
handlebars-helper-prettify
{{prettify}} handlebars helper, for formatting ("beautifying") HTML, CSS and JavaScript.
handlebars-helper-repeat
{{repeat}} handlebars helper, for duplicating a block of content n times.
handlebars-helpers
188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
handlebars-helpers-examples
Shows how to use helpers from handlebars-helpers with Assemble.
helper-markdown
Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.
logging-helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Helpers's Repositories
helpers/handlebars-helper-partial
Handlebars helper, alternative to built-in partials. Like Assemble itself, this helper will automatically determine the correct context to use, or a context may be explicitly passed in as a second parameter.
helpers/example-pagination
Nothing to see yet, this repo will eventually contain examples and boilerplate code for adding paging and pagination to your projects with Assemble.
helpers/helper-moment
Template helper for formatting dates with moment.js. Works with Handlebars, Lo-Dash or any template engine that supports helper functions.
helpers/helper-html-table
Create an HTML table from JSON configuration.
helpers/handlebars-helper-isActive
{{isactive}} handlebars helper. Adds an 'active' class to the 'current page'. Class can be customized.
helpers/helper-changelog
Template helper for generating a markdown-formatted changelog from an object, array or yaml file. Should work with Handlebars or Lo-Dash or any engine with support for helper functions.
helpers/helper-copyright
Template helper for adding a basic, one-line copyright statement, with formatting appropriate for LICENSE/LICENSE-MIT or README templates. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registered.
helpers/helper-apidocs
Template helper for automatically generating API docs from code comments. The sync version works with handlebars, lo-dash, or any template engine that supports helper functions.
helpers/helper-geopattern
Template helper for generating a geometric SVG pattern for CSS backgrounds using btmills/geopattern
helpers/template-helper-apidocs
Template helper for automatically generating API docs from code comments. This is based on helper-apidocs, but specifically for applications built-with the Template library.
helpers/helper-issue
Helper to create a URL that pre-populates a Github issue.
helpers/helper-license
Template helper for dynamically generating a basic, one-line license statement based on the given context, e.g. `Released under the MIT license`. Should work with any Handlebars, Lo-Dash, underscore, or any template engine that allows helper functions to be registered.
helpers/helper-octicon
Template helper for displaying octicon SVGs. Should work with any Handlebars, Lo-Dash, underscore or any template engine that allows helper functions to be registered. Also compatible with verb, assemble, and templates.
helpers/meta
General planning around helpers. Also the place to make requests and suggestions.
helpers/handlebars-helper-each
Handlebars each helper, can be used as a sync helper with any handlebars project (as normal) or as an async helper with assemble or libs that support async helpers.
helpers/handlebars-helper-npm-downloads
Get the npm download counts for the specified repository.
helpers/handlebars-helper-variable
Handlebars block helper that adds variables to the context that can be used by following expressions in the same template.
helpers/helper-dateformat
Date helper that uses node-dateformat to format dates. Works with Lo-Dash, Handlebars or any template engine that supports helper functions.
helpers/helper-example
Opinionated template helper that inserts a code example from a filepath.
helpers/helper-front-matter
Template helper for parsing front matter and passing the data to templates as context.
helpers/helper-lookup-deps
Template helper for generating a list of markdown formatted reference links to Github repos for the tree of dependencies and devDependencies listed in package.json.
helpers/helper-npm-downloads
Get the npm download counts for the specified repository.
helpers/helper-slugify
Slugify a URL, path or heading the same way that GitHub formats heading anchors.
helpers/helper-toc
Template helper for generating a table of contents using content from the file in which the helper is used, or for a glob of files.
helpers/handlebars-helper-create-frame
Handlebars block helper for creating private variables that are accessible inside the block.
helpers/helper-ask
Async helper that prompts the user for a value and uses the answer as context for rendering the template.
helpers/helper-codelinks
Generate a list of links that take you to the first line of code for each method in a given directory. (this helper will replace verb-helper-reflinks)
helpers/helper-concat
Template helper for concatenating a list of files using glob patterns. Should work with handlebars, lodash or any template engine that allows helper functions.
helpers/helper-read
Template helper for reading from the file system. Includes both async and sync versions.
helpers/helper-require
Use any node module as a helper in templates. Should work with Handlebars, Lo-Dash, underscore, or any template engine that supports helper functions.