1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Tweaked footer, added config.

This commit is contained in:
Dan Barber 2011-10-30 11:51:27 +00:00
parent 90b95d81ea
commit 8a6fcdfe6d
3 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<title><%= @page_title + ' - ' unless @page_title.nil? %> Dan Barber Photography</title>
<title><%= @page_title + ' - ' unless @page_title.blank? %> Dan Barber Photography</title>
<meta http-equiv="Content-Type" content="text/html" />
<meta name="keywords" content="photography, images, landscapes" />
<meta name="description" content="The photography portfolio of Dan Barber" />
@ -30,7 +30,7 @@
<%= yield %>
<div id="footer" class="sg-35">
<p>&copy;2010 dan barber</p>
<p>&copy;2011 Dan Barber</p>
</div>
</div>

4
config/config.yml Normal file
View File

@ -0,0 +1,4 @@
name: Dan Barber Photo
page_title: Dan Barber Photography
meta_description: ""
meta_keywords: ""

View File

@ -0,0 +1,2 @@
# Load the app config from the config.yml file.
APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")