2023-10-24 18:02:18 -07:00
|
|
|
- if @outfit
|
2023-10-24 19:10:05 -07:00
|
|
|
- title(@outfit.name || t('.default_outfit_name'))
|
2023-10-24 18:02:18 -07:00
|
|
|
- open_graph type: 'openneo-impress:outfit', title: yield(:title),
|
|
|
|
url: outfit_url(@outfit)
|
|
|
|
- if @outfit.image?
|
|
|
|
- open_graph image: absolute_url(@outfit.image.url)
|
|
|
|
|
2023-08-10 18:19:03 -07:00
|
|
|
!!! 5
|
|
|
|
%html
|
|
|
|
%head
|
|
|
|
%meta{charset: 'utf-8'}
|
2023-10-12 14:39:37 -07:00
|
|
|
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1'}
|
2023-10-24 18:02:18 -07:00
|
|
|
%title
|
|
|
|
- if content_for? :title
|
|
|
|
= yield :title
|
|
|
|
| #{t 'app_name'}
|
2023-08-10 18:19:03 -07:00
|
|
|
%link{href: image_path('favicon.png'), rel: 'icon'}
|
2023-08-10 20:09:30 -07:00
|
|
|
= stylesheet_link_tag 'fonts'
|
2023-08-10 18:19:03 -07:00
|
|
|
= javascript_include_tag 'wardrobe-2020-page', defer: true
|
2023-10-24 18:02:18 -07:00
|
|
|
= open_graph_tags
|
2023-11-02 13:50:33 -07:00
|
|
|
= csrf_meta_tags
|
|
|
|
%meta{name: 'dti-current-user-id', content: user_signed_in? ? current_user.id : "null"}
|
2023-08-10 18:19:03 -07:00
|
|
|
%body
|
|
|
|
#wardrobe-2020-root
|