Perlkonig / grav-skeleton-knowledge-base

Skeleton package of the Knowledge Base theme for Grav CMS
https://www.perlkonig.com/knowledge-base
MIT License
22 stars 14 forks source link

Authors page does not exist #13

Open pmatousu opened 6 years ago

pmatousu commented 6 years ago

When language is auto included by grav in the url, then the authors and possibly other pages routed via taxonomy do not exist. Link like thi works: /docs/taxonomy?name=author This one not: /docs/cs/taxonomy?name=author

Perlkonig commented 6 years ago

I don't work with multi-language blogs personally. I'll have to do some research. Are you using multi-langauge pages?

ftertre commented 5 years ago

Hi, from my side, I work with multisite setup with sub directory version. And I also have a problem with Authors page, but it has been solved with adding a small / in the 02.authors/default.md

title: Authors
redirect: '/taxonomy?name=author'

content:
    items: @self.children

cache_enable: false
twig_first: true
process:
    markdown: false
    twig: true
---

<h1>Authors</h1>
<ul>
{% for p in page.collection %}
    <li><a href="{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
</ul>

Hope it will help