Fix examples, finalize breadcrumb generation
diff --git a/content/blogs.ezmd b/content/blogs.ezmd
index 37dec87..3315f76 100644
--- a/content/blogs.ezmd
+++ b/content/blogs.ezmd
@@ -1,22 +1,23 @@
-Title: Featured
+Title: Blogs
version: 1.0
<!-- Licensed under ALv2 -->
### Foundation
[for foundation]
-- [[][foundation.title]]([foundation.href])
+#### Post
+[[][foundation.title]]([foundation.href])
- [format "raw"][foundation.content][end]
+[format "raw"][foundation.content][end]
[end]
### Planet
[for planet]
-- [[][planet.title]]([planet.href])
+[[][planet.title]]([planet.href])
[end]
### Conferences
[for conferences]
-- [[][conferences.title]]([conferences.href])
+[[][conferences.title]]([conferences.href])
[end]
diff --git a/content/tweets.ezmd b/content/tweets.ezmd
index 744a2e9..356966e 100644
--- a/content/tweets.ezmd
+++ b/content/tweets.ezmd
@@ -1,9 +1,9 @@
-Title: Featured
+Title: Tweets
version: 1.0
<!-- Licensed under ALv2 -->
-## Tweet
[for twitter]
+## Tweet
[twitter.id]
[twitter.text]
[end]
diff --git a/theme/plugins/asfgenid.py b/theme/plugins/asfgenid.py
index eec1d56..1a663f8 100644
--- a/theme/plugins/asfgenid.py
+++ b/theme/plugins/asfgenid.py
@@ -332,11 +332,13 @@
title = content.metadata.get('title', 'Title')
# assure relative source path is in the metadata
content.metadata['relative_source_path'] = rel_source_path = content.relative_source_path
- # create breadcrumb thml
+ # create breadcrumb html
content.metadata['breadcrumbs'] = breadcrumbs = make_breadcrumbs(rel_source_path, title)
# display output path and title
print(f'{content.relative_source_path} - {title}')
- print(f' {breadcrumbs}')
+ # if debug display breadcrumb html
+ if asf_genid['debug']:
+ print(f' {breadcrumbs}')
# enhance metadata if done by asfreader
add_data(content)