refactor: 规范化 PHP 模板文件
- header.php: 修复箭头操作符空格, 移除多余空行 (1520 -> 1481 行) - footer.php: 修复箭头操作符空格, 移除多余空行 (177 -> 168 行) - sidebar.php: 修复箭头操作符空格, 移除多余空行 (1311 -> 1288 行) - single.php: 修复箭头操作符空格, 移除多余空行 (214 -> 196 行) - comments.php: 修复箭头操作符空格 - search.php: 修复箭头操作符空格
This commit is contained in:
15
footer.php
15
footer.php
@@ -29,8 +29,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 加载主题核心 JS -->
|
||||
<?php $assets_version = function_exists('argon_get_assets_version') ? argon_get_assets_version() : $GLOBALS['theme_version']; ?>
|
||||
<!-- 加载主题核心 JS --><?php $assets_version = function_exists('argon_get_assets_version') ? argon_get_assets_version() : $GLOBALS['theme_version']; ?>
|
||||
<script src="<?php echo $GLOBALS['assets_path']; ?>/argontheme.js?v=<?php echo $assets_version; ?>"></script>
|
||||
|
||||
<?php if (get_option('argon_math_render') == 'mathjax3') { /*Mathjax V3*/?>
|
||||
@@ -149,17 +148,13 @@
|
||||
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
<?php if (get_option('argon_enable_code_highlight') == 'true') { /*Highlight.js*/?>
|
||||
<?php if (get_option('argon_enable_code_highlight') == 'true') { /*Highlight.js*/?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $GLOBALS['assets_path']; ?>/assets/vendor/highlight/styles/<?php echo get_option('argon_code_theme') == '' ? 'vs2015' : get_option('argon_code_theme'); ?>.css">
|
||||
|
||||
<?php }?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -167,10 +162,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
|
||||
<?php echo get_option('argon_custom_html_foot'); ?>
|
||||
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user