Good afternoon. I have a template (the code below).
{{ partial “header” . }}
<div class="banner_text">
<div class="container_center">
<div class="mid_title">
{{ T "WORK_AT" }}
</div>
<div class="logo_baner">
<span>
<img src="{{ .Site.BaseURL }}/img/tx_careers_img.png" alt="G-CDN"/>
</span>
</div>
<div class="button_baner">
<div class="one_button_ban">
<a href="#careers" class="js_anchor_link">
<div class="backgr_button"></div>
<span class="text_button">{{ T "LATES_job_opening" }}</span>
<span class="svg_button">
<svg viewBox="0 0 52 52" class="arrow-button-svg">
<path d="M7.993,7.122 L0.873,13.993 L0.007,13.163 L6.393,7.000 L0.007,0.837 L0.873,0.007 L7.993,6.878 L7.866,7.000 L7.993,7.122 Z" transform="translate(22 19)"/>
</svg>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="inform_block">
<div class="container_center">
<ul>
<li>
<div class="one_service" >
<div class="ico_service">
<img src="{{ .Site.BaseURL }}/img/ico_career_up1.png" alt="{{ T "Open_job_opportunities" }}"/>
</div>
<p class="title_service">3+</p>
<p class="text_service_mid">{{ T "Open_job_opportunities" }}</p>
</div>
</li>
<li>
<div class="one_service">
<div class="ico_service">
<img src="{{ .Site.BaseURL }}/img/ico_career_up2.png" alt="{{ T "Employees_in_15_offices" }}"/>
</div>
<p class="title_service">50+</p>
<p class="text_service_mid">{{ T "Employees_in_15_offices" }}</p>
</div>
</li>
<li>
<div class="one_service">
<div class="ico_service">
<img src="{{ .Site.BaseURL }}/img/ico_career_up3.png" alt="{{ T "Offices_around_the_world" }}"/>
</div>
<p class="title_service">4+</p>
<p class="text_service_mid">{{ T "Offices_around_the_world" }}</p>
</div>
</li>
</ul>
</div>
</div>
<div class="filters_block" id="careers">
<div class="container_center">
<div class="left_block">
<div class="title_b"><h3>{{ T "Job_Openings" }}</h3></div>
<p>{{ T "Job_Openings_text" }}</p>
</div>
<div class="filters">
<div class="one_filter">
<select id="all_office">
<option value="all_off">{{ T "All_offices" }}</option>
<option value="lux">Luxemburg</option>
<option value="minsk">Minsk</option>
<option value="moscow">Moscow</option>
<option value="perm">Perm</option>
</select>
</div>
</div>
</div>
</div>
<div class="careers_block">
<div class="container_center">
<ul class="list_vacances">
{{ range where .Site.RegularPages "Section" "careers" }}
<li data-town="{{ .Params.city_slug }}">
<a class="hid_link_ancor" href="{{ .URL }}">
<div class="location_vacance">
<div class="town_vacance">{{ .Params.City }}</div>
<div class="country_vacance">{{ .Params.Country }}</div>
</div>
<div class="discipr_vacance">
<div class="title_vac">{{ .Title }}</div>
<div class="structur_vac">{{ .Params.Department }}</div>
</div>
<div class="clr"></div>
</a>
</li>
{{ end }}
</ul>
<div class="clr"></div>
</div>
</div>{{ partial "footer" . }}
When I execute the command hugo (generation of HTML pages), sometimes the content is generated incorrectly (the template is simply not generated and it turns out this)
<header class="header_bl">
<div class="container_center">
<div class="header-top-wrapper">
<a href="javascript:void(0)" title="Menu" class="header_menu_hamburger js-header-menu-hamburger">
<span class="menu_hamburger_line"></span>
<span class="menu_hamburger_line"></span>
<span class="menu_hamburger_line"></span>
</a>
<a href="http://gcore.lu.swarm.gcdn.co" class="header_logo">
<img src="http://gcore.lu.swarm.gcdn.co/img/logo.png" alt="G-Core Labs" class="heade-logo img-responsive">
</a>
</div>
<div class="header_right_content">
<div class="">
<ul class="menu_list">
<li>
<a href="../">Home</a>
</li>
<li>
<a href="../cdn/">CDN</a>
</li>
<li>
<a href="../hosting/">Hosting</a>
</li>
<li>
<a href="../#company">Why G-Core</a>
</li>
<li>
<a href="../#network">Network</a>
</li>
<li class="active">
<a href="../careers/">Careers</a>
</li>
<li>
<a href="../events/">Events</a>
</li>
<li>
<a href="../#contact">Contact US</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div class="mobile_menu">
<div class="block_menu_fix">
<div class="header_menu_container">
<div class="header_menu_wrapper">
<ul class="menu_list">
<li class="header_menu_item">
<a href="../#home">Home</a>
</li>
<li class="header_menu_item">
<a href="../cdn/">CDN</a>
</li>
<li class="header_menu_item">
<a href="../hosting/">Hosting</a>
</li>
<li class="header_menu_item ">
<a href="../#company">Why G-Core</a>
</li>
<li class="header_menu_item ">
<a href="../#network">Network</a>
</li>
<li class="header_menu_item active">
<a href="../careers/">Careers</a>
</li>
<li class="header_menu_item">
<a href="../events/">Events</a>
</li>
<li class="header_menu_item ">
<a href="../#contact">Contact US</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="header_menu">
<div class="container_center">
<div class="lang_block">
<div class="header_lang">
<a href="../careers/" class="active_l">EN</a>
<a href="../ru/careers/">RU</a>
</div>
</div>
</div>
</div>
<h3></h3>
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<h5>
27 March, 2017
</h5>
<h5>
<strong><a href="../careers/cdn_operations_engineer/">CDN Operations Engineer IT & Maintenance ++</a></strong>
</h5>
</div>
<div class="row">
<h5>
27 March, 2017
</h5>
<h5>
<strong><a href="../careers/cloud_operations_engineer/">Cloud Operations Engineer IT & Maintenance ++</a></strong>
</h5>
</div>
<div class="row">
<h5>
27 March, 2017
</h5>
<h5>
<strong><a href="../careers/senior_system_administrator/">Senior System Administrator IT & Maintenance ++</a></strong>
</h5>
</div>
<div class="row">
<h5>
27 March, 2017
</h5>
<h5>
<strong><a href="../careers/software_engineer/">Software Engineer IT & Maintenance ++</a></strong>
</h5>
</div>
</div>
</div>
<div class="post-navigation">
</div>
<div class="footer_block">
<div class="container_center">
<div class="footer_logo">
<a href="../careers/"><img src="http://gcore.lu.swarm.gcdn.co/img/logo_footer.png" alt="G-Core Labs"></a>
</div>
<div class="footer_socials">
<a href="https://www.facebook.com/gcorelabs/" target="_blank"><img src="../img/social_footer1.png" alt="Facebook" /></a>
<a href="https://www.linkedin.com/company/g-core" target="_blank"><img src="../img/social_footer2.png" alt="LinkedIn" /></a>
<a href="https://www.youtube.com/channel/UCFhtQE7HB097a1_Nfv-Ma_Q" target="_blank"><img src="../img/social_footer3.png" alt="YouTube" /></a>
</div>
<div class="footer_copyright">
<p>G-Core Labs. ? 2015?2017 All rights reserved.</p>
<p>2 Rue Albert Borschette, 1246 Luxembourg <a href="../legal/" target="_blank">Legal information</a></p>
</div>
<div class="footer_copyright version_mobile">
<p>G-Core Labs. ? 2015?2017 All rights reserved. 2 Rue Albert Borschette, 1246 Luxembourg <a href="../legal/" target="_blank">Legal information</a></p>
</div>
<div class="footer_socials version_mobile">
<a href="https://www.facebook.com/gcorelabs/" target="_blank"><img src="../img/social_footer1.png" alt="Facebook" /></a>
<a href="https://www.linkedin.com/company/g-core" target="_blank"><img src="../img/social_footer2.png" alt="LinkedIn" /></a>
<a href="https://www.youtube.com/channel/UCFhtQE7HB097a1_Nfv-Ma_Q" target="_blank"><img src="../img/social_footer3.png" alt="YouTube" /></a>
</div>
</div>
</div>
And if you regenerate, you get this (this is the right version)
<div class="container_center">
<div class="header-top-wrapper">
<a href="javascript:void(0)" title="Menu" class="header_menu_hamburger js-header-menu-hamburger">
<span class="menu_hamburger_line"></span>
<span class="menu_hamburger_line"></span>
<span class="menu_hamburger_line"></span>
</a>
<a href="" class="header_logo">
<img src="../img/logo.png" alt="G-Core Labs" class="heade-logo img-responsive">
</a>
</div>
<div class="header_right_content">
<div class="">
<ul class="menu_list">
<li>
<a href="../">Home</a>
</li>
<li>
<a href="../cdn/">CDN</a>
</li>
<li>
<a href="../hosting/">Hosting</a>
</li>
<li>
<a href="../#company">Why G-Core</a>
</li>
<li>
<a href="../#network">Network</a>
</li>
<li class="active">
<a href="../careers/">Careers</a>
</li>
<li>
<a href="../events/">Events</a>
</li>
<li>
<a href="../#contact">Contact US</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div class="mobile_menu">
<div class="block_menu_fix">
<div class="header_menu_container">
<div class="header_menu_wrapper">
<ul class="menu_list">
<li class="header_menu_item">
<a href="../#home">Home</a>
</li>
<li class="header_menu_item">
<a href="../cdn/">CDN</a>
</li>
<li class="header_menu_item">
<a href="../hosting/">Hosting</a>
</li>
<li class="header_menu_item ">
<a href="../#company">Why G-Core</a>
</li>
<li class="header_menu_item ">
<a href="../#network">Network</a>
</li>
<li class="header_menu_item active">
<a href="../careers/">Careers</a>
</li>
<li class="header_menu_item">
<a href="../events/">Events</a>
</li>
<li class="header_menu_item ">
<a href="../#contact">Contact US</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="header_menu">
<div class="container_center">
<div class="lang_block">
<div class="header_lang">
<a href="../careers/" class="active_l">EN</a>
<a href="../ru/careers/">RU</a>
</div>
</div>
</div>
</div>
<div class="header_baner cdn_page careers_page" style="background-image:url(/img/backgr_career.jpg);">
<div class="banner_text">
<div class="container_center">
<div class="mid_title">
WORK AT
</div>
<div class="logo_baner">
<span>
<img src="../img/tx_careers_img.png" alt="G-CDN"/>
</span>
</div>
<div class="button_baner">
<div class="one_button_ban">
<a href="#careers" class="js_anchor_link">
<div class="backgr_button"></div>
<span class="text_button">LATEST job opening</span>
<span class="svg_button">
<svg viewBox="0 0 52 52" class="arrow-button-svg">
<path d="M7.993,7.122 L0.873,13.993 L0.007,13.163 L6.393,7.000 L0.007,0.837 L0.873,0.007 L7.993,6.878 L7.866,7.000 L7.993,7.122 Z" transform="translate(22 19)"/>
</svg>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="inform_block">
<div class="container_center">
<ul>
<li>
<div class="one_service" >
<div class="ico_service">
<img src="../img/ico_career_up1.png" alt="Open job opportunities"/>
</div>
<p class="title_service">3+</p>
<p class="text_service_mid">Open job opportunities</p>
</div>
</li>
<li>
<div class="one_service">
<div class="ico_service">
<img src="../img/ico_career_up2.png" alt="Employees"/>
</div>
<p class="title_service">50+</p>
<p class="text_service_mid">Employees</p>
</div>
</li>
<li>
<div class="one_service">
<div class="ico_service">
<img src="../img/ico_career_up3.png" alt="Offices around the world"/>
</div>
<p class="title_service">4+</p>
<p class="text_service_mid">Offices around the world</p>
</div>
</li>
</ul>
</div>
</div>
<div class="filters_block" id="careers">
<div class="container_center">
<div class="left_block">
<div class="title_b"><h3>Job Openings</h3></div>
<p>Select a city and department to filter job opening results.</p>
</div>
<div class="filters">
<div class="one_filter">
<select id="all_office">
<option value="all_off">All offices</option>
<option value="lux">Luxemburg</option>
<option value="minsk">Minsk</option>
<option value="moscow">Moscow</option>
<option value="perm">Perm</option>
</select>
</div>
</div>
</div>
</div>
<div class="careers_block">
<div class="container_center">
<ul class="list_vacances">
<li data-town="moscow,minsk">
<a class="hid_link_ancor" href="../careers/cdn_operations_engineer/">
<div class="location_vacance">
<div class="town_vacance">Moscow / Minsk</div>
<div class="country_vacance">Russia / Belarus</div>
</div>
<div class="discipr_vacance">
<div class="title_vac">CDN Operations Engineer</div>
<div class="structur_vac">IT & Maintenance</div>
</div>
<div class="clr"></div>
</a>
</li>
<li data-town="minsk">
<a class="hid_link_ancor" href="../careers/cloud_operations_engineer/">
<div class="location_vacance">
<div class="town_vacance">Minsk</div>
<div class="country_vacance">Belarus</div>
</div>
<div class="discipr_vacance">
<div class="title_vac">Cloud Operations Engineer</div>
<div class="structur_vac">IT & Maintenance</div>
</div>
<div class="clr"></div>
</a>
</li>
<li data-town="minsk">
<a class="hid_link_ancor" href="../careers/senior_system_administrator/">
<div class="location_vacance">
<div class="town_vacance">Minsk</div>
<div class="country_vacance">Belarus</div>
</div>
<div class="discipr_vacance">
<div class="title_vac">Senior System Administrator</div>
<div class="structur_vac">IT & Maintenance</div>
</div>
<div class="clr"></div>
</a>
</li>
</ul>
<div class="clr"></div>
</div>
</div>
<div class="footer_block">
<div class="container_center">
<div class="footer_logo">
<a href="../careers/"><img src="../img/logo_footer.png" alt="G-Core Labs"></a>
</div>
<div class="footer_socials">
<a href="https://www.facebook.com/gcorelabs/" target="_blank"><img src="../img/social_footer1.png" alt="Facebook" /></a>
<a href="https://www.linkedin.com/company/g-core" target="_blank"><img src="../img/social_footer2.png" alt="LinkedIn" /></a>
<a href="https://www.youtube.com/channel/UCFhtQE7HB097a1_Nfv-Ma_Q" target="_blank"><img src="../img/social_footer3.png" alt="YouTube" /></a>
</div>
<div class="footer_copyright">
<p>G-Core Labs. © 2015–2017 All rights reserved.</p>
<p>2 Rue Albert Borschette, 1246 Luxembourg <a href="../legal/" target="_blank">Legal information</a></p>
</div>
<div class="footer_copyright version_mobile">
<p>G-Core Labs. © 2015–2017 All rights reserved. 2 Rue Albert Borschette, 1246 Luxembourg <a href="../legal/" target="_blank">Legal information</a></p>
</div>
<div class="footer_socials version_mobile">
<a href="https://www.facebook.com/gcorelabs/" target="_blank"><img src="../img/social_footer1.png" alt="Facebook" /></a>
<a href="https://www.linkedin.com/company/g-core" target="_blank"><img src="../img/social_footer2.png" alt="LinkedIn" /></a>
<a href="https://www.youtube.com/channel/UCFhtQE7HB097a1_Nfv-Ma_Q" target="_blank"><img src="../img/social_footer3.png" alt="YouTube" /></a>
</div>
</div>
</div>
I understand that the template is simply incorrectly generated.