Phoenix 1.7: Using partials in app.html.heex

Another solution would be to name your partials as suggested here.