Skip to content

Commit

Permalink
add truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Nov 4, 2024
1 parent e622c34 commit 4a4ac69
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions styles/custom/BlogTruncate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: existence
message: "Blog posts in the `/blogs` directory must contain a `<!--truncate-->` comment."
level: error

path: /blogs/.*\.md$
scope: file
match: "<!--truncate-->"

0 comments on commit 4a4ac69

Please sign in to comment.