Nesta reads its configuration from the
config/config.yml file. A
default configuration file is created automatically when you generate
your web site with the
nesta new command.
Near the top of the config file you'll find
subtitle. In most themes they are used to set the <title> tag, and control the heading...
Atom feeds support the specification of contact details for the person/organisation that is responsible for the articles in the feed.
Google's free analytics software is a great way to keep track of how many people are using your web site, and it's very easy to configure. You just add the "web property ID" that Google give you when you sign up to the config file...
It sometimes doesn't make sense to commit the
config.ymlfile for your project into your version control system. Typically, you'd only want to avoid doing this if others will be using your site as a template for their own sites, or if you extend Nesta in a manner that requires you to enter private data into
Comments are easily added to a Nesta site through a third party site like Disqus.
When the summary of a page or article is displayed on the home page or a category page, there is a link underneath the summary to the full article. By default this link contains the text 'Continue reading', but if you'd like to use a different phrase you can set your own default in the config file.
Because Nesta is written in Sinatra, errors (such as "404 not found") are handled in just the same way that they are in Sinatra. Nesta ships with simple messages to explain to your visitors that something went wrong, but it never hurts to personalise your error page.
How to create a robots.txt file.
It's easy to move pages with Nesta; you just move files around on disk and push your changes up to your web server. But what about all the old links to the page? You need to configure some HTTP redirects...