<commit_before>- title @title
- sidebar

%h2 Latest Winnipeg Election News

%p These news stories are automatically gathered from #{ link_to 'Google News', 'http://news.google.ca'} by searching for the names of the candidates in the upcoming Winnipeg municipal election.
%p
  %em Coming Soon: 
  View articles by candidate.
%br

- @current_page_by_date.each do |date, articles|
  %h3= date
  - articles.each do |n|
    %h4
      = link_to n.title, n.url
      \- #{n.source}
    %p.small
      %strong Mentions: 
      - n.mentions.each do |m|
        <a href="/ward/#{m.candidate.ward.ward_url}">#{m.candidate.name}</a>
  %br

%p
  %strong Read More:
  
%ul.pagination
  - @current_page.paginator.window(:inner => 2, :outer => 1, :extras => [:previous, :next]) do |page, path, classes|
    - content_tag_for :li, page, :class => (classes << :page).join(' ') do
      %span= link_to_if path, { :previous => "&lt; newer", :next => "older &gt;" }[page] || page.number, path<commit_msg>Using google news urls for articles seems to solve missing cjob article issue.<commit_after>- title @title
- sidebar

%h2 Latest Winnipeg Election News

%p These news stories are automatically gathered from #{ link_to 'Google News', 'http://news.google.ca'} by searching for the names of the candidates in the upcoming Winnipeg municipal election.
%p
  %em Coming Soon: 
  View articles by candidate.
%br

- @current_page_by_date.each do |date, articles|
  %h3= date
  - articles.each do |n|
    %h4
      = link_to n.title, n.gnews_url
      \- #{n.source}
    %p.small
      %strong Mentions: 
      - n.mentions.each do |m|
        <a href="/ward/#{m.candidate.ward.ward_url}">#{m.candidate.name}</a>
  %br

%p
  %strong Read More:
  
%ul.pagination
  - @current_page.paginator.window(:inner => 2, :outer => 1, :extras => [:previous, :next]) do |page, path, classes|
    - content_tag_for :li, page, :class => (classes << :page).join(' ') do
      %span= link_to_if path, { :previous => "&lt; newer", :next => "older &gt;" }[page] || page.number, path
{'fraction_non_alphanumeric': 0.15267550319096712, 'fraction_numerical': 0.004909180166912126, 'mean_word_length': 3.3177966101694913, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '2752281', 'n_tokens_mistral': 722, 'n_tokens_neox': 691, 'n_words': 215}