diff --git a/config.toml b/config.toml index e7fa3f31..47f5368e 100644 --- a/config.toml +++ b/config.toml @@ -141,6 +141,8 @@ bing = "Your Bing Site verification code." seo = true # enable or disable seo-related meta tags: opengraph, facebook, twitter #dev = false # development mode, if true then robots.txt should prevent search indexing. +#head_extra = '' + ############################################################################### ### Footer social links; these are used in macros/social.html @@ -174,15 +176,6 @@ peertube = "https://peertube.example.com/@username" researchgate = "your-profile-id" -############################################################################### -### Commenting System for visitors to leave comments on pages. -### hyvor talk -############################################################################### - -#comments.hyvor = "9366" # hyvor website id, comment out to disable. -#comments.hyvorcolor = "os" # set the color property for hyvor - - ############################################################################### ### Resource Files ### You can load extra css files if you need to, just separate by comma: @@ -222,6 +215,7 @@ stylesheets = ["abridge.css"] webmanifest = "manifest.min.json" # Required for PWAs + ############################################################################### ### PWA (Progressive Web Application) ### By default Abridge has pwa_NORM_TTL and pwa_LONG_TTL set to 0, this essential turns the PWA cache strategy into network first. @@ -254,6 +248,7 @@ pwa_cache_all = true ### List of Files for the PWA to initially Cache, used if pwa_cache_all = false pwa_BASE_CACHE_FILES = "'/js/theme.min.js','/js/theme_light.min.js','/abridge.css','/js/abridge.min.js','/','/404.html','/offline/','/manifest.min.json'" + ############################################################################### ### Favicons, comment out a line to disable loading some or all of these if needed. ############################################################################### @@ -268,6 +263,15 @@ favicon32 = "favicon-32x32.png" # favicon-32x32.png favicon16 = "favicon-16x16.png" # favicon-16x16.png +############################################################################### +### Commenting System for visitors to leave comments on pages. +### hyvor talk +############################################################################### + +#comments.hyvor = "9366" # hyvor website id, comment out to disable. +#comments.hyvorcolor = "os" # set the color property for hyvor + + ############################################################################### ### Icons ### Loading the entire fontawesome icon collection will negatively impact your sites performance. diff --git a/templates/partials/head.html b/templates/partials/head.html index b96531c3..98d2382b 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -138,4 +138,12 @@ + +{#- Extra items #} + {%- if config.extra.head_extra %} + {{ config.extra.head_extra | safe }} + {%- endif %} + + + {#- End of head partial -#}