Skip to content

Commit f5fcc1e

Browse files
Update tag_from_path.py
1 parent a1319e7 commit f5fcc1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/tag_from_path.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from pelican import signals
22
from pelican.contents import Article
3+
from pelican.generator import ArticlesGenerator
34

45

5-
def tag_from_path(article: Article) -> None:
6+
def tag_from_path(article_generator: ArticlesGenerator, content: Article) -> None:
67
article.tags.append(article.tag)
78

89

0 commit comments

Comments
 (0)