From eabe679e897a93b8a431e1f5e340ef08f0ba2b90 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Fri, 18 Aug 2017 07:13:22 +0100 Subject: [PATCH] Permit a single layout stylesheet for each content type Eg: /css/post.css --- layouts/partials/header.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 36ec3e6..6c873f5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,6 +6,11 @@ {{ "" | safeHTML }} + + {{- with .Type -}} + + {{ end }} + {{- template "_internal/opengraph.html" . -}}