From 5bcf92d8fe6e0b3f350a5122df92ac51c4dbe18d Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 12 Mar 2018 21:44:54 +0800 Subject: feat: generate sequence diagrams from code blocks (#35) Close #35 --- layouts/partials/scripts.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 01e5e16..4122086 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -21,6 +21,22 @@ +{{- end -}} + + +{{- if and (or .Params.sequenceDiagrams.enable (and .Site.Params.sequenceDiagrams.enable (ne .Params.sequenceDiagrams.enable false))) (or .IsPage .IsHome) -}} + + + + + + {{- end }} -- cgit v1.2.3