Skip to content
Dnevnik - static site generator written in Elixir
CSS HTML Elixir JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
themes
.gitignore
CNAME
LICENSE
README.md
mix.exs
mix.lock
robots.txt

README.md

Dnevnik

Static Site Generator written in Elixir (originally based on Benny Hallett's Obelisk).

Creating new Dnevnik weblog

To create a new Dnevnik weblog, we use mix new command to create standard Elixir project

$ mix new our_blog_name

Then we need to modify our dependencies within mix.exs to include Dnevnik library.

defp deps do
  [{ :dnevnik, "~> 0.1.0" }]
end

Next let's run the following commands to download Dnevnik and compile it

$ mix deps.get
$ mix deps.compile

Now we can initialise our Dnevnik weblog (this command will generate required folders, files, themes and default configuration)

$ mix dnevnik setup

Let's build our Dnevnik weblog now (this command will generate final html files).

$ mix dnevnik build

Once our project is built, we can check it out by starting the server.

$ mix dnevnik server

Browse to http://localhost:4000 to see the default version of weblog.

You can’t perform that action at this time.