Skip to content

Commit

Permalink
Add copy code button (#326)
Browse files Browse the repository at this point in the history
Co-authored-by: Emruz Hossain <[email protected]>
  • Loading branch information
BernatBC and hossainemruz authored Sep 20, 2024
1 parent 1a5e3e1 commit 6751240
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ params:

# Configure various features of this theme
features:

# [Deprecated] Enable dark theme
# This is a deprecated setting, but has not been removed to maintain backward compatibility
# If `theme` is set, the `darkMode` setting will be discarded.
Expand Down Expand Up @@ -265,7 +264,11 @@ params:
# options doc: https://github.com/sampotts/plyr#options
# fullscreen: true

# Enable reading time support in post cards and in post pages
# Enables copy code button
copyCodeButton:
enable: true

# Enable reading time support in post cards and in post pages
readingTime:
enable: false

Expand Down

0 comments on commit 6751240

Please sign in to comment.