diff --git a/README.md b/README.md index 32be2774ab..4e7f3fd245 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,13 @@ For example, to render a link to an account of user `john.doe` at platform `devi - The `user_url` is rendered as given without handling any special characters within. +### Hiding parts from the footer + +- You can hide the feed part from the footer by setting `site.minima.hide_feed_from_footer` to `true` in `_config.yml`. +- You can hide the author part from the footer by setting `site.minima.hide_author_from_footer` to `true` in `_config.yml`. +- You can hide the description part from the footer by setting `site.minima.hide_description_from_footer` to `true` in `_config.yml`. + + ### Enabling Google Analytics To enable Google Analytics, add the following lines to your Jekyll site: diff --git a/_config.yml b/_config.yml index 3a8172e60a..4e5b15b730 100644 --- a/_config.yml +++ b/_config.yml @@ -15,8 +15,8 @@ description: > # If you clone the Minima repo and build locally, use this setting. theme: minima -# As of November 2023, GitHub Pages still uses Minima 2.5.1 (https://pages.github.com/versions/). -# If you want to use the latest Minima version on GitHub Pages, use the following setting and +# As of November 2023, GitHub Pages still uses Minima 2.5.1 (https://pages.github.com/versions/). +# If you want to use the latest Minima version on GitHub Pages, use the following setting and # add a line comment on "theme: minima" above. #remote_theme: jekyll/minima @@ -45,9 +45,9 @@ minima: # solarized-dark Dark variant of solarized color scheme. # solarized Adaptive skin for solarized color scheme skins. skin: classic - + # Minima date format. - # The default value is "%b %d, %Y" (e.g. Nov 14, 2023) + # The default value is "%b %d, %Y" (e.g. Nov 14, 2023) # Refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this. #date_format: "%b-%d-%Y" @@ -71,4 +71,7 @@ minima: # - { platform: x, user_url: "https://x.com/jekyllrb" } # - { platform: youtube, user_url: "https://www.youtube.com/jekyll" } - + # Hide parts from footer. + # hide_feed_from_footer: true + # hide_author_from_footer: true + # hide_description_from_footer: true diff --git a/_includes/footer.html b/_includes/footer.html index f81886ff94..82555c2d66 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,14 +5,18 @@