blog fixes
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
{% if page.taxonomies.people %}
|
{% if page.taxonomies.people %}
|
||||||
{% set people = get_section(path="people/_index.md") %}
|
{% set people = get_section(path="people/_index.md") %}
|
||||||
{% if people.pages is containing(page.taxonomies.people[0]) %}
|
{% set pages_str = people.pages | json_encode() | as_str %}
|
||||||
|
{% if pages_str is containing(page.taxonomies.people[0]) %}
|
||||||
{% set author_path = 'people/' ~ page.taxonomies.people[0] ~ '/index.md' %}
|
{% set author_path = 'people/' ~ page.taxonomies.people[0] ~ '/index.md' %}
|
||||||
{% set author = get_page(path=author_path) %}
|
{% set author = get_page(path=author_path) %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
{% if featured.taxonomies.people %}
|
{% if featured.taxonomies.people %}
|
||||||
|
{% set people = get_section(path="people/_index.md") %}
|
||||||
|
{% set pages_str = people.pages | json_encode() | as_str %}
|
||||||
|
{% if pages_str is containing(featured.taxonomies.people[0]) %}
|
||||||
{% set author_path = 'people/' ~ featured.taxonomies.people[0] ~ '/index.md' %}
|
{% set author_path = 'people/' ~ featured.taxonomies.people[0] ~ '/index.md' %}
|
||||||
{% set author = get_page(path=author_path) %}
|
{% set author = get_page(path=author_path) %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user