diff --git a/data/config.yaml b/data/config.yaml index 0ebe8011f..5759ab2e8 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 d9cc941d4..afcf4c56d 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