1{{- /* relativeURLs don't work inside CSS style declarations :(, see https://github.com/gohugoio/hugo/issues/2744 */ -}} 2<!-- <div>{{.RelPermalink}}</div> --> 3{{- $dirdepth := (split (trim .RelPermalink "/") "/") | len -}} 4{{- $relbasedir := cond (eq $dirdepth 1) "" ("../" | strings.Repeat (sub $dirdepth 1)) -}} 5{{- .Page.Scratch.Set "relbasedir" $relbasedir -}} 6{{- if not (getenv "HUGO_BOOSTDOCDISABLECOMMONHEADING") -}} 7<div id="boost-common-heading-doc" style="background: #574D74 url('{{ $relbasedir }}images/header-bg.png') repeat-x top left;"> 8 <div class="heading-inner" style="background: url('{{ $relbasedir }}images/header-fg.png') no-repeat top left;"> 9 <div class="heading-placard"></div> 10 11 <h1 class="heading-title"> 12 <a href="/"> 13 <img src="{{"images/space.png" | relURL}}" alt="Boost C++ Libraries" class="heading-logo" /> 14 <span class="heading-boost">Boost</span> 15 <span class="heading-cpplibraries">C++ Libraries</span> 16 </a> 17 </h1> 18 19 <p class="heading-quote"> 20 <q>...one of the most highly 21 regarded and expertly designed C++ library projects in the 22 world.</q> <span class="heading-attribution">— <a href= 23 "http://www.gotw.ca/" class="external">Herb Sutter</a> and <a href= 24 "http://en.wikipedia.org/wiki/Andrei_Alexandrescu" class="external">Andrei 25 Alexandrescu</a>, <a href= 26 "http://safari.awprofessional.com/?XmlId=0321113586" class="external">C++ 27 Coding Standards</a></span></p> 28 </div> 29</div> 30<div id="boost-common-heading-doc-spacer"></div> 31{{- end -}} 32