diff --git a/.gitignore b/.gitignore index 1edbb8083..bfcedc8ea 100644 --- a/.gitignore +++ b/.gitignore @@ -34,5 +34,6 @@ Temporary Items .vscode -# customize Headers whiteout touch git submodule. +# Allows customizing the theme without overriding or changing theme files. layouts/partials/extra-head.html +layouts/partials/extra-body.html diff --git a/README.md b/README.md index 7b7cf3bfa..f59c62a73 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,23 @@ This theme was highly inspired by the [hello-friend](https://github.com/panr/hug ## Table of Contents -- [Features](#features) -- [How to start](#how-to-start) -- [How to configure](#how-to-configure) -- [More](#more-things) - - [Built in shortcodes](#built-in-shortcodes) - - [image](#image) - - [Code highlighting](#code-highlighting) - - [Favicon](#favicon) - - [Audio Support](#audio-support) -- [Social Icons](#social-icons) -- [Known issues](#known-issues) -- [How to edit the theme](#how-to-edit-the-theme) -- [Changelog](CHANGELOG.md) -- [Sponsoring](#sponsoring) -- [Licence](#licence) +- [Hello Friend NG](#hello-friend-ng) + - [General informations](#general-informations) + - [Table of Contents](#table-of-contents) + - [Features](#features) + - [How to start](#how-to-start) + - [How to configure](#how-to-configure) + - [More things](#more-things) + - [Built-in shortcodes](#built-in-shortcodes) + - [image](#image) + - [Code highlighting](#code-highlighting) + - [Favicon](#favicon) + - [Audio Support](#audio-support) + - [Social Icons:](#social-icons) + - [Known issues](#known-issues) + - [How to edit the theme](#how-to-edit-the-theme) + - [Sponsoring](#sponsoring) + - [Licence](#licence) --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2c80de9d2..6a0729c1c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -21,5 +21,8 @@ {{ partial "javascript.html" . }} + {{- if templates.Exists "partials/extra-body.html" -}} + {{ partial "extra-body.html" . }} + {{- end }}