1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-10 16:54:35 +02:00

Continuing transition to hugo

This commit is contained in:
Andrew Davis
2019-07-13 08:48:55 -05:00
parent e09557cf2c
commit 2ae912aada
36 changed files with 224 additions and 401 deletions

View File

@@ -1,7 +1,9 @@
<div class="container center">
<a href="/" class="logo-404"><?= icon('elephant') ?></a>
<p class="message-404">Whoops! The page could not be found.</p>
<div class="toc-404">
<?php partial('table_of_contents') ?>
{{ define "main" }}
<div class="container center">
<a href="/" class="logo-404">{{ readFile "static/elephant.svg" | safeHTML }}</a>
<p class="message-404">Whoops! The page could not be found.</p>
<div class="toc-404">
{{ partial "table_of_contents.html" . }}
</div>
</div>
</div>
{{ end }}

View File

@@ -3,7 +3,7 @@
{{ partial "menu_button.html" . }}
<h1>{{ .Title }}</h1>
<h3 class="subtitle">{{ .Description }}</h3>
<h2 class="subtitle">{{ .Description }}</h2>
{{ .Content }}
<div class="clearfix"></div>