SimpleBlog.Post (simple_blog v0.1.0)

Module responsible for Post

Summary

Functions

Link to this function

generate_filename(post)

Generate filename for blog post

Examples

iex> SimpleBlog.Post.generate_filename(%SimpleBlog.Post{ title: "My first blog post", date: ~D[2023-10-04] }) "2023-10-04-my-first-blog-post.md"

Link to this function

generate_html_dir(post, base_dir)

Link to this function

generate_html_filename(post)