Welcome to mirror list, hosted at ThFree Co, Russian Federation.

baseof.html « _default « layouts - github.com/yanlinlin82/simple-style.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e081095eccbee94065785e2861cbc9a9479855c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ partial "html-meta.html" . -}}
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<style type="text/css">
body{margin:16px auto;max-width:677px;padding:0 10px;color:#333;line-height:1.6}
h1{line-height:2;font-size:160%}
h2{line-height:1.6;font-size:120%}
h3,h4,h5,h6{line-height:1.2;font-size:100%}
header{margin:0;padding:0;border-bottom:1px solid #999;line-height:1}
footer{margin:0;padding:10px 0;border-top:1px solid #999;line-height:1;text-align:center}
p,div,table,ul,ol{margin:10px 0}
img{margin:10px auto;width:90%;max-width:600px;padding:0 10px;height:auto;display:block}
hr{border:none;border-top:1px dashed #999;color:#fff;background-color:#fff;height:1px}
a{color:#00f;word-wrap:break-word}
a:visited{color:#009}
a:hover{color:#f00}
header a,header a:visited,footer a,footer a:visited,h1 a,h1 a:visited,h2 a,h2 a:visited,h3 a,h3 a:visited,h4 a,h4 a:visited,h5 a,h5 a:visited,h6 a,h6 a:visited{text-decoration:none;color:#333}
header a:hover,footer a:hover,h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{text-decoration:none;color:#f00}
nav{padding:10px 0;text-align:right}
nav a{padding-left:15px}
table{border-collapse:collapse}
th,td{border:1px solid gray;padding:2px 5px}
code{border:1px dotted #999;background-color:#f0f0f0;padding:1px 2px;line-height:200%;word-wrap:break-word}
pre{border:1px solid #999;background-color:#f0f0f0;padding:5px;overflow:auto;max-height:500px}
pre code{border:0;background:none;padding:0}
ul.pagination{list-style-type:none;text-align:center}
li.page-item{display:inline;padding-right:15px}
</style>
{{ with .Site.Params.favicon -}}
<link rel="icon" href="{{ . }}" type="image/x-icon">
{{ end -}}
</head>
<body>
<header>
  {{ with .Site.Menus.parent -}}
  <nav>
    {{ range . -}}
    <a href="{{ .URL }}">{{ .Name }}</a>
    {{ end -}}
  </nav>
  {{ end -}}
  <div>
    <h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
    {{- if .Site.Params.subtitle }}<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Params.subtitle }}</a></h2>{{- end }}
  </div>
  <nav>
    {{- range .Site.Menus.main -}}
    <a href="{{ .URL }}">{{ .Name }}</a>
    {{- end -}}
  </nav>
</header>
<main>
  <article class="content">
    {{ block "main" . }}{{- end }}
  </article>
</main>
<footer>
  <div>
    <div>
      {{ if .Site.Copyright -}}
        {{- .Site.Copyright | markdownify -}}
      {{- else -}}
        &copy; 2019 Linlin Yan. <a href="https://creativecommons.org/licenses/by/4.0/deed.zh">CC-BY-4.0</a>
      {{- end -}}
    </div>
  </div>
</footer>
{{ template "_internal/google_analytics_async.html" . -}}
{{ partial "github-corner.html" . -}}
</body>
</html>