Skip to content
Snippets Groups Projects
Commit 0a948ab8 authored by resynth1943's avatar resynth1943
Browse files

Add centertext paired shortcode

parent 0da8044b
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,10 @@ module.exports = function(eleventyConfig) {
`<div class="take-away">${content}</div>`
);
eleventyConfig.addPairedShortcode('centertext', content =>
`<div class="centered-text">${content}</div>`
);
// eleventyConfig.addShortcode('isDefined', function ())
// Get the first `n` elements of a collection.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment