diff options
-rw-r--r-- | source/_navigation.html.erb | 41 | ||||
-rw-r--r-- | source/index.html.erb | 41 | ||||
-rw-r--r-- | source/layouts/layout.erb | 11 |
3 files changed, 47 insertions, 46 deletions
diff --git a/source/_navigation.html.erb b/source/_navigation.html.erb new file mode 100644 index 0000000..61ef0e4 --- /dev/null +++ b/source/_navigation.html.erb @@ -0,0 +1,41 @@ +<div id="nav"> + <ul> + <li> + <a href="/">Home</a> + </li> + <li> + <a href="/neues.html">Archiv</a> + </li> + <li> + <a href="/termine.html">Termine</a> + </li> + <li> + <a href="/raeume.html">Räume</a> + </li> + <li> + <a href="/projekte.html">Projekte</a> + </li> + <li> + <a href="/webcam.html">Webcams</a> + </li> + <li> + <a href="/lage.html">Lage</a> + </li> + <li> + <a href="/medien.html">Medien</a> + </li> + <li> + <a href="/wiki/">Wiki</a> + </li> + <li> + <a href="http://git.sublab.org">Git</a> + </li> + <li> + <a href="/kontakt.html">Kontakt</a> + </li> + <li> + <a href="/verein.html">Verein</a> + </li> + </ul> +</div> + diff --git a/source/index.html.erb b/source/index.html.erb index 7b30670..b243ef1 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -2,47 +2,6 @@ title: sublab - Ein Hackerspace in Leipzig --- -<div id="nav"> - <ul> - <li> - <a href="/">Home</a> - </li> - <li> - <a href="/neues.html">Archiv</a> - </li> - <li> - <a href="/termine.html">Termine</a> - </li> - <li> - <a href="/raeume.html">Räume</a> - </li> - <li> - <a href="/projekte.html">Projekte</a> - </li> - <li> - <a href="/webcam.html">Webcams</a> - </li> - <li> - <a href="/lage.html">Lage</a> - </li> - <li> - <a href="/medien.html">Medien</a> - </li> - <li> - <a href="/wiki/">Wiki</a> - </li> - <li> - <a href="http://git.sublab.org">Git</a> - </li> - <li> - <a href="/kontakt.html">Kontakt</a> - </li> - <li> - <a href="/verein.html">Verein</a> - </li> - </ul> -</div> - <div id="about"> diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 7bdfeb1..dc454c0 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -2,18 +2,19 @@ <html> <head> <meta charset="utf-8"> - + <!-- Always force latest IE rendering engine or request Chrome Frame --> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> - + <!-- Use title if it's in the page YAML frontmatter --> <title><%= current_page.data.title || "The Middleman" %></title> - + <%= stylesheet_link_tag "normalize", "all" %> <%= javascript_include_tag "all" %> </head> - + <body class="<%= page_classes %>"> + <%= partial "navigation" %> <%= yield %> </body> -</html>
\ No newline at end of file +</html> |