diff --git a/_config.yml b/_config.yml index 48c96f32ec58..7402cceb8232 100644 --- a/_config.yml +++ b/_config.yml @@ -16,7 +16,8 @@ footer_text: > keywords: jekyll, jekyll-theme, academic-website, portfolio-website # add your own keywords or leave empty lang: en # the language of your site (for example: en, fr, cn, ru, etc.) -icon: 🔥 # the emoji used as the favicon +icon: 🔥 # the emoji used as the favicon (alternatively, provide image name in /assets/img/) + url: https://alshedivat.github.io # the base hostname & protocol for your site baseurl: /al-folio # the subpath of your site, e.g. /blog/ last_updated: false # set to true if you want to display last updated in the footer diff --git a/_includes/head.html b/_includes/head.html index c1f0fd594169..3dc3cfacd9d9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,4 +1,3 @@ - {% include metadata.html %} @@ -15,9 +14,11 @@ - {% if site.icon != empty -%} - - {%- endif %} + {% if site.icon.size == 1 %} + + {% elsif site.icon != blank %} + + {% endif %}