Correct config variable for enabling latest_posts on about page (#2243)
I noticed disabling latest_posts in `_config.yml` didn't work because the variable in the liquid template was seemingly incorrect. This should fix that. --------- Co-authored-by: Jake Nabasny <jake@nabasny.com>
This commit is contained in:
parent
4dd3d6f441
commit
82e73254d9
|
|
@ -49,7 +49,7 @@ layout: default
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Latest posts -->
|
<!-- Latest posts -->
|
||||||
{% if page.latest_posts %}
|
{% if site.latest_posts.enabled %}
|
||||||
<h2>
|
<h2>
|
||||||
<a href="{{ '/blog/' | relative_url }}" style="color: inherit">latest posts</a>
|
<a href="{{ '/blog/' | relative_url }}" style="color: inherit">latest posts</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ profile:
|
||||||
<p>Your City, State 12345</p>
|
<p>Your City, State 12345</p>
|
||||||
|
|
||||||
news: true # includes a list of news items
|
news: true # includes a list of news items
|
||||||
latest_posts: true # includes a list of the newest posts
|
|
||||||
selected_papers: true # includes a list of papers marked as "selected={true}"
|
selected_papers: true # includes a list of papers marked as "selected={true}"
|
||||||
social: true # includes social icons at the bottom of the page
|
social: true # includes social icons at the bottom of the page
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue