Class: Jekyll::Tags::HamlInclude
- Inherits:
-
IncludeTag
- Object
- IncludeTag
- Jekyll::Tags::HamlInclude
- Defined in:
- lib/jekyll/haml/markup/include.rb
Overview
include module
Instance Method Summary collapse
Instance Method Details
#read_file(file, context) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/jekyll/haml/markup/include.rb', line 8 def read_file(file, context) return super file, context unless matches_a_haml_template file file_content = read_file_with_context file, context template = split_frontmatter_and_template file_content compile_haml_to_html template end |