Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change reference to global sites var
  • Loading branch information
Marco Segreto committed Jan 3, 2018
1 parent 319a1f8 commit 95eab64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _plugins/team.rb
@@ -1,7 +1,7 @@
module Jekyll
module TeamFilter
def team_photo(name)
if site.env != 'development'
if Jekyll.sites[0].config['env'] != 'development'
baseurl = Jekyll.sites[0].config['baseurl']
default = "<img class='img-circle team-img bio-clip' "\
"src='#{baseurl}/assets/img/logos/18F-Logo-M.png' alt='18F logo'>"
Expand Down

0 comments on commit 95eab64

Please sign in to comment.