From 7043881ae2a712487c0557926d75384a9d35b6ac Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 12 Mar 2018 21:30:47 +0800 Subject: feat: generate flowchart diagrams from code blocks (#35) --- layouts/partials/scripts.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index fc254b5..01e5e16 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -8,6 +8,19 @@ {{ if .Site.Params.fancybox }}{{ end }} +{{- end -}} + + +{{- if and (or .Params.flowchartDiagrams.enable (and .Site.Params.flowchartDiagrams.enable (ne .Params.flowchartDiagrams.enable false))) (or .IsPage .IsHome) -}} + + + {{- end }} -- cgit v1.2.3