diff --git a/themes/writeonly/layouts/_default/single.html b/themes/writeonly/layouts/_default/single.html index 6e49474..b8f1e8d 100644 --- a/themes/writeonly/layouts/_default/single.html +++ b/themes/writeonly/layouts/_default/single.html @@ -12,6 +12,7 @@
{{ .Content }} + {{ partial "shared/post-isbn" . }}
diff --git a/themes/writeonly/layouts/partials/shared/post-isbn.html b/themes/writeonly/layouts/partials/shared/post-isbn.html new file mode 100644 index 0000000..a867e6e --- /dev/null +++ b/themes/writeonly/layouts/partials/shared/post-isbn.html @@ -0,0 +1,8 @@ +
+ {{ with .Params.ISBN }} + + + ISBN {{ . }} + + {{ end }} +