Sha256: d7c7ce6ae045703412dc5ac46dd604ba59e71b97520e114948fe493c09716b15
Contents?: true
Size: 326 Bytes
Versions: 68
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module Bridgetown module Tags class WithTag < Liquid::Block def render(context) region_name = @markup.strip context["content_with_region_#{region_name}"] = super "" end end end end Liquid::Template.register_tag("with", Bridgetown::Tags::WithTag)
Version data entries
68 entries across 68 versions & 1 rubygems