Skip to content

San7o/rust-ag-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown blog in Rust

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.

GUI

The toolchain comes with a fully-working GUI made with eGUI

generatore

What I used:

Structure:

  • posts/ -> .md post files
  • site/ -> the main public site
    • blog/ -> the main blog page
    • post/ -> all the posts' html
    • index.html -> the main site index
  • src/ -> the source code
  • templates/ -> templates folder
    • blog.html -> custom template for the blog page
    • post.html -> custom template for a post
    • md_post.md -> the template for an md post

Must have yaml tags

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 this
  • title: The main title displayed
  • subtitle: Will be displayed under the title
  • description: A summary of the blog content, will be displayed in the blog page
  • image: the name of the image (with the file type), the image must be in the site/blog/images/ directory
  • author: Author name
  • "BEGIN DOCUMENT" keyword after the tags: to divide tags section from the blog content section

Recommendations

Use .jpg images or any compressed format (not .png)

Development

  • 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

Pagine

  • Chi siamo
  • La montagna sottosopra
  • La montagna a 360°

About

Rust toolchain for a static markdown blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors