All notes for #{{ hashtag.tag }}
+ +-
+ {% for note in hashtag.notes %}
+
-
+ + {{ note.text | md | safe }} + + Permalink ++
+ {% endfor %}
+
diff --git a/src/_data/notes.js b/src/_data/notes.js index 6c3f9d4..a186ccc 100644 --- a/src/_data/notes.js +++ b/src/_data/notes.js @@ -47,6 +47,9 @@ module.exports = function() { return { notes, - hashtags + hashtags: Object.keys(hashtags).map(tag => ({ + tag, + notes: hashtags[tag] + })) }; } \ No newline at end of file diff --git a/src/_includes/base.njk b/src/_includes/base.njk index 3120b00..259b512 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -3,6 +3,7 @@
+