diff --git a/config.toml b/config.toml index 70f42a6..26d72ec 100644 --- a/config.toml +++ b/config.toml @@ -34,3 +34,4 @@ back_home_text = ".." date_format = "2006-01-02" isListGroupByDate = false + isShowFooter = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 319153e..37fe512 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,4 @@ -{{ $footerContent := readFile "layouts/footer.md" }} -{{ $footerContent | markdownify }} +{{ if site.Params.theme_config.isShowFooter }} + {{ $footerContent := readFile "layouts/footer.md" }} + {{ $footerContent | markdownify }} +{{ end }} \ No newline at end of file