Commit Briefs

ba887e18ba Bradley Taunt

Update homepage git repo link (master)



126933771a Bradley Taunt

Update footer link and README


82d4bd8ded Bradley Taunt

Cleanup README, give directions for patches etc


52b3cbfa16 Bradley Taunt

Remove sourcehut build file and tweak README again


af3641ed0c Bradley Taunt

Update README


23ddf9d27a Bradley Taunt

Remove the need for bundler



56a1647e95 Bradley Taunt

websites: add adast.dk


8b4d9591ba Bradley Taunt

Add jsfree to the websites page


Branches

Tags

This repository contains no tags

Tree

.gitignorecommits | blame
LICENSEcommits | blame
Makefilecommits | blame
README.mdcommits | blame
_config.ymlcommits | blame
footer.htmlcommits | blame
header.htmlcommits | blame
index.mdcommits | blame
pages/
posts/
public/
wruby.rbcommits | blame

README.md

# wruby

* Minimal blog and static site generator
* Licensed under [MIT](https://choosealicense.com/licenses/mit/)
* Discussion, patches etc. go to the [list](https://lists.sr.ht/~bt/wruby-devel)
* The "w" is silent...

## Dependencies

* `ruby` (`ruby-dev` if needed)
* ruby gems: `kramdown` and `rss`

## Getting Started

Make your changes in the main configuration file `_config.yml` file (site URL, your name,
etc.).

* 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
* Main styling is found in `public/style.css` (feel free to get creative!)

## Defaults

* The homepage only displays the first `5` posts. You can configure this in `_config.yml` under `post_count`.
* The full blog post index will be generated at `yoursite.com/posts`
* This means you need to have a `posts.md` file in your `pages` directory (or change `posts_index` the core `_config.yml`)

## Running

1. `wruby` is based off of Ruby 3.3.3 (use `rbenv` or `rvm` to avoid privilege conflicts)
2. Install dependencies: `gem install 'kramdown:2.4.0' 'rss:0.3.0'`
3. Run `make build` in the root directory
4. Upload `build` folder to your server
5. Share your blog or site!