diff --git a/pg-py/pg.py b/pg-py/pg.py
index af5b40c..56c9ea5 100644
--- a/pg-py/pg.py
+++ b/pg-py/pg.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
PaPy (Page with Python): a Python static site generator
- v0.9.10
+ v1.0
"""
import re
@@ -252,7 +252,7 @@ def process_markdown_file(md_path: Path, templates, output_dir: Path, is_post=Fa
inline_tags.append(tag_name.lower())
cleaned_content = cleaned_content.replace(
match.group(0),
- f'<a href="/tags/{tag_name.lower()}/">{tag_name}</a>'
+ f'<a href="/tags/{tag_name.lower()}/">#{tag_name}</a>'
)
all_tags = list(set(front_matter_tags + inline_tags))
@@ -289,7 +289,7 @@ def process_markdown_file(md_path: Path, templates, output_dir: Path, is_post=Fa
full_html = generate_html_page(
templates, title, html_content, description, page_url, image,
schema_type, date_str, image_data, caption_data,
- post_navigation="", tags=all_tags
+ post_navigation="", tags=front_matter_tags
)
write_html_file(output_path, full_html)
@@ -560,7 +560,7 @@ def main():
post['description'], post['url'], post.get('image', ''),
"article", post['date'], post.get('image_data', []),
post.get('caption_data', []), post['post_navigation'],
- tags=post.get('tags', [])
+ tags=post.get('front_matter_tags', [])
)
write_html_file(Path(post['path']), full_html)