Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Ask Bjørn Hansen 2023-02-03 19:10:17 -08:00
commit 99abc442a1
8 changed files with 20 additions and 19 deletions

BIN
images/.DS_Store vendored

Binary file not shown.

View File

@ -12,6 +12,8 @@
<h1 class="page-title">All articles</h1>
{{ end }}
{{ with .Content }}{{ . }}{{ end }}
<ul class="posts">
{{- range .Data.Pages -}}
{{- if (in (.Site.Params.excludedTypes | default (slice "page")) .Type) -}}

View File

@ -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>

View File

@ -6,7 +6,9 @@
<div class="container wrapper tags">
{{ partial "head.html" . }}
<h1 class="page-title">All tags</h1>
<h1 class="page-title">{{ .Title }}</h1>
{{ with .Content }}{{ . }}{{ end }}
{{ $biggest := 1 }}
{{ $smallest := 1 }}

View File

@ -6,8 +6,10 @@
<div class="container wrapper">
{{ partial "head.html" . }}
{{ with .Content }}{{ . }}{{ end }}
<div>
{{.Content}}
{{ with .Content }}{{ . }}{{ end }}
</div>
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}

View File

@ -1,5 +1,6 @@
<div class="header">
{{- if .IsHome -}}
<base href="{{ .Site.BaseURL }}">
<h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
<div class="site-description">
{{- if isset .Site.Params "subtitle" -}}
@ -29,4 +30,4 @@
{{- end }}
</ul>
</nav>
</div>
</div>

View File

@ -66,4 +66,8 @@ table th {
table th, table td {
padding: 10px 20px;
border: 1px solid #666;
}
}
pre code {
display: inline-block
}

View File

@ -202,6 +202,11 @@ ul {
background-color: #FAFAFA;
}
pre code {
display: inline-block;
}
.wrapper {
max-width: 760px;
margin: 0 auto;