Sha256: 7e142409c2cdc4d0c7d0bb68e5897e16eff3b0485675bf75275a585df183b96c
Contents?: true
Size: 868 Bytes
Versions: 3
Compression:
Stored size: 868 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 url 'http://retter.example.com/' title '<%= name %>' description '<%= name %>' author '<%= ENV["USER"] %>' renderer Retter::Markdown::PygmentsRenderer # Callbacks for retter sub-command: edit, rebind, commit # # Syntax: # after [command], [invoke command or proc] # # Using symbol example: # after :rebind, :commit # # Using proc example: # after :commit do # if yes?("Deploy now? [yes/no]") # system "cd #{config.retter_home}" # system 'git push origin master' # end # end # # after :edit do # Retter::Site.reset! # ident = ARGV.pop # # preview ident if yes?("Preview now? [yes/no]") # end # # Skip binding: # examples: # allow_binding :none # allow_binding [:profile, :entries, :feed] # # Anyway index page will be bound.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
retter-0.2.5 | lib/retter/generator/skel/Retterfile |
retter-0.2.4 | lib/retter/generator/skel/Retterfile |
retter-0.2.3 | lib/retter/generator/skel/Retterfile |