support default example site

This commit is contained in:
saadnpq 2020-04-11 16:27:29 +02:00
parent fec458c871
commit 3e561e9672
2 changed files with 29 additions and 1 deletions

View file

@ -3,7 +3,14 @@
{{if eq .Site.Params.useAvatar true}} {{if eq .Site.Params.useAvatar true}}
<a href="{{ .Site.BaseURL }}"><img src="/avatar.png" alt="avatar"></a> <a href="{{ .Site.BaseURL }}"><img src="/avatar.png" alt="avatar"></a>
{{end}} {{end}}
<a id="branding" href="{{ .Site.BaseURL }}">{{ .Site.Title | safeHTML }}</a>
<a id="branding" href="{{ .Site.BaseURL }}">
{{with .Site.Params.logo}}
{{ . | safeHTML }}
{{else}}
{{ .Site.Title }}
{{end}}
</a>
</header> </header>
<nav> <nav>

View file

@ -185,9 +185,30 @@ button{
word-break: break-word; word-break: break-word;
} }
table {
border-collapse: collapse;
}
table, th, td {
border: 1px solid rgb(97, 96, 96);
}
th, td {
padding: 5px 10px;
}
th {
background-color: rgb(48, 75, 102);
}
tr:nth-child(even) {
background-color: rgb(32, 32, 32);
}
h1, h2, h3 { h1, h2, h3 {
border-bottom: 1px solid #3D3D3D; border-bottom: 1px solid #3D3D3D;
} }
#title { #title {
text-align: center; text-align: center;
margin: 20px; margin: 20px;