custom.js 338 B

1234567891011
  1. 'use strict';
  2. // 文章实效性提示
  3. hexo.extend.injector.register('body_end', `
  4. <script defer src="/theme-inject/timeliness.js"></script>
  5. `);
  6. // Umami 统计
  7. hexo.extend.injector.register('head_begin', `
  8. <script async src="https://analytics.umami.is/script.js" data-website-id="e59ec28a-c9a7-4104-9e62-a9f7eb3fac0b"></script>
  9. `);