|
1 |
| -<section {?anchor}id="{anchor|s}"{/anchor} |
2 |
| - class="hero hero__layout is-relative has-background-cover {container_class|s}" |
| 1 | +<section {?anchor}id="{anchor|attr}"{/anchor} |
| 2 | + class="hero hero__layout is-relative has-background-cover {container_class|attr}" |
3 | 3 | {@inlinebg id=image size="fullhd" /}>
|
4 | 4 | <div class="hero__inner">
|
5 | 5 | <div class="container p-3">
|
|
10 | 10 | <div class="overlay overlay--primary-30"></div>
|
11 | 11 | {?title}
|
12 | 12 | <h1 class="mt-0 h1 no-hyphens has-text-white is-relative">
|
13 |
| - {title|s} |
| 13 | + {title|html} |
14 | 14 | </h1>
|
15 | 15 | {/title}
|
16 | 16 | <div class="is-relative">
|
17 |
| - {description|s} |
| 17 | + {description|kses} |
18 | 18 | </div>
|
19 | 19 | <div class="is-relative">
|
20 |
| - <form role="search" method="get" class="search-form " action="{form_action|s}"> |
| 20 | + <form role="search" method="get" class="search-form " action="{form_action|attr}"> |
21 | 21 | <label for="hero-search" class="mb-0 is-flex-grow-1">
|
22 | 22 | <span aria-hidden="true"
|
23 |
| - class="is-hidden-desktop has-text-white">{Strings.s.program.search.write_term_profession_program_name|s} |
| 23 | + class="is-hidden-desktop has-text-white">{Strings.s.program.search.write_term_profession_program_name|html} |
24 | 24 | :</span>
|
25 | 25 | <span class="is-sr-only">
|
26 |
| - {Strings.s.program.search.write_term_profession_program_name|s}. |
27 |
| - {Strings.s.program.search.sr_autocomplete_instructions|s} |
| 26 | + {Strings.s.program.search.write_term_profession_program_name|html}. |
| 27 | + {Strings.s.program.search.sr_autocomplete_instructions|html} |
28 | 28 | </span>
|
29 | 29 | </label>
|
30 | 30 | <div class="is-flex is-align-items-stretch">
|
31 | 31 | <input type="search"
|
32 | 32 | class="search-form__input program-search has-background-light has-width-100 is-family-primary has-text-weight-semibold"
|
33 |
| - placeholder="{Strings.s.program.search.write_term_profession_program_name|s}" |
34 |
| - value="{search_query|s}" |
| 33 | + placeholder="{Strings.s.program.search.write_term_profession_program_name|attr}" |
| 34 | + value="{search_query|attr}" |
35 | 35 | name="program-search"
|
36 | 36 | autocomplete="off"
|
37 | 37 | id="hero-search">
|
38 | 38 | <button type="submit"
|
39 | 39 | class="search-form__button button button--icon is-secondary is-family-secondary">
|
40 |
| - {Strings.s.header.search|s} |
| 40 | + {Strings.s.header.search|html} |
41 | 41 | {>"ui/icon" icon="search" class="icon icon--medium is-white" /}
|
42 | 42 | </button>
|
43 | 43 | </div>
|
|
51 | 51 | <div class="column is-9-widescreen is-11-desktop is-12">
|
52 | 52 | {#rows}
|
53 | 53 | {?link.title}{?link.url}
|
54 |
| - <a href="{link.url|s}" |
55 |
| - target="{link.target|s}" |
| 54 | + <a href="{link.url|url}" |
| 55 | + target="{link.target|attr}" |
56 | 56 | class="pill is-block is-primary is-flex is-justify-content-space-between is-align-items-center has-border-radius-small has-text-left mb-4 mt-0-desktop mt-4 p-5">
|
57 |
| - {link.title|s} |
58 |
| - {>"ui/icon" icon="arrow-right" class="icon is-secondary ml-4" /} |
| 57 | + {link.title|html} |
| 58 | + {>"ui/icon" icon="arrow-right" class="icon ml-4" /} |
59 | 59 | </a>
|
60 | 60 | {/link.url}{/link.title}
|
61 | 61 | {/rows}
|
|
0 commit comments