Commit b6c761a4 authored by sarah's avatar sarah
Browse files

let's try to use patternlab for osp website

parent 6d7284b2
<?php
/**
* @param Twig_Environment $env - The Twig Environment - https://twig.symfony.com/api/1.x/Twig_Environment.html
* @param $config - Config of `@basalt/twig-renderer`
*/
function addCustomExtension(\Twig_Environment &$env, $config) {
/**
* @example `<h1>Hello {{ customTwigFunctionThatSaysWorld() }}!</h1>` => `<h1>Hello Custom World</h1>`
*/
// $env->addFunction(new \Twig_SimpleFunction('customTwigFunctionThatSaysWorld', function () {
// return 'Custom World';
// }));
/*
* Reverse a string
* @param string $theString
* @example `<p>{{ reverse('abc') }}</p>` => `<p>cba</p>`
*/
// $env->addFunction(new \Twig_SimpleFunction('reverse', function ($theString) {
// return strrev($theString);
// }));
// $env->addExtension(new \My\CustomExtension());
// `{{ foo }}` => `bar`
// $env->addGlobal('foo', 'bar');
// example of enabling the Twig debug mode extension (ex. {{ dump(my_variable) }} to check out the template's available data) -- comment out to disable
// $env->addExtension(new \Twig_Extension_Debug());
}
{"version":1,"timestamp":1569336664708,"graph":{"options":{"directed":true,"multigraph":false,"compound":false},"nodes":[{"v":"03-templates/base.twig","value":{"compileState":"clean"}},{"v":"03-templates/repo.twig","value":{"compileState":"clean"}},{"v":"02-organisms/commit-list.twig","value":{"compileState":"clean"}}],"edges":[]}}
../acorn/bin/acorn
\ No newline at end of file
../atob/bin/atob.js
\ No newline at end of file
../browserslist/cli.js
\ No newline at end of file
../js-beautify/js/bin/css-beautify.js
\ No newline at end of file
../editorconfig/bin/editorconfig
\ No newline at end of file
../errno/cli.js
\ No newline at end of file
../esprima/bin/esparse.js
\ No newline at end of file
../esprima/bin/esvalidate.js
\ No newline at end of file
../extract-zip/cli.js
\ No newline at end of file
../he/bin/he
\ No newline at end of file
../js-beautify/js/bin/html-beautify.js
\ No newline at end of file
../html-minifier/cli.js
\ No newline at end of file
../hogan.js/bin/hulk
\ No newline at end of file
../import-local/fixtures/cli.js
\ No newline at end of file
../js-beautify/js/bin/js-beautify.js
\ No newline at end of file
../js-yaml/bin/js-yaml.js
\ No newline at end of file
../jsesc/bin/jsesc
\ No newline at end of file
../json5/lib/cli.js
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment