Naev Project Website
Dependencies are in
Gemfile and can be installed using bundler with:
Makefile is provided to do most simple tasks.
To compile the website you can use the following command:
This will generate the output directory
output/ containing all the website data.
Viewing the Website
You can view the website directly by looking at the output directory
output/ with most browsers. However, it is generally easier to start a local web server with the following command:
This command will launch a web server on
localhost:3000 allowing for quick and easy testing of the website.
Writing a blarg post
To write a blarg post it is as simple as creating a file in
content/blarg/. Please note that the filename should be
YYYY is the year of the post,
MM is the month of the post, and
DD is the day of the post.
The writing is down using markdown and is fairly straight forward to do.
If you wish to use images you have to separately put them in
content/imgs/blarg/ and you can reference them in the post with the inline ruby code
<%= @items['/imgs/blarg/FILENAME'].path %> where
FILENAME is replaced by the name of the file. This expression will be converted to the file path when compiling.