Skip to content

Commit

Permalink
fix: generate video OG image
Browse files Browse the repository at this point in the history
  • Loading branch information
hmajid2301 committed Jun 9, 2024
1 parent 40d6a48 commit 3e66805
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ tasks:
generate:og:
cmds:
- ls content/posts/ | parallel 'mkdir -p content/posts/{}/images && tcardgen -c scripts/og/config.yaml --template=scripts/og/template.png -f scripts/og/fonts/ content/posts/{}/index.md -o content/posts/{}/images/cover.png'
- ls content/videos/ | parallel 'mkdir -p content/videos/{}/images && tcardgen -c scripts/og/config.yaml --template=scripts/og/template.png -f scripts/og/fonts/ content/videos/{}/index.md -o content/videos/{}/images/cover.png'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/videos/what-is-nixos/images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e66805

Please sign in to comment.