From 4d6c69be51ce125f68546140ee23b140f2968d6f Mon Sep 17 00:00:00 2001 From: f Date: Sat, 11 Jun 2022 14:24:59 -0300 Subject: [PATCH] detectar si hay un logo --- app/views/layouts/_site.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_site.haml b/app/views/layouts/_site.haml index c731c96..37769f6 100644 --- a/app/views/layouts/_site.haml +++ b/app/views/layouts/_site.haml @@ -1,5 +1,5 @@ - if (site = Site.first) - - if site.logo + - if site.logo.attached? = image_tag url_for(site.logo) %h1= site.title