feat(cosmetics): updated background for home and error page, updated title
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
{{ define "extrabodyclass" }}
|
||||
class="toxicGlow"
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
<div id="spotlight" class="http-error animated fadeIn">
|
||||
<div id="home-center">
|
||||
<div class="banner-error">
|
||||
<h1>STATUSCODE</h1>
|
||||
<p>STATUSMSG</p>
|
||||
<br>
|
||||
<p class="btn-http-error">
|
||||
<a href="{{.Site.BaseURL}}"><img class="feather" width="24" height="24" alt="home" src="{{"home.svg" | relURL}}"> {{ i18n "home" }}</a>
|
||||
<a href="{{.Site.BaseURL}}"><img class="feather" width="48" height="48" alt="home" src="{{"arrow-left.svg" | relURL}}"> {{ i18n "home" }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
{{- end }}
|
||||
</head>
|
||||
|
||||
<body id="page">
|
||||
<body id="page" {{ block "extrabodyclass" . -}}{{ end -}}>
|
||||
{{ block "header" . -}}{{ end -}}
|
||||
{{ block "main" . -}}{{ end -}}
|
||||
{{ block "footer" . -}}{{ end }}
|
||||
|
||||
@@ -8,13 +8,17 @@
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
||||
{{ define "extrabodyclass" }}
|
||||
class="toxicGlow"
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ if (or .Site.Params.images .Site.Params.bgImg) }}
|
||||
<div class="bg-img"></div>
|
||||
{{ end }}
|
||||
<div id="spotlight" class="animated fadeIn">
|
||||
<div id="home-center">
|
||||
<h1 id="home-title">{{ .Site.Title }}</h1>
|
||||
<h1 id="home-title">{{ .Site.Title }}:/ <span id="usrid">#</span><span id="caret">_</span></h1>
|
||||
<hr>
|
||||
{{ range .Site.Params.homeSubtitle }}
|
||||
<p id="home-subtitle">{{ . }}</p>
|
||||
|
||||
Reference in New Issue
Block a user