detectar si hay un logo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
430be2c223
commit
4d6c69be51
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
- if (site = Site.first)
|
||||
- if site.logo
|
||||
- if site.logo.attached?
|
||||
= image_tag url_for(site.logo)
|
||||
|
||||
%h1= site.title
|
||||
|
|
Loading…
Reference in a new issue