Sign in

Custom 404

  • This topic has 1 reply, 2 voices, and was last updated 1 year, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2285
    gadgetboy

    I followed Bob’s instructions for finding the 404.html page found in this thread but could not find ‘404.html’ – only ‘404.hbs’. Can I simply replace ‘translate error.message’ and ‘translate error.404’ with custom language?

    I’m using the Mercury theme.

    Thanks in advance.

    {{> head}}
    {{> top}}
    <main>
    <article class="post u-wrapper">
    <header class="hero">
    <h1>{{ translate 'error.404' }}</h1>
    </header>
    <p>{{ translate 'error.message' }}</p>
    </article>
    </main>
    {{> footer}}

     

    #2288
    Bob

    I suggest you edit the language file https://getpublii.com/dev/translations-api/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.