mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 05:46:23 +00:00
feat: componente de cabecera de sitio
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
f35df41d1b
commit
8ed5aedf75
2 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
%main.row
|
||||
%aside.menu.col-md-3
|
||||
.hyphens{ lang: @site.default_locale }
|
||||
%h1= @site.title
|
||||
%p.lead= @site.description
|
||||
= render 'sites/header', site: @site
|
||||
|
||||
- cache_if @usuarie, [@site, I18n.locale] do
|
||||
= render 'sites/status', site: @site
|
||||
|
|
3
app/views/sites/_header.haml
Normal file
3
app/views/sites/_header.haml
Normal file
|
@ -0,0 +1,3 @@
|
|||
.hyphens{ lang: site.default_locale }
|
||||
%h1= site.title
|
||||
%p.lead= site.description
|
Loading…
Reference in a new issue