<commit_before>class Thelonious

  module Helpers

    def site_title(page_title = nil)
      page_title.nil? ? "#{BLOG_DESCRIPTION} | #{BLOG_TITLE}" : "#{page_title} | #{BLOG_TITLE}"
    end

    def permalink_url(post)
      "#{BLOG_URL}/#{post.created_at.strftime('%Y/%m')}/#{post.slug}"
    end

    def tag_url(tag)
      "#{BLOG_URL}/tag/#{Rack::Utils.escape(tag)}"
    end
<commit_msg>Small fix to helper on permalinks; seems to all work with Sinatra 1.0<commit_after>class Thelonious

  module Helpers

    def site_title(page_title = nil)
      page_title.nil? ? "#{BLOG_DESCRIPTION} | #{BLOG_TITLE}" : "#{page_title} | #{BLOG_TITLE}"
    end

    def permalink_url(post)
      "#{BLOG_URL}/#{post.published_at.strftime('%Y/%m')}/#{post.slug}"
    end

    def tag_url(tag)
      "#{BLOG_URL}/tag/#{Rack::Utils.escape(tag)}"
    end

{'fraction_non_alphanumeric': 0.16864608076009502, 'fraction_numerical': 0.0023752969121140144, 'mean_word_length': 3.631868131868132, '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': '3253039', 'n_tokens_mistral': 338, 'n_tokens_neox': 332, 'n_words': 54}