Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed description and keywords from config.yml.

  • Loading branch information...
commit ed8268ea53d97fef51fc5817b65fd3cb04c484c2 1 parent 6d2b47c
Graham Ashton authored
11 CHANGES
View
@@ -1,16 +1,19 @@
= 0.9.3 / Unreleased
- * The URL /my-page can be served from pages/my-page/index.mdown as well
- as pages/my-page.mdown. Index pages can also be created with Textile
- or Haml, just like any other page.
+ * The URL /my-page can be served from `pages/my-page/index.mdown` as
+ well as pages/my-page.mdown. Index pages can also be created with
+ Textile or Haml, just like any other page.
* The route and view for serving the home page (/) has been removed,
and the home page must now be created as an index page in
content/pages.
-
+
Running `nesta new mysite.com` will create `content/pages/index.haml`
that is suitable for a blog.
+ * The description and keywords settings have been removed from
+ config.yml as they can now be set on `content/pages/index.haml`.
+
= 0.9.2 / 10 January 2011
* Made the FileModel.metadata method public, to allow for custom
73 config/config.yml.sample
View
@@ -1,73 +0,0 @@
-# Title and subheading for your site. Used on the home page and in page
-# titles.
-#
-title: "My Site"
-subtitle: "(change this text in config/config.yml)"
-
-# If you want to set the descrition or keywords meta tags on your site's
-# home page, do it here.
-#
-# description: "Set this to something that describes your home page"
-# keywords: "enter 3 or 4, comma separated, keywords"
-
-# You should really specify your content's author when generating an
-# Atom feed. Specify at least one of name, uri or email, and Nesta will
-# include it in your feed. See the Atom spec for more info:
-#
-# http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.feed
-#
-# author:
-# name: Your Name
-# uri: http://yourhomepage.com
-# email: you@yourdomain.com
-
-# You can stick with the default look and feel, or use a theme. Themes are
-# easy to create or install, and live inside the themes directory. You
-# can also use scripts/theme to install them.
-#
-# theme: name-of-theme
-
-# If you want to use the Disqus service (http://disqus.com) to display
-# comments on your site, register a Disqus account and then specify your
-# site's short name here. A comment form will automatically be added to
-# the bottom of your pages.
-#
-# disqus_short_name: mysite
-
-# cache
-# Set it to true if you'd like Nesta to cache your pages in ./public.
-# Useful if you're deploying Nesta with a proxy server such as Nginx,
-# but not in the least bit helpful if your pages are dynamic, or you're
-# deploying Nesta to Heroku.
-#
-cache: false
-
-# content
-# The root directory where nesta will look for your article files.
-# Should contain "pages" and "attachments" subdirectories that contain
-# your actual content and the (optional) menu.txt file that links to your
-# main category pages.
-#
-content: content
-
-# google_analytics_code
-# Set this if you want Google Analytics to track traffic on your site.
-# Probably best not to set a default value, but to set it in production.
-#
-# The production settings are used if you're deploying to Heroku, so
-# scroll down a bit to set it in production even if you're not deploying
-# to your own server.
-#
-# google_analytics_code: "UA-???????-?"
-
-# Overriding "cache" and "content" in production is recommended if you're
-# deploying Nesta to your own server (but see the deployment documentation
-# on the Nesta site). Setting google_analytics_code in production is
-# recommended regardless of how you're deploying (if you have a GA account!).
-#
-# Don't forget to uncomment the "production:" line too...
-
-# production:
-# cache: true
-# content: /var/apps/nesta/shared/content
-# google_analytics_code: "UA-???????-?"
3  lib/nesta/config.rb
View
@@ -6,8 +6,7 @@
module Nesta
class Config
@settings = %w[
- title subtitle description keywords theme disqus_short_name
- cache content google_analytics_code
+ title subtitle theme disqus_short_name cache content google_analytics_code
]
@author_settings = %w[name uri email]
@yaml = nil
6 templates/config/config.yml
View
@@ -4,12 +4,6 @@
title: "My Site"
subtitle: "(change this text in config/config.yml)"
-# If you want to set the descrition or keywords meta tags on your site's
-# home page, do it here.
-#
-# description: "Set this to something that describes your home page"
-# keywords: "enter 3 or 4, comma separated, keywords"
-
# You should really specify your content's author when generating an
# Atom feed. Specify at least one of name, uri or email, and Nesta will
# include it in your feed. See the Atom spec for more info:
Please sign in to comment.
Something went wrong with that request. Please try again.