Visit the site: https://san7o.github.io/rust-ag-blog/site/
This is my personal Rust toolchain for managing a static markdown blog. For each markdown blog post, the toolchain will parse it to html and yaml, a new post page will be created from an html template made in wordpress. Additionally, a page with all the posts will be created.
The toolchain comes with a fully-working GUI made with eGUI
- Markdown to parse the markdown files into html
- Tera template engine to insert html to a template file
- yaml-rust to parse Yaml data
- egui for the GUI interface
- rfd to open file picker window
- webbrowser to open the site on the browser
- Local installation with WordPress to generate the templates
- Thanks to Elementor editor and Export WP page to html.
posts/-> .md post filessite/-> the main public siteblog/-> the main blog pagepost/-> all the posts' htmlindex.html-> the main site index
src/-> the source codetemplates/-> templates folderblog.html-> custom template for the blog pagepost.html-> custom template for a postmd_post.md-> the template for an md post
In every post file there must exist a yaml tag for each of the following:
filename: Short string without spaces, the html file will be named after thistitle: The main title displayedsubtitle: Will be displayed under the titledescription: A summary of the blog content, will be displayed in the blog pageimage: the name of the image (with the file type), the image must be in the site/blog/images/ directoryauthor: Author name"BEGIN DOCUMENT"keyword after the tags: to divide tags section from the blog content section
Use .jpg images or any compressed format (not .png)
- Markdown to Html
- Html to Template
- Support for yaml tags
- Decent templates
- Link MD to templates
- Post page
- Blog Page
- Buttons connected
- Images from png to jpg
- GUI
- Genera Sito
- Aggiungi Post
- Modifica Post
- Rimuovi Post
- Apri nel browser
- Test on Windows
- Test on macOS
- Chi siamo
- La montagna sottosopra
- La montagna a 360°
