Sha256: f1af430e7db9976fb9e40a2b49586791c3d13108f0e6c3715fb448574416e37c
Contents?: true
Size: 745 Bytes
Versions: 8
Compression:
Stored size: 745 Bytes
Contents
--- layout: base --- {% assign strings = site.data.strings %} <div class="page"> <h1 class="page-title">{{ page.title | default:strings.not_found.title | default: "404: Page Not Found" }}</h1> {% assign test = page.content | strip_newlines %} {% if test != "" %} {{ content }} {% else %} {% capture home_link %}<a href="{{ '/' | relative_url }}">{{ strings.not_found.home_link | default:"Head back home" }}</a>{% endcapture %} {% assign text = strings.not_found.message | default:"Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <!--home_link--> to try finding it again." %} <p class="lead"> {{ text | replace:"<!--home_link-->", home_link }} </p> {% endif %} </div>
Version data entries
8 entries across 8 versions & 1 rubygems