Permalink
Browse files

Whitespace fixes.

  • Loading branch information...
1 parent ec5d1cd commit 61c044e904a1526c348b63d9c20afb542e65ceec @gma committed Oct 14, 2012
Showing with 8 additions and 6 deletions.
  1. +2 −1 lib/nesta/config.rb
  2. +6 −5 templates/config/config.yml
View
@@ -47,7 +47,8 @@ def self.yaml_path
end
def self.read_more
- from_environment('read_more') || from_yaml('read_more') || 'Continue reading'
+ default = 'Continue reading'
+ from_environment('read_more') || from_yaml('read_more') || default
end
def self.from_environment(setting)
@@ -55,11 +55,12 @@ content: content
# google_analytics_code: "UA-???????-?"
# read_more
-# When the summary of an article is displayed
-# on the home page, or on a category page, there is a link underneath the
-# summary that points to the rest of the post. Use this value
-# to customize the default link text. You can still override
-# this value on a per-page basis with the 'Read more' metadata key.
+# When the summary of an article is displayed on the home page, or
+# on a category page, there is a link underneath the summary that
+# points to the rest of the post. Use this value to customize the
+# default link text. You can still override this value on a per-page
+# basis with the 'Read more' metadata key.
+#
# read_more: "Continue reading"
# Overriding "cache" and "content" in production is recommended if you're

0 comments on commit 61c044e

Please sign in to comment.