fix code highlight
This commit is contained in:
parent
c097f8815d
commit
024750ffd9
|
@ -7,6 +7,8 @@
|
||||||
<?php $this->options->tongji(); ?>
|
<?php $this->options->tongji(); ?>
|
||||||
</footer>
|
</footer>
|
||||||
<?php if ($this->options->showprism): ?>
|
<?php if ($this->options->showprism): ?>
|
||||||
|
<script src="<?php $this->options->themeUrl('prism.js'); ?>"></script>
|
||||||
|
<link rel="stylesheet" href="<?php $this->options->themeUrl('prism.css'); ?>" />
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', function () {
|
document.addEventListener('DOMContentLoaded', function () {
|
||||||
var defaultLanguage = 'javascript'; // 设置默认语言
|
var defaultLanguage = 'javascript'; // 设置默认语言
|
||||||
|
|
4
post.php
4
post.php
|
@ -1,9 +1,5 @@
|
||||||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||||
<?php $this->need('header.php'); ?>
|
<?php $this->need('header.php'); ?>
|
||||||
<?php if ($this->options->showprism): ?>
|
|
||||||
<script src="<?php $this->options->themeUrl('prism.js'); ?>"></script>
|
|
||||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('prism.css'); ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php if ($this->options->showtoc): ?>
|
<?php if ($this->options->showtoc): ?>
|
||||||
|
|
Loading…
Reference in New Issue