Crates.io | simplistis |
lib.rs | simplistis |
version | 0.1.0 |
source | src |
created_at | 2024-05-09 13:18:20.020562 |
updated_at | 2024-05-09 13:18:20.020562 |
description | A super simple markdown-based static site generator |
homepage | https://github.com/fauh45/simplistis |
repository | https://github.com/fauh45/simplistis |
max_upload_size | |
id | 1235107 |
size | 43,727 |
Small weekend-ish (for now!) project written in rust, to fulfill the needs of hosting my own personal site. Is there already more well-written tools out there? Of course, but it’s more fun to learn how to make it ourselves isn't it?
There's a simple folder structure simplistis
follows.
(root) ->
_index.md (index content file, required)
template.hbs (index template file, required)
content.hbs (content template file, optional, but required if there's file
other than _index.md)
[slug].md (content file, optional)
(sub-folder) ->
_index.md (subfolder index content file, required)
template.hbs (subfolder index template file, required)
(the rest are basically the same as the root)
To see a valid example of this folder structure you can see the test_file
folder. This will contains a very simple (or as you can say
simplistis
) homepage, and blog example.
Currently simplistis
only supports CLI interface, though it is very easy to
use. The only command you need to use and remember (though this maybe changing
in the future, but rest assured I'll be sure to make it compatible!).
simplistis [template directory root] [output directory root]
[!WARNING] This will also clear off any file (recursively) of your
[output directory root]
!
This project is developed by the all the contributors. The list should show below.