mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-14 03:18:02 +00:00
Use common head partial in all layouts
This commit is contained in:
parent
a53a83844e
commit
97ad2797b2
2 changed files with 4 additions and 14 deletions
|
@ -1,12 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<%= render '_head' %>
|
||||||
<meta name="viewport" content="width=600" />
|
|
||||||
<title><%= @item[:title] %></title>
|
|
||||||
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
|
|
||||||
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projection" />
|
|
||||||
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
|
|
||||||
</head>
|
</head>
|
||||||
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
|
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
|
||||||
<%= render '_header' %>
|
<%= render '_header' %>
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<%= render '_head' %>
|
||||||
<meta name="viewport" content="width=600" />
|
|
||||||
<title><%= @item[:title] %></title>
|
|
||||||
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
|
|
||||||
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projection" />
|
|
||||||
<link rel="stylesheet" href="/css/thumbs.css" type="text/css" media="screen,projection" />
|
<link rel="stylesheet" href="/css/thumbs.css" type="text/css" media="screen,projection" />
|
||||||
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
|
|
||||||
<link rel="stylesheet" href="/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
|
<link rel="stylesheet" href="/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
|
||||||
<script src="/js/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/js/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
@ -19,7 +14,7 @@
|
||||||
<div id="technical" class="column">
|
<div id="technical" class="column">
|
||||||
<div>
|
<div>
|
||||||
<h1>Geeky
|
<h1>Geeky
|
||||||
<sup><a href="<%= feed_url %>"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
<sup><a href="/technical/feed.xml"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
||||||
</h1>
|
</h1>
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
<% technical_articles[0..4].each do |article| %>
|
<% technical_articles[0..4].each do |article| %>
|
||||||
|
@ -33,7 +28,7 @@
|
||||||
<div id="personal" class="column">
|
<div id="personal" class="column">
|
||||||
<div>
|
<div>
|
||||||
<h1>Non-Geeky
|
<h1>Non-Geeky
|
||||||
<sup><a href="<%= feed_url %>"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
<sup><a href="/personal/feed.xml"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
|
||||||
</h1>
|
</h1>
|
||||||
<ul class="articles">
|
<ul class="articles">
|
||||||
<% personal_articles[0..4].each do |article| %>
|
<% personal_articles[0..4].each do |article| %>
|
||||||
|
|
Loading…
Reference in a new issue