You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The {{ snippet }} template function would have following signature: snippet NAME [ARGS ..], with arguments being passed into the template, accessible with the param [N] function. In the above example, the SRI checksum would be dynamically calculated from the given argument. In this way, complex standardized blocks of functionality can be composed using snippets.
Feature: Snippets
A mechanism to load pre-defined chunks of text that can be inserted inline to streamline/standardize certain outputs.
The above template would produce roughly the following output:
The
{{ snippet }}
template function would have following signature:snippet NAME [ARGS ..]
, with arguments being passed into the template, accessible with theparam [N]
function. In the above example, the SRI checksum would be dynamically calculated from the given argument. In this way, complex standardized blocks of functionality can be composed using snippets.Configuration Sample
The text was updated successfully, but these errors were encountered: