lib/nanoc/cli/commands/create-site.rb in nanoc-3.6.5 vs lib/nanoc/cli/commands/create-site.rb in nanoc-3.6.6
- old
+ new
@@ -82,28 +82,10 @@
# turned on, only the characters past the last period are considered to
# be the extension. For example, a file named “content/about.html.erb”
# will have the identifier “/about/” when turned off, but when turned on
# it will become “/about.html/” instead.
allow_periods_in_identifiers: false
-
-# Configuration for the “watch” command, which watches a site for changes and
-# recompiles if necessary.
-watcher:
- # A list of directories to watch for changes. When editing this, make sure
- # that the “output/” and “tmp/” directories are _not_ included in this list,
- # because recompiling the site will cause these directories to change, which
- # will cause the site to be recompiled, which will cause these directories
- # to change, which will cause the site to be recompiled again, and so on.
- dirs_to_watch: [ 'content', 'layouts', 'lib' ]
-
- # A list of single files to watch for changes. As mentioned above, don’t put
- # any files from the “output/” or “tmp/” directories in here.
- files_to_watch: [ 'nanoc.yaml', 'Rules' ]
-
- # When to send notifications (using Growl or notify-send).
- notify_on_compilation_success: true
- notify_on_compilation_failure: true
EOS
DEFAULT_RULES = <<EOS unless defined? DEFAULT_RULES
#!/usr/bin/env ruby
@@ -274,10 +256,10 @@
<meta charset="utf-8">
<title>A Brand New nanoc Site - <%= @item[:title] %></title>
<link rel="stylesheet" href="/style.css">
<!-- you don't need to keep this, but it's cool for stats! -->
- <meta name="generator" content="nanoc <%= Nanoc::VERSION %>">
+ <meta name="generator" content="nanoc <%= Nanoc::VERSION %>">
</head>
<body>
<div id="main">
<%= yield %>
</div>