mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
470 B
16 lines
470 B
{%- extends "_layout.swig" -%} |
|
{%- import '_macro/post.swig' as post_template -%} |
|
|
|
{%- block title -%} {{ page.title }} - {{ config.title }} {%- endblock -%} |
|
|
|
{%- block content -%} |
|
{{ post_template.render(page) }} |
|
|
|
{%- if theme.readingTime -%} |
|
<script>$(()=>{setTimeout(()=>{iziToast.show({ |
|
title: 'tips', |
|
message: "此文章预计阅读 {{ readingTime(page.content, '分钟', 150) }}哦~" |
|
})}, 3000)})</script> |
|
{%- endif -%} |
|
{%- endblock -%} |
|
|
|
|