Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 5d77b9fd131a2eee3ef1197eb6441b202235ddda 0 parents
Igor IgorTirador authored
5 .gitignore
@@ -0,0 +1,5 @@
+._*
+.*.swp
+.bundle
+.DS_Store
+.sass-cache
7 Gemfile
@@ -0,0 +1,7 @@
+source 'http://rubygems.org'
+
+gem 'nesta', '0.9.13'
+
+
+
+# gem (RUBY_VERSION =~ /^1.9/) ? 'ruby-debug19': 'ruby-debug'
13 config.ru
@@ -0,0 +1,13 @@
+require 'rubygems'
+require 'bundler/setup'
+
+Bundler.require(:default)
+
+use Rack::ConditionalGet
+use Rack::ETag
+
+require 'nesta/env'
+Nesta::Env.root = ::File.expand_path('.', ::File.dirname(__FILE__))
+
+require 'nesta/app'
+run Nesta::App
67 config/config.yml
@@ -0,0 +1,67 @@
+# 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)"
+
+# 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-???????-?"
1  content/pages/index.haml
@@ -0,0 +1 @@
+%section.articles= article_summaries(latest_articles)
Please sign in to comment.
Something went wrong with that request. Please try again.