https://github.com/extua/newposte-rs
Very short little rust utility to create a new Jekyll post with some front matter
https://github.com/extua/newposte-rs
jekyll
Last synced: 3 months ago
JSON representation
Very short little rust utility to create a new Jekyll post with some front matter
- Host: GitHub
- URL: https://github.com/extua/newposte-rs
- Owner: extua
- License: gpl-3.0
- Created: 2023-08-07T12:49:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-18T19:08:48.000Z (about 1 year ago)
- Last Synced: 2025-05-18T20:23:23.785Z (about 1 year ago)
- Topics: jekyll
- Language: Rust
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# newposte-rs
This code just generates a new markdown file with front matter for use with Jekyll, similar to the [official jekyll-compose plugin](https://github.com/jekyll/jekyll-compose).
For example, file `2023-08-07-this_new_post.md`
```yml
---
title: This new post
location: Leicester
tags: [rust, jekyll, blogging]
---
```
And given a media directory with some jpegs (or [jixels](https://github.com/extua/newposte-rs/commit/d44a4dc790307fcb78b47691292160bb0bb1d421)) it'll output a set of picture tags to the file.
```liquid
{% picture media/2023/10/example.jpg --alt an example photo %}
```