package Statocles;
our $VERSION = '0.082';
# ABSTRACT: A static site generator
# The currently-running site.
# I hate this, but I know of no better way to ensure that we always have access
# to a Mojo::Log object, while still being relatively useful, without having to
# wire up every single object with a log object.
our $SITE;
BEGIN {
package # Hide from PAUSE
site;
sub log { return $SITE->log }
}
use Statocles::Base;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Statocles - A static site generator
=head1 VERSION
version 0.082
=head1 SYNOPSIS
# Create a new site
statocles create www.example.com
# Create a new blog post
export EDITOR=vim
statocles blog post
# Build the site
statocles build
# Test the site in a local web browser
statocles daemon
# Deploy the site
statocles deploy
=head1 DESCRIPTION
Statocles is an application for building static web pages from a set of plain
YAML and Markdown files. It is designed to make it as simple as possible to
develop rich web content using basic text-based tools.
=head2 FEATURES
=over
=item *
A simple format based on
L<Markdown|http://daringfireball.net/projects/markdown/> for editing site
content.
=item *
A command-line application for building, deploying, and editing the site.
=item *
A simple daemon to display a test site before it goes live.
=item *
A L<blogging application|Statocles::App::Blog#FEATURES> with
=over
=item *
RSS and Atom syndication feeds.
=item *
Tags to organize blog posts. Tags have their own custom feeds.
=item *
Crosspost links to direct users to a syndicated blog.
=item *
Post-dated blog posts to appear automatically when the date is passed.
=back
=item *
Customizable L<themes|Statocles::Theme> using L<the Mojolicious template
language|Mojo::Template#SYNTAX>.
=item *
A clean default theme using L<the Skeleton CSS library|http://getskeleton.com>.
=item *
SEO-friendly features such as L<sitemaps (sitemap.xml)|http://www.sitemaps.org>.
=item *
L<Automatic checking for broken links|Statocles::Plugin::LinkCheck>.
=item *
L<Syntax highlighting|Statocles::Plugin::Highlight> for code and configuration blocks.
=item *
Hooks to add L<your own plugins|Statocles::Plugin> and L<your own custom
applications|Statocles::App>.
=back
=head1 GETTING STARTED
To get started with Statocles, L<consult the Statocles::Help guides|Statocles::Help>.
=head1 SEE ALSO
For news and documentation, L<visit the Statocles website at
http://preaction.me/statocles|http://preaction.me/statocles>.
=head1 AUTHOR
Doug Bell <[email protected]>
=head1 CONTRIBUTORS
=for stopwords Ferenc Erki Joel Berger Kent Fredric Konrad Bucheli tadegenban Vladimir Lettiev William Lindley
=over 4
=item *
Ferenc Erki <[email protected]>
=item *
Joel Berger <[email protected]>
=item *
Kent Fredric <[email protected]>
=item *
Konrad Bucheli <[email protected]>
=item *
tadegenban <[email protected]>
=item *
Vladimir Lettiev <[email protected]>
=item *
William Lindley <[email protected]>
=back
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut