Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
junsan1 committed Jul 6, 2024
1 parent 224e3a0 commit 95f5de4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _plugins/letter_page_generator.rb
Original file line number Diff line number Diff line change
@@ -49,6 +49,8 @@ def process_section(site, lang, section, section_path)
def process_markdown_file(site, file)
content = File.read(file, encoding: 'utf-8')
title = extract_title_from_content(content)

Jekyll.logger.info "LetterPageGenerator:", "Extracted title for #{file}: #{title.inspect}"

page = Jekyll::Page.new(site, site.source, File.dirname(file), File.basename(file))
page.data['layout'] = 'base'

0 comments on commit 95f5de4

Please sign in to comment.