Ghost_Ruby_Theme/partials/post-navigation.hbs

25 lines
1.3 KiB
Handlebars
Raw Normal View History

2019-05-03 18:11:39 +03:00
<div class="navigation">
2019-05-04 19:02:00 +03:00
{{#prev_post}}
2020-09-24 05:25:42 +03:00
<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>
2019-05-04 19:02:00 +03:00
{{/prev_post}}
2019-05-03 18:11:39 +03:00
2020-09-24 05:25:42 +03:00
{{#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}}
2019-05-03 18:11:39 +03:00
</div>