diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index 23491df..908d208 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -7,6 +7,8 @@
{{ .Title }}
+{{ partial "table_of_contents.html" . }}
+
{{- $hasContent := false -}}
{{ with .Content }}
{{- $hasContent = true -}}
diff --git a/layouts/partials/photo_exif_table.html b/layouts/partials/photo_exif_table.html
index fbd229f..a212c98 100644
--- a/layouts/partials/photo_exif_table.html
+++ b/layouts/partials/photo_exif_table.html
@@ -49,7 +49,7 @@
{{- $focalLength := .Tags.FocalLengthIn35mmFilm | default .Tags.FocalLength -}}
{{- with $focalLength -}}{{ . }} mm{{- end -}}
- {{ with .Tags.FNumber }}ƒ{{ . }}{{ end }} |
+ {{ with .Tags.FNumber }}{{ printf "ƒ%0.1f" . }}{{ end }} |
{{- with $exposureTime := .Tags.ExposureTime -}}
{{- if in $exposureTime "/" -}}
diff --git a/layouts/partials/table_of_contents.html b/layouts/partials/table_of_contents.html
new file mode 100644
index 0000000..70a2f45
--- /dev/null
+++ b/layouts/partials/table_of_contents.html
@@ -0,0 +1,8 @@
+{{ if and (gt .WordCount 400) .Params.toc }}
+
+{{ end }}
|