2025-2-26-fixed
This commit is contained in:
14
themes/next/layout/_partials/head/head-unique.swig
Normal file
14
themes/next/layout/_partials/head/head-unique.swig
Normal file
@ -0,0 +1,14 @@
|
||||
{{ open_graph() }}
|
||||
|
||||
{{ canonical() }}
|
||||
|
||||
{# Exports some front-matter variables to Front-End #}
|
||||
<script id="page-configurations">
|
||||
// https://hexo.io/docs/variables.html
|
||||
CONFIG.page = {
|
||||
sidebar: {{ page.sidebar | json }},
|
||||
isHome : {{ is_home() }},
|
||||
isPost : {{ is_post() }},
|
||||
lang : '{{ page.lang }}'
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user