| OLD | NEW |
| 1 {# | 1 {# |
| 2 For each job opening you have to list the title and the name of the file under | 2 For each job opening you have to list the title and the name of the file under |
| 3 pages/jobs that contains the job description. | 3 pages/jobs that contains the job description. |
| 4 #} | 4 #} |
| 5 {% set openings = [ | 5 {% set openings = [ |
| 6 ("Frontend Developer", "frontend-developer", 33), | 6 ("Frontend Developer", "frontend-developer", 33), |
| 7 ("Software Tester", "software-tester", 147), | 7 ("Software Tester", "software-tester", 147), |
| 8 ("Filter List Supporter", "filter-list-supporter", 127), | 8 ("Filter List Supporter", "filter-list-supporter", 127), |
| 9 ("Social Media Manager", "social-media-manager", 133), | 9 ("Social Media Manager", "social-media-manager", 133), |
| 10 ("Student Help - Monitoring", "student-help", 110), | 10 ("Student Help - Monitoring", "student-help", 110), |
| 11 ("Whitelist Maintainer", "whitelist-maintainer", 108), | 11 ("Whitelist Maintainer", "whitelist-maintainer", 108), |
| 12 ("Speculative Application", "speculative-application", 51), | 12 ("Speculative Application", "speculative-application", 51), |
| 13 ] %} | 13 ] %} |
| 14 | 14 |
| 15 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} | 15 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} |
| 16 {% set title = (opening or [title])[0] %} | 16 {% set title = (opening or [title])[0] %} |
| 17 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %} | 17 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %} |
| 18 | 18 |
| 19 <header class="page-title"> | 19 <header class="page-title"> |
| 20 <h1>Working at Eyeo</h1> | 20 <h1>Working at eyeo</h1> |
| 21 </header> | 21 </header> |
| 22 | 22 |
| 23 <div id="jobs-info" class="content-block"> | 23 <div id="jobs-info" class="content-block"> |
| 24 <div id="tabs-openings" class="columns-container one-sidebar"> | 24 <div id="tabs-openings" class="columns-container one-sidebar"> |
| 25 <div class="column sidebar-left"> | 25 <div class="column sidebar-left"> |
| 26 <h3 class="heading centered"><span>Current openings:</span></h3> | 26 <h3 class="heading centered"><span>Current openings:</span></h3> |
| 27 | 27 |
| 28 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> | 28 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> |
| 29 {% for title, file, _ in openings %} | 29 {% for title, file, _ in openings %} |
| 30 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end
if %}> | 30 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end
if %}> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 47 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi
dth="120" height="80"> | 47 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi
dth="120" height="80"> |
| 48 <img id="fair-company-logo" src="/images/fair-company.jpg" alt="Fair Com
pany" height="80"> | 48 <img id="fair-company-logo" src="/images/fair-company.jpg" alt="Fair Com
pany" height="80"> |
| 49 </p> | 49 </p> |
| 50 </div> | 50 </div> |
| 51 | 51 |
| 52 <div class="column"> | 52 <div class="column"> |
| 53 <div id="panels-openings" class="ui-tabs-panel"> | 53 <div id="panels-openings" class="ui-tabs-panel"> |
| 54 {% if opening %} | 54 {% if opening %} |
| 55 <h2>{{ title }}</h2> | 55 <h2>{{ title }}</h2> |
| 56 {% endif %} | 56 {% endif %} |
| OLD | NEW |