<commit_before>- unless obj.nil?
  - cache [obj, @seo_page] do
    .text_content
      - seo = obj.seo
      - if (!defined?(h1) || h1) && seo and !seo.h1.blank?
        h1= seo.h1
        
      - if obj.content.blank?
        - unless @seo_page.nil?
          = raw @seo_page.page_content
      - else
        - if obj.is_a?(Hancock::Pages::Page)
          = raw obj.page_content
        - else
          = raw obj.content
              
      = render 'shared/admin_link', obj: obj
      - if !@seo_page.nil? && (@seo_page.id != obj.id || @seo_page.class.name != obj.class.name)
        = render 'shared/admin_link', obj: @seo_page

  - content_for :meta do
    - cache [obj, 'meta'] do
      = render 'shared/meta', obj: obj
      = render 'shared/og', title: obj.get_og_title, image: obj.og_image

  - content_for :title do
    - if obj.title
      = obj.title<commit_msg>page_content render fixes<commit_after>- unless obj.nil?
  - cache [obj, @seo_page] do
    .text_content
      - seo = obj.seo
      - if (!defined?(h1) || h1) && seo and !seo.h1.blank?
        h1= seo.h1
        
      - if obj.content.blank?
        - unless @seo_page.nil?
          == begin @seo_page.page_content(self) rescue @seo_page.page_content end
      - else
        - if obj.is_a?(Hancock::Pages::Page)
          == begin obj.page_content(self) rescue obj.page_content end
        - else
          == obj.content
              
      = render 'shared/admin_link', obj: obj
      - if !@seo_page.nil? && (@seo_page.id != obj.id || @seo_page.class.name != obj.class.name)
        = render 'shared/admin_link', obj: @seo_page

  - content_for :meta do
    - cache [obj, 'meta'] do
      = render 'shared/meta', obj: obj
      = render 'shared/og', title: obj.get_og_title, image: obj.og_image

  - content_for :title do
    - if obj.title
      = obj.title
{'fraction_non_alphanumeric': 0.13998914812805208, 'fraction_numerical': 0.005425935973955507, 'mean_word_length': 1.9646302250803858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5550473', 'n_tokens_mistral': 665, 'n_tokens_neox': 659, 'n_words': 144}