diff --git a/data/config.yaml b/data/config.yaml index 0ebe801..5759ab2 100644 --- a/data/config.yaml +++ b/data/config.yaml @@ -1,5 +1,6 @@ name: Jacky Zhao enableToc: true +enableLinkPreview: true description: Here is the page description. This is an example Quartz site that details installation, setup, customization, and troubleshooting for Quartz itself. diff --git a/layouts/partials/popover.html b/layouts/partials/popover.html index d9cc941..afcf4c5 100644 --- a/layouts/partials/popover.html +++ b/layouts/partials/popover.html @@ -1,3 +1,4 @@ +{{if $.Site.Data.config.enableLinkPreview}} \ No newline at end of file + +{{end}} \ No newline at end of file