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
|
||||
- elsif @account && @account.local?
|
||||
= render 'accounts/meta', account: @account, older_url: nil, newer_url: nil
|
||||
- elsif @group
|
||||
= render 'groups/meta', group: @group
|
||||
- else
|
||||
- description = strip_tags(t('about.tagline'))
|
||||
%meta{ name: 'description', content: description }/
|
||||
= render partial: 'shared/og'
|
||||
|
||||
%title= content_for?(:page_title) ? safe_join([yield(:page_title).chomp.html_safe, title], ' - ') : title
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user