> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# Custom HTML

- URL: https://getpublii.com/dev/custom-html/
- Published: 2017-08-04T22:38:02.840Z
- Updated: 2022-03-22T16:32:04.623Z
- Description: Every theme offers few places where user can inject custom HTML code. By default there are three places available: head, body and footer @headCustomCode -…
- Author: Tomasz Dziuda
- Tags: Global Variables

Every theme offers few places where user can inject custom HTML code. By default there are three places available: head, body and footer

-   **@headCustomCode** - custom code added in the end of head section
-   **@bodyCustomCode** - custom code added at the beginning of the body section (after opening body tag).
-   **@commentsCustomCode** - custom code added in place of comments area (if enabled under site/post settings)
-   **@footerCustomCode** - custom code added to the footer section (before closing body tag)
-   **@footerAmpCustomCode** - custom code added to the footer section in AMP template (before closing body tag)
-   **@headAmpCustomCode** - custom code added in the end of head section in AMP template
