From f6f1453003051510c54bca718a4aea9f853bccc8 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Sat, 18 Aug 2018 06:54:02 +0700 Subject: [PATCH] fixes fig ordered number --- layouts/partials/page-single/variables-deinit.html | 4 ++-- layouts/partials/page-single/variables-init.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/page-single/variables-deinit.html b/layouts/partials/page-single/variables-deinit.html index 61535eb..eec5f21 100644 --- a/layouts/partials/page-single/variables-deinit.html +++ b/layouts/partials/page-single/variables-deinit.html @@ -1,2 +1,2 @@ -{{ .Page.Scratch.Delete "fig" }} -{{ .Page.Scratch.Delete "table" }} +{{ $.Page.Scratch.Delete "fig" }} +{{ $.Page.Scratch.Delete "table" }} diff --git a/layouts/partials/page-single/variables-init.html b/layouts/partials/page-single/variables-init.html index 6b38b89..e692618 100644 --- a/layouts/partials/page-single/variables-init.html +++ b/layouts/partials/page-single/variables-init.html @@ -1,2 +1,2 @@ -{{ .Page.Scratch.Set "fig" 1 }} -{{ .Page.Scratch.Set "table" 1 }} \ No newline at end of file +{{ $.Page.Scratch.Set "fig" 1 }} +{{ $.Page.Scratch.Set "table" 1 }}