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

_head.haml « layouts « views « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a85a96c743bccc27a80f7f3cf97e6a5ed0024452 (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

%link{rel: "manifest", href: "/manifest.json"}

/ 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)