support default example site
This commit is contained in:
parent
fec458c871
commit
3e561e9672
2 changed files with 29 additions and 1 deletions
|
@ -3,7 +3,14 @@
|
|||
{{if eq .Site.Params.useAvatar true}}
|
||||
<a href="{{ .Site.BaseURL }}"><img src="/avatar.png" alt="avatar"></a>
|
||||
{{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>
|
||||
|
||||
<nav>
|
||||
|
|
|
@ -185,9 +185,30 @@ button{
|
|||
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 {
|
||||
border-bottom: 1px solid #3D3D3D;
|
||||
}
|
||||
|
||||
#title {
|
||||
text-align: center;
|
||||
margin: 20px;
|
||||
|
|
Loading…
Reference in a new issue