diff --git a/config.toml b/config.toml index 8d79292d..e13d8375 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,7 @@ title = "Jake Jarvis" canonifyURLs = true +disableFastRender = true disableHugoGeneratorInject = true # don't worry, inserted manually :) disableKinds = ["taxonomy", "taxonomyTerm"] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index e57071d7..00000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1 +0,0 @@ -{{ partial "header.html" . }}{{ block "main" . }}{{ end }}{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 00000000..bfd73d1d --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,21 @@ +{{ partial "header.html" . }} +{{ partial "blog-header.html" . }} + +
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

{{ .Key }}

+ +
+ {{ end }} +
+ +{{ partial "blog-footer.html" . }} +{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/notes/single.html b/layouts/_default/single.html similarity index 85% rename from layouts/notes/single.html rename to layouts/_default/single.html index 04a8532e..9e258aa4 100644 --- a/layouts/notes/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,6 @@ -{{ define "main" }} +{{ partial "header.html" . }} +{{ partial "blog-header.html" . }} +

{{ .Title }}

@@ -24,4 +26,6 @@ {{ .Content }}
-{{ end }} \ No newline at end of file + +{{ partial "blog-footer.html" . }} +{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 4a110649..8ba0cf52 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ partial "header.html" . }}
Photo of Jake Jarvis

Hi! I'm Jake Jarvis. 👋

@@ -24,4 +24,4 @@
© 2001 – {{ now.Format "2006" }} . View source.
-{{ end }} \ No newline at end of file +{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/notes/baseof.html b/layouts/notes/baseof.html deleted file mode 100644 index f78a37e5..00000000 --- a/layouts/notes/baseof.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ partial "header.html" . }} -{{ partial "blog-header.html" . }} -{{ block "main" . }}{{ end }} -{{ partial "blog-footer.html" . }} -{{ partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/notes/list.html b/layouts/notes/list.html deleted file mode 100644 index 70070709..00000000 --- a/layouts/notes/list.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} -
- -{{ range .Data.Pages.GroupByDate "2006" }} -
-

{{ .Key }}

- -
-{{ end }} - -
-{{ end }} \ No newline at end of file diff --git a/static/style.css b/static/style.css index 50e87222..af580fb4 100644 --- a/static/style.css +++ b/static/style.css @@ -700,8 +700,13 @@ body#notes div#content blockquote { body#notes div#content code { font-family: monospace; background: #f4f4f4; + padding: 0.2em; + border: 1px solid #cccccc; + font-size: 16px; +} + +body#notes div#content pre code { padding: 1em 1.5em; - font-size: 15px; line-height: 1.6; page-break-inside: avoid; border: 1px solid #ddd;