From fb42071776b5ca422a008657a0dd0da3ef78bb0a Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 3 Nov 2016 11:00:38 +0000 Subject: [PATCH] MDL-56241 theme_boost: add example context to block.mustache --- theme/boost/templates/core/block.mustache | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/theme/boost/templates/core/block.mustache b/theme/boost/templates/core/block.mustache index b09b4dbf52d..b898dea7134 100644 --- a/theme/boost/templates/core/block.mustache +++ b/theme/boost/templates/core/block.mustache @@ -1,3 +1,18 @@ +{{! + @template theme_boost/block + + Example context (json): + { + "id": "block0", + "showskiplink": true, + "type": "html", + "ariarole": "complementary", + "title": "Test block", + "blockinstanceid": 1, + "content": "

Hello block world!

" + } + +}} {{! Block Skip Link }} {{#showskiplink}} {{#str}}skipa, access, {{title}}{{/str}} -- 2.11.4.GIT