diff --git a/ChangeLog b/ChangeLog index 4fe4551d9..8e286874a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2014-05-08 TADA Tadashi * fix error on image when edit mode #412 + * remove mobile link discovery tag because it is obsolete. 2014-02-21 TADA Tadashi * add theme_online plugin #291 diff --git a/plugin/00default.rb b/plugin/00default.rb index 8cc5f5540..715595933 100644 --- a/plugin/00default.rb +++ b/plugin/00default.rb @@ -211,7 +211,6 @@ def doctype #{author_name_tag} #{author_mail_tag} #{index_page_tag} - #{mobile_link_discovery} #{icon_tag} #{default_ogp} #{description_tag} @@ -322,17 +321,6 @@ def index_page_tag result.chop.chop end -def mobile_link_discovery - return '' unless /^(latest|day)$/ =~ @mode - uri = @conf.index.dup - uri[0, 0] = base_url if %r|^https?://|i !~ @conf.index - uri.gsub!( %r|/\./|, '/' ) - if @mode == 'day' then - uri += anchor( @date.strftime( '%Y%m%d' ) ) - end - %Q[] -end - def icon_tag if @conf.icon and not(@conf.icon.empty?) then if /\.ico$/ =~ @conf.icon then