Posts

<!-- Error rendering component -->
<!-- TwigException: getLang function does not exist and is not defined in the context -->
<!-- Error: TwigException: getLang function does not exist and is not defined in the context
    at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{% extends "@layouts/base.twig" %}

{% block content %}
    <main>
        <h1>{{ title }}</h1>

        <div class="typography">
            {{ content|raw }}
        </div>

        {% if posts|length > 0 %}
            <ul class="posts">
                {% for post in posts %}
                    <li class="posts__item">
                        <article class="post">
                            <h1><a href="{{ post.link }}">{{ post.title }}</a></h1>
                            <div>
                                {{ post.content|raw }}
                            </div>
                        </article>
                    </li>
                {% endfor %}
            </ul>
        {% else %}
            <p>No results found.</p>
        {% endif %}
    </main>
{% endblock %}
/* No context defined. */

No notes defined.