mirror of
https://github.com/boostorg/website-v2-docs.git
synced 2026-01-19 04:42:17 +00:00
Refactor breadcrumbs, update pagination, add SVG icon
Refs: https://github.com/boostorg/boostlook/issues/13
This commit is contained in:
committed by
Julio C. Estrada
parent
7bfd2085df
commit
a55ab8c596
@@ -3,7 +3,11 @@
|
||||
<ul>
|
||||
{{#with page.componentVersion}}
|
||||
{{#if (and ./title (ne ./title @root.page.breadcrumbs.0.content))}}
|
||||
<li><a href="{{{relativize ./url}}}">{{{./title}}}</a></li>
|
||||
<li>
|
||||
<a href="{{{relativize ./url}}}" aria-label="Home: {{{./title}}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" viewBox="0 -960 960 960" fill="#000000" aria-hidden="true"><path d="M160-120v-480l320-240 320 240v480H560v-280H400v280H160Z"/></svg>
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/with}}
|
||||
{{#each page.breadcrumbs}}
|
||||
|
||||
@@ -5,11 +5,6 @@
|
||||
{{#with page.parent}}
|
||||
<a accesskey="p" href="{{{relativize ./url}}}"><span class="material-symbols-outlined" title="Up: {{{./content}}}">arrow_upward</span></a>
|
||||
{{/with}}
|
||||
{{#unless page.home}}
|
||||
{{#with (siteStartPage)}}
|
||||
<a accesskey="p" href="{{{relativize ./pub.url}}}"><span class="material-symbols-outlined" title="Home: {{{./content}}}">home</span></a>
|
||||
{{/with}}
|
||||
{{/unless}}
|
||||
{{#with page.next}}
|
||||
<a accesskey="p" href="{{{relativize ./url}}}"><span class="material-symbols-outlined" title="Next: {{{./content}}}">arrow_forward</span></a>
|
||||
{{/with}}
|
||||
|
||||
Reference in New Issue
Block a user