{{ item.data.title }}
on {{ item.page.date | formatDate }}, takes {{ item.content | timeToRead }} to read.
-diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/src/_includes/layouts/post.njk b/src/_includes/layouts/post.njk index 9e42279..38b0d22 100644 --- a/src/_includes/layouts/post.njk +++ b/src/_includes/layouts/post.njk @@ -8,10 +8,6 @@ useContainer: true
on {{ page.date | formatDate }}, takes {{ content | timeToRead }} to read.
-{% if (openGraph.imgUrl) %} -No tags
{% endif %} +{% if (openGraph.imgUrl) %} +{{ item.data.title }}
on {{ item.page.date | formatDate }}, takes {{ item.content | timeToRead }} to read.
-{{ item.data.description }}
diff --git a/src/posts.njk b/src/posts.njk index e29edaa..fd2d411 100644 --- a/src/posts.njk +++ b/src/posts.njk @@ -30,10 +30,10 @@ pagination:{{ item.data.title }}
on {{ item.page.date | formatDate }}, takes {{ item.content | timeToRead }} to read.
-{{ item.data.title }}
{{ item.data.description }}
-{{ post.data.title }}
on {{ post.page.date | formatDate }}
-