Skip to content

Commit

Permalink
Quick hack to get EntryLinker to work in static mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
phillmv committed Mar 27, 2022
1 parent fbab427 commit 742bbf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/entry_linker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ def blacklisted_paths
return @blacklisted_paths
end

if Arquivo.static?
return []
end

# don't want to consider autogen tag and contact urls to be a "link"
# since we keep track of those references separately ¯\_(ツ)_/¯
# TODO: rewrite this to handle Arquivo.static urls
Expand Down

0 comments on commit 742bbf4

Please sign in to comment.