blob: cdff2daec7b6c9b0c0e8e4a63cb1ccbe0552bcc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
module Jekyll
class ExampleTagBlock < Liquid::Block
def render(context)
text = super
"<span style=\"text-transform: uppercase; font-weight: bold; font-size: .75em;\">Example</span> #{text}"
end
end
end
Liquid::Template.register_tag('example', Jekyll::ExampleTagBlock)
|