detectar si hay un logo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-06-11 14:24:59 -03:00
parent 430be2c223
commit 4d6c69be51

View file

@ -1,5 +1,5 @@
- if (site = Site.first) - if (site = Site.first)
- if site.logo - if site.logo.attached?
= image_tag url_for(site.logo) = image_tag url_for(site.logo)
%h1= site.title %h1= site.title