Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_head.haml « application « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c8587e9d523fb0b3f58fdd0ac35fa75e56d0a2b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%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)