diff --git a/_plugins/gtn.rb b/_plugins/gtn.rb index 59850f254e13c..46662634ce080 100644 --- a/_plugins/gtn.rb +++ b/_plugins/gtn.rb @@ -88,19 +88,8 @@ def filter_authors(contributors, contributions) def get_default_link(material) url = nil - if material['type'] == "introduction" - subfolder = 'slides' - else - subfolder = 'tutorials' - end - if material['slides'] - url = "topics/#{material['topic_name']}/#{subfolder}/#{material['tutorial_name']}" - if material['type'] != "introduction" - url += "/slides.html" - else - url += ".html" - end + url = "topics/#{material['topic_name']}/tutorials/#{material['tutorial_name']}.html" end if material['hands_on']