summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb25
1 files changed, 9 insertions, 16 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 627aa14a..f0017ee5 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -4,6 +4,11 @@
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head> 5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7 <meta name="viewport" content="width=device-width,initial-scale=1"/>
8 <meta name="description" content="Der Chaos Computer Club ist eine galaktische Gemeinschaft von Lebewesen für Informationsfreiheit und Technikfolgenabschätzung.">
9
10 <meta property="og:image" content="https://www.ccc.de/images/chaosknoten.svg" />
11 <meta property="og:description" content="Der Chaos Computer Club ist eine galaktische Gemeinschaft von Lebewesen für Informationsfreiheit und Technikfolgenabschätzung." />
7 12
8 <title><%= page_title %></title> 13 <title><%= page_title %></title>
9 <%= stylesheet_link_tag "ccc" %> 14 <%= stylesheet_link_tag "ccc" %>
@@ -16,7 +21,7 @@
16 <%= auto_discovery_link_tag(:rss, {:locale => :de, :controller => "rss", :action => "updates", :format => :rdf}) %> 21 <%= auto_discovery_link_tag(:rss, {:locale => :de, :controller => "rss", :action => "updates", :format => :rdf}) %>
17 </head> 22 </head>
18 23
19 <body> 24 <body lang="<%= @page.effective_lang %>">
20 <div id="wrapper"> 25 <div id="wrapper">
21 <div id="header"> 26 <div id="header">
22 <%= link_to_path(image_tag("header.png"), "/home") %> 27 <%= link_to_path(image_tag("header.png"), "/home") %>
@@ -27,12 +32,11 @@
27 <div id="left_column"> 32 <div id="left_column">
28 <%= main_menu %> 33 <%= main_menu %>
29 34
30 <%= language_selector %>
31 <% if current_user && @page.node %> 35 <% if current_user && @page.node %>
32 <%= link_to "Edit", node_path(:id => @page.node) %> 36 <%= link_to "Edit", node_path(:id => @page.node) %>
33 <% end %> 37 <% end %>
34 38
35 <%= calendar %> 39 <%= calendar %>
36 </div> 40 </div>
37 <div id="center_column"> 41 <div id="center_column">
38 <%= yield :layout %> 42 <%= yield :layout %>
@@ -43,17 +47,6 @@
43 </div> 47 </div>
44 </div> 48 </div>
45 49
46 <div id="footer"> 50 <div id="footer"> </div>
47 <br />
48 <br />
49 <p style="text-align: center">
50 <%= link_to t(:sponsors), content_path("sponsors") %>
51 </p>
52 <p id="quote">
53 <em>»They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.«</em>
54 <br />
55 Benjamin Franklin
56 </p>
57 </div>
58 </body> 51 </body>
59</html> \ No newline at end of file 52</html>