Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
99abc442a1
BIN
images/.DS_Store
vendored
BIN
images/.DS_Store
vendored
Binary file not shown.
@ -12,6 +12,8 @@
|
|||||||
<h1 class="page-title">All articles</h1>
|
<h1 class="page-title">All articles</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with .Content }}{{ . }}{{ end }}
|
||||||
|
|
||||||
<ul class="posts">
|
<ul class="posts">
|
||||||
{{- range .Data.Pages -}}
|
{{- range .Data.Pages -}}
|
||||||
{{- if (in (.Site.Params.excludedTypes | default (slice "page")) .Type) -}}
|
{{- if (in (.Site.Params.excludedTypes | default (slice "page")) .Type) -}}
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
{{ partial "header.html" . }}
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="container wrapper tags">
|
|
||||||
{{ partial "head.html" . }}
|
|
||||||
|
|
||||||
<h1 class="page-title">All tags</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
@ -6,7 +6,9 @@
|
|||||||
<div class="container wrapper tags">
|
<div class="container wrapper tags">
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
|
|
||||||
<h1 class="page-title">All tags</h1>
|
<h1 class="page-title">{{ .Title }}</h1>
|
||||||
|
|
||||||
|
{{ with .Content }}{{ . }}{{ end }}
|
||||||
|
|
||||||
{{ $biggest := 1 }}
|
{{ $biggest := 1 }}
|
||||||
{{ $smallest := 1 }}
|
{{ $smallest := 1 }}
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
<div class="container wrapper">
|
<div class="container wrapper">
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
|
|
||||||
|
{{ with .Content }}{{ . }}{{ end }}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
{{.Content}}
|
{{ with .Content }}{{ . }}{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
{{- if .IsHome -}}
|
{{- if .IsHome -}}
|
||||||
|
<base href="{{ .Site.BaseURL }}">
|
||||||
<h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
<h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||||
<div class="site-description">
|
<div class="site-description">
|
||||||
{{- if isset .Site.Params "subtitle" -}}
|
{{- if isset .Site.Params "subtitle" -}}
|
||||||
@ -29,4 +30,4 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,4 +66,8 @@ table th {
|
|||||||
table th, table td {
|
table th, table td {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
border: 1px solid #666;
|
border: 1px solid #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
@ -202,6 +202,11 @@ ul {
|
|||||||
background-color: #FAFAFA;
|
background-color: #FAFAFA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
max-width: 760px;
|
max-width: 760px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user