404

<!-- Error rendering component -->
<!-- TwigException: Unable to parse 'redirect '/thinking/' ~ post.slug 301' -->
<!-- Error: TwigException: Unable to parse 'redirect '/thinking/' ~ post.slug 301'
    at /opt/build/repo/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/opt/build/repo/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/opt/build/repo/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/opt/build/repo/node_modules/co/index.js:65:19) -->
{% extends '_layouts/default' %}

{% if craft.app.request.getSegment(1) == 'posts' %}
  {% set slug = craft.app.request.getSegment(2) %}
  {% set post =
    craft.entries({
      legacyId: slug
    }).one()
  %}
  {% if post %}
    {% redirect '/thinking/' ~ post.slug 301 %}
    {% exit %}
  {% endif %}

  {% set post =
    craft.entries({
      legacySlug: slug
    }).one()
  %}
  {% if post %}
    {% redirect '/thinking/' ~ post.slug 301 %}
    {% exit %}
  {% endif %}
{% endif %}

{% block header %}
  {% include '@breadcrumb' with {
    breadcrumb: {
      link: '/',
      title: 'Home'
    }
  } %}

  {{
    include(
      '@page-header',
      {
        title: {
          text: '404'
        },
        content: {
          subtitle: 'Page not found',
          standfirst: {
            text: '<p>There are known knowns. These are things we know that we know. There are known unknowns. That is to say, there are things that we know we don’t know. But there are also unknown unknowns. There are things we don’t know we don’t know.</p><p>We don’t know what you were looking for and we don’t know we don’t know. <a href="/contact">Let us know</a>.</p>'
          }
        }
      }
    )
  }}
{% endblock %}

{% block main %}

{% endblock %}
/* No context defined. */

No notes defined.