Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| // Used for one JSON file for each language containing all namespaces | |
| i18next.use({ | |
| type: 'backend', | |
| read<Namespace extends keyof typeof en>( | |
| language: LocaleCode, | |
| namespace: Namespace, | |
| callback: ( | |
| errorValue: unknown, | |
| translations: null | typeof en[Namespace] | |
| ) => void |
| beforeEach(()=>{ | |
| Object.defineProperty(global.SVGSVGElement.prototype, 'createSVGMatrix', { | |
| writable: true, | |
| value: jest.fn().mockImplementation(() => ({ | |
| martix: jest.fn(() => [[]]), | |
| a: 0, | |
| b: 0, | |
| c: 0, | |
| d: 0, |
| const axios = require('axios') | |
| const LinkHeader = require('http-link-header') | |
| const nextPage = (header) => { | |
| const link = LinkHeader.parse(header) | |
| const [ next ] = link.get('rel', 'next') | |
| return next && next.results === 'true' ? next.uri : null | |
| } |
| var ajax_links_selector = 'a.ajax'; | |
| var content_selector = '#content'; | |
| var first_call = true; | |
| var navilevel_substring = 3; // how many chars from pathname are static (3 for languagecode like /de/) | |
| /* needs jquery address loaded: http://www.asual.com/jquery/address/ | |
| * | |
| * needs feincms to be ajax-enabled: | |
| * | |
| * feincms/views/base.py: |