Work on implementing "Notes" aka the feed
This commit is contained in:
17
src/_includes/feed_post.pug
Normal file
17
src/_includes/feed_post.pug
Normal file
@@ -0,0 +1,17 @@
|
||||
extends ./obsidian
|
||||
|
||||
block content
|
||||
.feed
|
||||
.post(id=slug)
|
||||
if feedtags
|
||||
.tags
|
||||
each tag in feedtags
|
||||
a.tag(href="#") #{tag}
|
||||
h2 #{title}
|
||||
.content-wrapper !{content}
|
||||
.footer
|
||||
a.permalink(href=`/feed/#${slug}`) permalink (v1)
|
||||
span.sep |
|
||||
a.permalink(href=url) permalink (v2)
|
||||
span.sep |
|
||||
span.date #{date.toLocaleDateString()}
|
||||
Reference in New Issue
Block a user