chore: move generated blog HTML to site/blog/posts/, gitignore
- Generated HTML now in site/blog/posts/ (gitignored) - CI workflow runs pandoc + make blog before deploy - Updated all internal blog links to /blog/posts/ path - blog/*.md remains the source of truth Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -23,11 +23,11 @@ bench:
|
||||
cargo bench
|
||||
|
||||
blog:
|
||||
@mkdir -p site/blog
|
||||
@mkdir -p site/blog/posts
|
||||
@for f in blog/*.md; do \
|
||||
name=$$(basename "$$f" .md); \
|
||||
pandoc "$$f" --template=site/blog-template.html -o "site/blog/$$name.html"; \
|
||||
echo " $$f → site/blog/$$name.html"; \
|
||||
pandoc "$$f" --template=site/blog-template.html -o "site/blog/posts/$$name.html"; \
|
||||
echo " $$f → site/blog/posts/$$name.html"; \
|
||||
done
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user