/usr/share/tdiary/contrib/plugin/canonical.rb is in tdiary-contrib 3.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | # canonical.rb
if /latest/ =~ @mode then
add_header_proc do
<<-HTML
<link rel="canonical" href="#{@conf.base_url}">
HTML
end
end
|