Remove obsolete templates
This commit is contained in:
parent
262c2bfa98
commit
9fd1f69cf5
@ -1,52 +0,0 @@
|
|||||||
extends layout
|
|
||||||
|
|
||||||
mixin webmention($item)
|
|
||||||
p
|
|
||||||
if (array_key_exists('title', $item))
|
|
||||||
a(href="{$item['source']}") !{$item['title']}
|
|
||||||
else
|
|
||||||
a(href="{$item['source']}") !{$item['source']}
|
|
||||||
if (array_key_exists('author_name', $item))
|
|
||||||
| by !{$item['author_name']}
|
|
||||||
if (array_key_exists('date', $item))
|
|
||||||
| on !{$item['date']}
|
|
||||||
if (array_key_exists('time', $item))
|
|
||||||
| at !{$item['time']} UTC
|
|
||||||
|
|
||||||
mixin discussionLink($item)
|
|
||||||
p
|
|
||||||
a(href="{$item}") !{$item}
|
|
||||||
|
|
||||||
block content
|
|
||||||
header
|
|
||||||
nav
|
|
||||||
a(href="/about") about me
|
|
||||||
| >
|
|
||||||
a(href="/") blog
|
|
||||||
| > !{$post['slug']}
|
|
||||||
|
|
||||||
main
|
|
||||||
article.longform.h-entry
|
|
||||||
h1.p-name !{$post['title']}
|
|
||||||
p.longform__header
|
|
||||||
| Posted on
|
|
||||||
a(href="{$post['url']}" datetime="{$post['date']}").u-url.dt-published !{$post['date_formatted']}
|
|
||||||
| by
|
|
||||||
a(href="/" rel="author").p-author.h-card !{$post['author']}
|
|
||||||
|
|
||||||
.longform__content.e-content
|
|
||||||
| !{$post['content']}
|
|
||||||
|
|
||||||
if ($post['discussion'])
|
|
||||||
.discussion.subsection
|
|
||||||
h2 Join the discussion
|
|
||||||
each $item in $post["discussion"]
|
|
||||||
+discussionLink($item)
|
|
||||||
|
|
||||||
.webmentions.subsection
|
|
||||||
h2 Webmentions
|
|
||||||
if ($post['hasWebmentions'])
|
|
||||||
each $item in $post["webmentions"]
|
|
||||||
+webmention($item)
|
|
||||||
else
|
|
||||||
p This post has not been mentioned yet.
|
|
||||||
@ -1,34 +0,0 @@
|
|||||||
extends layout
|
|
||||||
|
|
||||||
mixin webmention($item)
|
|
||||||
p
|
|
||||||
a(href="{$item['source']}") !{$item['title']}
|
|
||||||
| by !{$item['author_name']} on !{$item['date']} at !{$item['time']}
|
|
||||||
|
|
||||||
block content
|
|
||||||
header
|
|
||||||
nav
|
|
||||||
a(href="/about") about me
|
|
||||||
| >
|
|
||||||
a(href="/notes") notes
|
|
||||||
| > !{$post['slug']}
|
|
||||||
|
|
||||||
main
|
|
||||||
article.longform.h-entry
|
|
||||||
h1.p-name !{$post['title']}
|
|
||||||
p.longform__header
|
|
||||||
| Posted on
|
|
||||||
a(href="{$post['url']}" datetime="{$post['date']}").u-url.dt-published !{$post['date_formatted']}
|
|
||||||
| by
|
|
||||||
a(href="/" rel="author").p-author.h-card !{$post['author']}
|
|
||||||
|
|
||||||
.longform__content.e-content
|
|
||||||
| !{$post['content']}
|
|
||||||
|
|
||||||
.webmentions
|
|
||||||
h2 Webmentions
|
|
||||||
if ($post['hasWebmentions'])
|
|
||||||
each $item in $post["webmentions"]
|
|
||||||
+webmention($item)
|
|
||||||
else
|
|
||||||
p This post has not been mentioned yet.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user