Added meta to application.html.haml for groups and unmatched routes
• Added: - meta to application.html.haml for groups and unmatched routes
This commit is contained in:
parent
3b0ec6a270
commit
ae814a01cb
@ -36,9 +36,10 @@
|
|||||||
= render 'stream_entries/meta', stream_entry: @stream_entry, account: @account
|
= render 'stream_entries/meta', stream_entry: @stream_entry, account: @account
|
||||||
- elsif @account && @account.local?
|
- elsif @account && @account.local?
|
||||||
= render 'accounts/meta', account: @account, older_url: nil, newer_url: nil
|
= render 'accounts/meta', account: @account, older_url: nil, newer_url: nil
|
||||||
|
- elsif @group
|
||||||
|
= render 'groups/meta', group: @group
|
||||||
- else
|
- else
|
||||||
- description = strip_tags(t('about.tagline'))
|
= render partial: 'shared/og'
|
||||||
%meta{ name: 'description', content: description }/
|
|
||||||
|
|
||||||
%title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title
|
%title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user