diaspora/app/views/application/_head.haml
Batyr Nuryyev 70dfcd97c5 added tag for supporting apps prior to Chrome M39
updates tag to follow standard styleguide
2017-08-14 16:25:42 +03:00

31 lines
777 B
Text

%title
= page_title yield(:page_title)
%meta{charset: "utf-8"}/
= content_for?(:meta_data) ? yield(:meta_data) : metas_tags
%meta{content: "yes", name: "mobile-web-app-capable"}/
/ favicon
/ For Apple devices
%link{rel: "apple-touch-icon", href: image_path("apple-touch-icon.png")}
/ For Nokia devices
%link{rel: "shortcut icon", href: image_path("apple-touch-icon.png")}
/ All others
%link{rel: "shortcut icon", href: image_path("favicon.png")}
- if rtl?
= stylesheet_link_tag :rtl, media: "all"
- if Rails.env.test?
= stylesheet_link_tag :poltergeist_disable_transition, media: "all"
= jquery_include_tag
= include_gon(camel_case: true, nonce: content_security_policy_nonce(:script))
= yield(:javascript)
= csrf_meta_tag
= current_user_atom_tag
= yield(:head)