Skip to content

Commit

Permalink
add federalist_url
Browse files Browse the repository at this point in the history
  • Loading branch information
gemfarmer committed Nov 1, 2016
1 parent 7180847 commit 159e497
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions _plugins/author.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,11 @@ def lookup(input, args)
def set_site_url
baseurl = Jekyll.sites[0].config['baseurl']
config_url = Jekyll.sites[0].config['url']
destination = Jekyll.sites[0].config['destination']
site_url = if baseurl.empty?
unless destination.include? '_site'
config_url
end
site_url = if baseurl.include? 'site/18F/18f.gsa.gov'
config_url
else
baseurl
end
site_url ||= ""
end

# team_link filter
Expand Down

0 comments on commit 159e497

Please sign in to comment.