5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-06 13:15:46 +00:00

mostrar el mensaje de bienvenida como markdown

This commit is contained in:
f 2018-12-11 14:12:42 -03:00
parent db321e5754
commit 4c0f2c7ba3
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -2,7 +2,7 @@
.col-md-6.align-self-center
- if @invitadx.errors.full_messages.empty?
.alert.alert-dismissible.alert-info.fade.show{role: 'alert'}
= @site.config.dig('welcome', 'message') || t('.welcome')
= raw CommonMarker.render_doc(@site.config.dig('welcome', 'message') || t('.welcome')).to_html
%button.close{type: 'button',
data: { dismiss: 'alert' },
'aria-label': t('help.close') }