change readingtime position to top

master
iotcat 4 years ago
parent 49ef3bd908
commit a2cfa8ecb8
  1. 1
      layout/post.swig

@ -9,6 +9,7 @@
{%- if theme.readingTime -%}
<script>$(()=>{setTimeout(()=>{iziToast.show({
title: 'tips',
position: 'topRight',
message: "此文章预计阅读 {{ readingTime(page.content, '分钟', 150) }}哦~"
})}, 3000)})</script>
{%- endif -%}

Loading…
Cancel
Save