<commit_before>defmodule Krihelinator.LayoutView do
  use Krihelinator.Web, :view

  def navbar_link(assigns) do
    render "navbar_link.html", assigns
  end

  def page_title(assigns) do
    case action_name(assigns.conn) do
      :languages -> "Languages | the Krihelinator"
      :about -> "About | the Krihelinator"
      :language -> "#{assigns.language.name} | the Krihelinator"
      :languages_history -> "Languages history | the Krihelinator"
      _whatever -> "the Krihelinator"
    end
  end
end
<commit_msg>Frontend: Nice HTML titles for the showcases pages. #121<commit_after>defmodule Krihelinator.LayoutView do
  use Krihelinator.Web, :view

  def navbar_link(assigns) do
    render "navbar_link.html", assigns
  end

  def page_title(assigns) do
    case action_name(assigns.conn) do
      :languages -> "Languages | the Krihelinator"
      :about -> "About | the Krihelinator"
      :language -> "#{assigns.language.name} | the Krihelinator"
      :languages_history -> "Languages history | the Krihelinator"
      :showcases -> "Showcases | the Krihelinator"
      :showcase -> "#{assigns.showcase.name} | the Krihelinator"
      _whatever -> "the Krihelinator"
    end
  end
end

{'fraction_non_alphanumeric': 0.10175145954962468, 'fraction_numerical': 0.0025020850708924102, 'mean_word_length': 3.4444444444444446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5770802', 'n_tokens_mistral': 423, 'n_tokens_neox': 394, 'n_words': 100}