mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
25 lines
1.3 KiB
Handlebars
25 lines
1.3 KiB
Handlebars
<div class="navigation">
|
|
{{#prev_post}}
|
|
<div class="navigation-item navigation-previous">
|
|
<img class="navigation-image lazyload u-object-fit"
|
|
data-srcset="{{img_url feature_image size="s"}} 400w, {{img_url feature_image size="m"}} 750w, {{img_url feature_image size="l"}} 960w"
|
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
|
data-sizes="auto" alt="{{title}}">
|
|
<span class="navigation-label">Previous Post</span>
|
|
<h4 class="navigation-title">{{title}}</h4>
|
|
<a class="u-permalink" href={{url}}></a>
|
|
</div>
|
|
{{/prev_post}}
|
|
|
|
{{#next_post}}
|
|
<div class="navigation-item navigation-next">
|
|
<img class="navigation-image lazyload u-object-fit"
|
|
data-srcset="{{img_url feature_image size="s"}} 400w, {{img_url feature_image size="m"}} 750w, {{img_url feature_image size="l"}} 960w"
|
|
src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
|
|
data-sizes="auto" alt="{{title}}">
|
|
<span class="navigation-label">Next Post</span>
|
|
<h4 class="navigation-title">{{title}}</h4>
|
|
<a class="u-permalink" href={{url}}></a>
|
|
</div>
|
|
{{/next_post}}
|
|
</div> |