Update templates to use logo partial
All checks were successful
Deploy Hugo / deploy (push) Successful in 22s
All checks were successful
Deploy Hugo / deploy (push) Successful in 22s
This commit is contained in:
parent
7505e734df
commit
54050053e7
@ -1,12 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="banner style1 orient-left content-align-left">
|
||||
<div class="content">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<h2>404 Not Found</h2>
|
||||
<p>Ups, die Seite die du aufrufen wolltest kann nicht gefunden werden.</p>
|
||||
<ul class="actions stacked">
|
||||
<li><a href="{{ .Site.Home.RelPermalink }}" class="button primary large wide">Zurück zur Startseite</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
{{ $subtext := (printf "%s\n%s" "## 404 Not Found" "Ups, die Seite die du aufrufen wolltest kann nicht gefunden werden.") }}
|
||||
{{ partial "logo_with_button" (dict "Page" . "Site" .Site "subtext" $subtext) }}
|
||||
{{ partial "footer" . }}
|
||||
{{ end }}
|
||||
|
||||
@ -1,11 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<section class="banner style1 orient-left content-align-left">
|
||||
<div class="content">
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
<ul class="actions stacked">
|
||||
<li><a href="{{ .Site.Home.RelPermalink }}" class="button primary large wide">Zurück zur Startseite</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
{{ partial "logo_with_button" . }}
|
||||
<section class="wrapper style1 align-left">
|
||||
<div class="inner">
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user