Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Statamic Fieldset for Head and Footer Scripts
title: 'Site Settings'
hide: true
sections:
main:
fields:
head_scripts:
mode: table
fields:
description:
type: text
display: Description
code:
type: textarea
display: Code
type: grid
instructions: 'Add meta tags and scripts to the `<head>` area of your site.'
display: 'Head Scripts'
add_row: Add Code
footer_scripts:
mode: table
fields:
description:
type: text
display: Description
code:
type: textarea
display: Code
type: grid
instructions: 'Add meta tags and scripts right before closing `</body>` area of your site.'
display: 'Footer Scripts'
add_row: Add Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.