Document
Titolo
Nessun cambiamentoCollegamento permanente
Nessun cambiamentocontenuto
Old | New | ||
---|---|---|---|
10 | document::$snippets['foot_tags'][] = ''; | 10 | document::$snippets['foot_tags'][] = ''; |
11 | document::$snippets['style'][] = 'strong { font-weight: 700; }'; | 11 | document::$snippets['style'][] = 'strong { font-weight: 700; }'; |
12 | document::$snippets['javascript'][] = 'alert("Hi");'; | 12 | document::$snippets['javascript'][] = 'alert("Hi");'; |
13 | document::$snippets['description'] = 'Added page description'; | ||
14 | document::$head_tags['canonical'] = '<link rel="canonical" href="'. document::href_ilink('page') .'" />'; | ||
13 | ``` | 15 | ``` |
14 | 16 | ||
15 | ## LiteCart 3.x | 17 | ## LiteCart 3.x |
20 | document::$foot_tags[] = ''; | 22 | document::$foot_tags[] = ''; |
21 | document::$style[] = 'strong { font-weight: 700; }'; | 23 | document::$style[] = 'strong { font-weight: 700; }'; |
22 | document::$javascript[] = 'alert("Hi");'; | 24 | document::$javascript[] = 'alert("Hi");'; |
25 | document::$description = 'Added page description'; | ||
26 | document::$canonical = document::href_ilink('page'); | ||
23 | ``` | 27 | ``` |
Modificato da s22_tech il 6 mar 2025 alle 16:33