<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="description" content="Site description" />
	<meta name="keywords" content="key, words" />
	<title>
	  <%= SETTINGS['name']['church'] %> / <%=h @page.title %>
	</title>
	<link rel="stylesheet" type="text/css" href="/stylesheets/main.css" />
</head>
<body>
<div id="wrap">
  <div id="header">
    <h2><a href="/pages"><%= SETTINGS['name']['church'] %></a></h2>
    <p>Customize this template at /app/views/layouts/main.rhtml</p>
  </div>
<div id="menu">
  <ul>
    <li <% if @page.full_path == ''%>class="current"<% end %>><a href="/pages">Home</a></li>
  	<% Comatose::Page.find_all_by_parent_id(1, :select => 'full_path, title', :order => 'position').each do |link| %>
  		<li <% if @page.full_path[0...link.full_path.length] == link.full_path %>class="current"<% end %>><%= link_to h(link.title), '/pages/' + link.full_path %></li>
  	<% end %>
  </ul>
  <div id="login">
    <p>Members can <a href="/">sign in</a>.</p>
  </div>
  </div>
  <div id="page_desc">
    <p>
      <%= @page.breadcrumbs.map do |link|
        link_to link.title, '/pages/' + link.full_path
      end.join(' &raquo; ') %>
    </p>
    <div id="search">
      <form action="?">
        <div>
          <input type="text" class="sfield" />
          <input type="image" src="/images/search_button.gif" class="sbutton" />
        </div>
      </form>
    </div>
  </div>
  <div id="content_wrap">
    <div id="content">
      <br/>
      <%= yield %>
      <% if @page.children.any? %>
        <div id="sub-links">
          <p>Sub Pages:</p>
          <ul>
            <% @page.children.each do |link| %>
          		<li><%= link_to h(link.title), '/pages/' + link.full_path %></li>
          	<% end %>
          </ul><commit_msg>using page.uri instead of hardcoded /pages/ stuff<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<meta name="description" content="Site description" />
	<meta name="keywords" content="key, words" />
	<title>
	  <%= SETTINGS['name']['church'] %> / <%=h @page.title %>
	</title>
	<link rel="stylesheet" type="text/css" href="/stylesheets/main.css" />
</head>
<body>
<div id="wrap">
  <div id="header">
    <h2><a href="/pages"><%= SETTINGS['name']['church'] %></a></h2>
    <p>Customize this template at /app/views/layouts/main.rhtml</p>
  </div>
<div id="menu">
  <ul>
    <li <% if @page.full_path == ''%>class="current"<% end %>><a href="/pages">Home</a></li>
  	<% Comatose::Page.find_all_by_parent_id(1, :select => 'full_path, title', :order => 'position').each do |link| %>
  		<li <% if @page.full_path[0...link.full_path.length] == link.full_path %>class="current"<% end %>><%= link_to h(link.title), link.uri %></li>
  	<% end %>
  </ul>
  <div id="login">
    <p>Members can <a href="/">sign in</a>.</p>
  </div>
  </div>
  <div id="page_desc">
    <p>
      <%= @page.breadcrumbs.map do |link|
        link_to link.title, link.uri
      end.join(' &raquo; ') %>
      &nbsp;
    </p>
    <div id="search">
      <form action="?">
        <div>
          <input type="text" class="sfield" />
          <input type="image" src="/images/search_button.gif" class="sbutton" />
        </div>
      </form>
    </div>
  </div>
  <div id="content_wrap">
    <div id="content">
      <br/>
      <%= yield %>
      <% if @page.children.any? %>
        <div id="sub-links">
          <p>Sub Pages:</p>
          <ul>
            <% @page.children.each do |link| %>
          		<li><%= link_to h(link.title), link.uri %></li>
          	<% end %>
          </ul>
{'fraction_non_alphanumeric': 0.23815492604662822, 'fraction_numerical': 0.008022060666833792, 'mean_word_length': 2.7891737891737893, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '2460843', 'n_tokens_mistral': 1593, 'n_tokens_neox': 1491, 'n_words': 287}