From d8cfc220d0fa715a65da939047aef670c73f9e77 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Thu, 3 Aug 2023 12:51:57 +0000 Subject: [PATCH] added support for customization. --- _config.yml | 9 +++++++-- _includes/head.html | 4 ++++ _includes/scripts.html | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index b267d4b..3157c9c 100644 --- a/_config.yml +++ b/_config.yml @@ -33,8 +33,8 @@ excerpt_separator: # Social Links rss: rss -twitter_username: digitaladapt -#github_username: digitaladapt +#twitter_username: digitaladapt +github_username: digitaladapt #bitbucket_username: digitaladapt # "Copy ID" from user menu, may need to enable developer mode to see option #discord_id_number: "570971366833127425" @@ -55,6 +55,11 @@ twitter_username: digitaladapt # - username: digitaladapt # instance: example.com +# custom additions to head/body +# for example, this style will put the page heading on top of the banner image. +#custom_head_html: '' +#custom_body_html: '' + # Build Settings destination: public plugins: diff --git a/_includes/head.html b/_includes/head.html index 97ce7c9..3c0b97a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -23,3 +23,7 @@ {%- if site.matomo_url -%} {%- include matomo.html -%} {%- endif -%} + +{%- if site.custom_head_html -%} + {{ site.custom_head_html }} +{%- endif -%} diff --git a/_includes/scripts.html b/_includes/scripts.html index 57cf275..6f07b40 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -8,3 +8,7 @@ + +{%- if site.custom_body_html -%} + {{ site.custom_body_html }} +{%- endif -%}