Skip to content

Commit

Permalink
Testing continues...
Browse files Browse the repository at this point in the history
  • Loading branch information
janosrusiczki committed Oct 3, 2023
1 parent d643f21 commit 2a74b04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _plugins/year_utilities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def render(context)
}.uniq

if @text.start_with? "year_links"
years.map { |year| "<a href='/#{year}/' class='year-link'>#{year}</a>" }.join(', ')
puts "Processing year_links..."
the_result = years.map { |year| "<a href='/#{year}/' class='year-link'>#{year}</a>" }.join(', ')
end

puts the_result
Expand Down

0 comments on commit 2a74b04

Please sign in to comment.