pidgin/nest
Clone
Summary
Browse
Changes
Graph
Clean up the theming docs as they were causing some issues for users
23 months ago, Gary Kramlich
751fdd3cc961
Clean up the theming docs as they were causing some issues for users
Testing Done:
Ran `npm run hugo:server` and verified the page rendered fine.
Reviewed at https://reviews.imfreedom.org/r/1522/
<!DOCTYPE html>
<
html
lang
=
"
{{
.Page.Language
|
default
"en"
}}
"
class
=
"js csstransforms3d"
>
<
head
>
<
meta
charset
=
"utf-8"
>
{{
partial
"meta.html"
.
}}
{{
partial
"favicon.html"
.
}}
{{
.Scratch.Add
"title"
""
}}
{{
if
eq
.Site.Data.titles
.Title
}}
{{
.Scratch.Set
"title"
(
index
.Site.Data.titles
.Title
)
.title
}}
{{
else
}}
{{
.Scratch.Set
"title"
.Title
}}
{{
end
}}
<
title
>
{{
.Scratch.Get
"title"
}}
</
title
>
{{
$
assetBusting
:=
cond
(
hugo.IsProduction
)
""
(
print
"?"
now.Unix
)
}}
<
link
href
=
"
{{
"css/nucleus.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/fontawesome-all.min.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/hybrid.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/perfect-scrollbar.min.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/horsey.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/theme.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
<
link
href
=
"
{{
"css/hugo-theme.css"
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
{{
with
.Site.Params.themeVariant
}}
<
link
href
=
"
{{
(
printf
"css/theme-%s.css"
.
)
|
relURL
}}{{
$
assetBusting
}}
"
rel
=
"stylesheet"
>
{{
end
}}
<
style
type
=
"text/css"
>
:
root
#
header
+
#
content
>
#
left
>
#
rlblock_left
{
display
:
none
!important
;
}
p
,
li
,
ul
{
text-align
:
center
}
ul
{
list-style-type
:
none
;
}
</
style
>
{{
partial
"custom-header.html"
.
}}
</
head
>
<
body
class
=
""
data-url
=
"/"
>
<
section
id
=
"body"
style
=
"margin-left:0px;"
>
<
div
id
=
"overlay"
></
div
>
<
div
id
=
"chapter"
>
<
div
id
=
"body-inner"
>
<
h1
>
{{
T
"title-404"
}}
</
h1
>
<
p
></
p
>
<
p
>
{{
T
"message-404"
}}
</
p
>
<
p
></
p
>
<
p
>
<
a
href
=
'
{{
""
|
relLangURL
}}
'
>
{{
T
"Go-to-homepage"
}}
</
a
>
</
p
>
<
p
>
<
img
src
=
'
{{
"/images/gopher-404.jpg"
|
relURL
}}
'
style
=
"width:50%"
alt
=
"Page not found!"
/>
</
p
>
</
div
>
</
div
>
</
section
>
</
body
>
</
html
>