trying get titles to work as intended

This commit is contained in:
Lukasz Skotarek 2020-04-10 18:58:58 +02:00
parent 37fd55cbd7
commit 31a3a310b4
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ layout: default
--- ---
<article class="post"> <article class="post">
<h1>{{ page.post.title }}</h1> <h1>{{ post.post_title }}</h1>
<div class="entry"> <div class="entry">
{{ content }} {{ content }}

View file

@ -6,7 +6,7 @@ layout: default
{% for post in site.posts %} {% for post in site.posts %}
<article class="post"> <article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.post_title }}</a></h1>
<h6>Published on: {{ post.post_date | date: "%B %e, %Y" }} <br /></h6> <h6>Published on: {{ post.post_date | date: "%B %e, %Y" }} <br /></h6>
<div class="entry"> <div class="entry">