fix: feed + formatting
This commit is contained in:
parent
34d2020173
commit
09614b0589
22 changed files with 30 additions and 52 deletions
|
@ -1,4 +1,4 @@
|
|||
{%- assign shareLink = postUrl | findPost: linkPosts -%}
|
||||
{%- assign shareLink = postUrl | findPost:linkPosts -%}
|
||||
{%- if shareLink %}
|
||||
<script type="module" src="/assets/scripts/components/mastodon-post.js"></script>
|
||||
<template id="mastodon-post-template">
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
layout: main
|
||||
schema: blog
|
||||
---
|
||||
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
|
||||
{%- capture postUrl %}{{ meta.url }}{{ page.url }}{% endcapture -%}
|
||||
<div class="default-wrapper">
|
||||
<article class="h-entry">
|
||||
<div class="flex-centered gap-xs icon-small icon-light">
|
||||
{% tablericon "calendar-month" "Date" %}
|
||||
<time class="dt-published" datetime="{{ date }}">
|
||||
{{ date | date: "%B %e, %Y" }}
|
||||
</time>
|
||||
</div>
|
||||
<h2 class="p-name">{{ title }}</h2>
|
||||
<span class="p-author h-card hidden">{{ meta.author }}</span>
|
||||
<div class="p-summary hidden">{{ post.description }}</div>
|
||||
<div class="e-content">
|
||||
{% render "partials/banners/old-post.liquid", date:post.date %}
|
||||
{{ content }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{% render "partials/widgets/mastodon-post.liquid", postUrl:postUrl, linkPosts:linkPosts %}
|
||||
{% render "partials/widgets/addon-links.liquid", posts:posts, analytics:analytics, links:collections.links %}
|
Reference in a new issue