packages/templates/usa-base/includes/_identifier.twig
{% set settings = {
'en': {
'domain': 'domain.gov',
'lang': 'en',
'masthead': {
'aria_label': 'Agency identifier',
'description': 'Agency description',
'content': 'An official website of the',
'parent': {
'name': '<Parent agency>',
'shortname': '<Parent shortname>',
'url': 'javascript:void(0)',
'logo': './img/circle-gray-20.svg'
},
'taxpayer_disclaimer': {
'content': 'Produced and published at taxpayer expense.',
'display': false
}
},
'required_links': {
'aria_label': 'Important links',
'links': [
{
'label': 'About',
'url': 'javascript:void(0)',
'include_shortname': true
},
{'label': 'Accessibility support'},
{'label': 'FOIA requests'},
{'label': 'No FEAR Act data'},
{'label': 'Office of the Inspector General'},
{'label': 'Performance reports'},
{'label': 'Privacy policy'}
]
},
'usagov': {
'aria_label': 'U.S. government information and services',
'description': 'Looking for U.S. government information and services?',
'link': {
'label': 'Visit USA.gov',
'url': 'https://www.usa.gov/'
},
'display': true
}
},
'es': {
'domain': 'domain.gov',
'lang': 'es',
'masthead': {
'aria_label': 'l: Identificador de la agencia',
'description': 'Descripción de la agencia',
'content': 'Un sitio web oficial de',
'parent': {
'name': '<Parent agency>',
'shortname': '<Parent shortname>',
'url': 'javascript:void(0)',
'logo': './img/circle-gray-20.svg'
},
'taxpayer_disclaimer': {
'content': 'Producido y publicado con dinero de los contribuyentes de impuestos.',
'display': false
}
},
'required_links': {
'aria_label': 'Enlaces importantes',
'links': [
{
'label': 'Acerca de',
'url': 'javascript:void(0)',
'include_shortname': true
},
{'label': 'Soporte de accesibilidad'},
{'label': 'Solicitud a través de FOIA'},
{'label': 'Datos de la ley No FEAR'},
{'label': 'Oficina del Inspector General'},
{'label': 'Informes de desempeño'},
{'label': 'Política de privacidad'}
]
},
'usagov': {
'aria_label': 'Información y servicios del Gobierno de EE. UU.',
'description': '¿Necesita información y servicios del Gobierno?',
'link': {
'label': 'Visite USA.gov en Español',
'url': 'https://www.usa.gov/espanol/'
},
'display': true
}
}
} %}
{% include "@components/usa-identifier/src/usa-identifier.twig" with settings[lang] %}