Stationary
Stationary generates static blogs from EEx templates and Markdown posts.
Prerequisites
Getting Started
Use mix
to create a new Elixir project.
$ mix new blog
$ cd blog
Add Stationary as a dependency in mix.exs
.
def deps do
[{:stationary, "~> 1.0.0"}]
end
Use mix to download dependencies and compile your project.
blog $ mix deps.get
blog $ mix compile
Bootstrapping
Serving
Hosting
Configuration
The public
config variable controls where your site builds.
This is useful for hosting on a static server. For example, Github Pages will serve your site out of
/docs
.
config :stationary, public: "pub"