mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 18:32:43 +01:00
Remove html suffixes
This commit is contained in:
@@ -11,12 +11,12 @@ module Jekyll
|
||||
def initialize(site, author)
|
||||
@site = site
|
||||
@base = site.source
|
||||
@name = "#{author['contributions_url']}.html"
|
||||
@name = "#{author['contributions_url']}"
|
||||
|
||||
self.process(@name)
|
||||
self.read_yaml(File.join(@base, '_layouts'), 'contributions.html')
|
||||
self.read_yaml(File.join(@base, '_layouts'), 'contributions')
|
||||
self.data['author_full'] = author
|
||||
self.data['title'] = "Contributions by <a href=\"/#{site.data['i18n'][site.config['lang']]['prefix']['user']}#{author['id']}.html\">#{author['name']}</a>"
|
||||
self.data['title'] = "Contributions by <a href=\"/#{site.data['i18n'][site.config['lang']]['prefix']['user']}#{author['id']}\">#{author['name']}</a>"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user