We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quickblog new
When creating a new post, I would like to have it look something like this:
Title: Test Date: 2024-01-19 Tags: clojure Image: assets/test-preview.png Image-Alt: FIXME Discuss: FIXME Preview: true Write a blog post here!
Instead of the boring quickblog default:
Title: Test Date: 2024-01-19 Tags: clojure Write a blog post here!
If I could but say something like this:
bb quickblog new --file "test.md" --title "Test" --preview --template-file new-post.md
assuming I have a new-post.md template that looks like this:
new-post.md
Title: {{title}} Date: {{date}} Tags: {{tags|join:\",\"}} Image: {% if image %}{{image}}{% else %}{{assets-dir}}/{{file|replace:.md:}}-preview.png{% endif %} Image-Alt: {{image-alt|default:FIXME}} Discuss: {{discuss|default:FIXME}} {% if preview %}Preview: true\n{% endif %} Write a blog post here!
I would truly be the happiest of men!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When creating a new post, I would like to have it look something like this:
Instead of the boring quickblog default:
If I could but say something like this:
assuming I have a
new-post.md
template that looks like this:I would truly be the happiest of men!
The text was updated successfully, but these errors were encountered: