chore: drop duplicate post link
This commit is contained in:
parent
6b65a517c5
commit
6ca5bdba41
1 changed files with 0 additions and 6 deletions
|
@ -4,7 +4,6 @@ schema: blog
|
||||||
---
|
---
|
||||||
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
|
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
|
||||||
{%- capture postUrl %}{{ meta.url }}{{ page.url }}{% endcapture -%}
|
{%- capture postUrl %}{{ meta.url }}{{ page.url }}{% endcapture -%}
|
||||||
{%- assign shareLink = postUrl | findPost: linkPosts -%}
|
|
||||||
{% capture css %}
|
{% capture css %}
|
||||||
{% render "../assets/styles/plugins/prism.css" %}
|
{% render "../assets/styles/plugins/prism.css" %}
|
||||||
{% render "../assets/styles/pages/post.css" %}
|
{% render "../assets/styles/pages/post.css" %}
|
||||||
|
@ -16,11 +15,6 @@ schema: blog
|
||||||
<span class="p-author h-card hidden">{{ meta.author }}</span>
|
<span class="p-author h-card hidden">{{ meta.author }}</span>
|
||||||
<div class="flex--centered">
|
<div class="flex--centered">
|
||||||
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
|
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
|
||||||
{%- if shareLink %}
|
|
||||||
<a class="brand-mastodon icon--small icon--center__vertical" href="{{ shareLink }}">
|
|
||||||
{% tablericon "brand-mastodon" "Mastodon post" %}
|
|
||||||
</a>
|
|
||||||
{% endif -%}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="p-summary hidden">{{ post_excerpt }}</div>
|
<div class="p-summary hidden">{{ post_excerpt }}</div>
|
||||||
<div class="e-content">
|
<div class="e-content">
|
||||||
|
|
Reference in a new issue