404 page redirect to homepage Is it possible to set up a 404 page, and after x amount of time redirecting to the homepage?

{% extends "_layout/_layout" %}


{% set metaTitle = "404" %}


{% set bodyId           = "404" %}
{% set bodyClass        = "404" %}

{% block content %}
    &lt;section class="container"&gt;
        &lt;h1&gt;Page not found&lt;/h1&gt;

        &lt;p&gt;What’s worse, a hilarious 404 page can’t be found either.&lt;/p&gt;
    &lt;/section&gt;


    &lt;!--404 Tracking Google--&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[
    if (document.title.search(/404/i) !== -1) {
    _gaq.push(['_trackEvent', 'Error', '404', 'page: ' + document.location.pathname + document.location.search + ' ref: ' + document.referrer,,true]);
     }; 
    // ]]&gt;

&lt;/script&gt;
{% endblock %}
You could always use a meta refresh

&lt;meta http-equiv="refresh" content="5; url=http://example.com/"&gt;


With the number being the amount of time in seconds until the redirect