diff --git a/templates/page.html b/templates/page.html index 9532722..3a52b1c 100644 --- a/templates/page.html +++ b/templates/page.html @@ -45,7 +45,7 @@
+ th:classappend="|${#annotations.getOrDefault(singlePage, 'enable_read_limit', 'false') == 'true' ?'limited': ''} ${(#annotations.getOrDefault(singlePage, 'enable_copy', 'true') == 'false' or theme.config.post.enable_copy != true) ? 'uncopy' : ''} ${theme.config.post.enable_indent ? 'indent':''} ${(theme.config.code_block.enable_code_line_number == true and theme.config.code_block.enable_code_newline ==true) ? 'line-numbers':''} ${theme.config.code_block.enable_single_code_select == true ? 'single_code_select': ''}|">
diff --git a/templates/page_leaving.html b/templates/page_leaving.html index 2e5726a..fdddb02 100644 --- a/templates/page_leaving.html +++ b/templates/page_leaving.html @@ -45,7 +45,7 @@
+ th:classappend="|${#annotations.getOrDefault(singlePage, 'enable_read_limit', 'false') == 'true' ?'limited': ''} ${(#annotations.getOrDefault(singlePage, 'enable_copy', 'true') == 'false' or theme.config.post.enable_copy != true) ? 'uncopy' : ''} ${theme.config.post.enable_indent ? 'indent':''} ${(theme.config.code_block.enable_code_line_number == true and theme.config.code_block.enable_code_newline ==true) ? 'line-numbers':''} ${theme.config.code_block.enable_single_code_select == true ? 'single_code_select': ''}|">
  • diff --git a/templates/post.html b/templates/post.html index 6390379..7c8f714 100644 --- a/templates/post.html +++ b/templates/post.html @@ -33,7 +33,7 @@
    [[${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}]] @@ -84,7 +84,7 @@
    + th:classappend="|${#annotations.getOrDefault(post, 'enable_read_limit', 'false') == 'true' ?'limited': ''} ${(#annotations.getOrDefault(post, 'enable_copy', 'true') == 'false' or theme.config.post.enable_copy != true) ? 'uncopy' : ''} ${theme.config.post.enable_indent ? 'indent':''} ${(theme.config.code_block.enable_code_line_number == true and theme.config.code_block.enable_code_newline ==true) ? 'line-numbers':''} ${theme.config.code_block.enable_single_code_select == true ? 'single_code_select': ''}|">