diff options
-rw-r--r-- | README.md | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -1,6 +1,8 @@ # wruby -> This is a heavy work-in-progress. Consider this in alpha state. +> This is a heavy work-in-progress and I am hardly a Ruby expert. +> +> Please consider contributing to make the project better! Minimal blog and static site generator. The "w" is silent... @@ -20,10 +22,14 @@ Make your changes in the top of the main `wruby.rb` file (site URL, your name, etc.). Remove the `.build.yml` unless you plan to host with sourcehut pages, otherwise edit this file with your own details. +* Blog posts go under the `posts` directory as markdown files + - Posts need to be structured with an `h1` on the first line, a space on the + second, and the date on the third line (ie. 2024-07-20) +* Pages go under the `pages` directory as markdown files +* Media (images, videos etc) go in the root `public` directory + ## Running -1. Create markdown blog posts under root `posts/` directory -2. Create markdown pages under root `/pages` directory -3. Store media (images, videos etc) inside the root `/public` directory -4. Run `make build` in root -5. Upload `build` folder to your server +1. Run `make build` in the root directory +2. Upload `build` folder to your server +3. Share your blog or site! |