From 58adfbf4eca290d1de51f6d9268e8d5ae9bd7952 Mon Sep 17 00:00:00 2001 From: lniwn Date: Mon, 19 Aug 2019 11:48:10 +0800 Subject: [PATCH] add code copy button --- config.toml | 2 ++ themes/hermit | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index a6effcd..0224883 100644 --- a/config.toml +++ b/config.toml @@ -52,6 +52,8 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func relatedPosts = false # Add a related content section to all single posts page + code_copy_button = true + # Add custom css # customCSS = ["css/foo.css", "css/bar.css"] diff --git a/themes/hermit b/themes/hermit index 00dbd49..16c9d78 160000 --- a/themes/hermit +++ b/themes/hermit @@ -1 +1 @@ -Subproject commit 00dbd49a94f092b591bf7326c9005a97117836d9 +Subproject commit 16c9d78ae518aebb65c3bca5871b2550bbabca16