forked from Tokinx/Wing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ac365fe
Showing
40 changed files
with
11,624 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Tokinx | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Adams | ||
|
||
一套适用于 WordPress 的简洁、轻量的 Theme | ||
![](https://wx1.sinaimg.cn/large/76679337ly1gcj1k23yf7j219r0u00wf.jpg) | ||
|
||
# 发行 | ||
|
||
Github 默认为开发版,如果需要稳定发行版,请前往:https://github.com/Tokinx/Adams/releases | ||
|
||
下载后进入 WordPress 后台进行安装并启用即可 | ||
|
||
主题设置项在:后台 -> 主题 -> 自定义 | ||
|
||
# 如何贡献 | ||
|
||
合理的改动的PR都会被合并,合理的 issues 都会被采纳并修改。 | ||
|
||
# 鸣谢 | ||
|
||
维护:[Tokin](https://biji.io) | ||
|
||
贡献:[@Frank](https://github.com/w4o)、[@Abdul Wahab](https://github.com/abdulwahab610)、[@Sammy | ||
Liang](https://github.com/SammyLiang97)、[@刘明野](https://github.com/liumingye)、[@lizhimiao](https://github.com/zhimiaoli)、[@keinx](https://github.com/keinx) | ||
|
||
# 讨论 | ||
|
||
https://github.com/Tokinx/Adams/issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"notes":"20","posts":"91","days":4,"calendar":{"2022-04-22":{"notes":4},"2022-04-21":{"comments":4},"2022-04-20":{"comments":22,"notes":1},"2022-04-19":{"notes":9},"2022-04-18":{"notes":6},"2022-04-17":{},"2022-04-16":{},"2022-04-15":{},"2022-04-14":{},"2022-04-13":{},"2022-04-12":{},"2022-04-11":{},"2022-04-10":{},"2022-04-09":{"comments":3},"2022-04-08":{"comments":6},"2022-04-07":{"comments":4,"posts":1},"2022-04-06":{},"2022-04-05":{},"2022-04-04":{"comments":1},"2022-04-03":{},"2022-04-02":{"comments":1},"2022-04-01":{"comments":1},"2022-03-31":{},"2022-03-30":{"comments":2},"2022-03-29":{},"2022-03-28":{},"2022-03-27":{},"2022-03-26":{"comments":6},"2022-03-25":{"comments":2},"2022-03-24":{},"2022-03-23":{},"2022-03-22":{},"2022-03-21":{},"2022-03-20":{},"2022-03-19":{},"2022-03-18":{"comments":1},"2022-03-17":{},"2022-03-16":{},"2022-03-15":{"comments":2},"2022-03-14":{},"2022-03-13":{},"2022-03-12":{},"2022-03-11":{"comments":2},"2022-03-10":{},"2022-03-09":{},"2022-03-08":{"comments":1},"2022-03-07":{},"2022-03-06":{"comments":1},"2022-03-05":{"comments":1},"2022-03-04":{},"2022-03-03":{},"2022-03-02":{"comments":2},"2022-03-01":{},"2022-02-28":{"comments":4},"2022-02-27":{},"2022-02-26":{"comments":1},"2022-02-25":{},"2022-02-24":{},"2022-02-23":{},"2022-02-22":{"comments":1}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"id":5799,"type":"note","title":"","date":"2022-04-19 18:21:36","date_gmt":"2022-04-19 10:21:36","content":"<p>\u4eba\u751f\u5f97\u4e00\u77e5\u5df1\u8db3\u77e3\uff0c\u65af\u4e16\u5f53\u4ee5\u540c\u6000\u89c6\u4e4b\u3002<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5799","thumbnail":"","tags":[],"category":false,"fields":[]},{"id":5789,"type":"note","title":"","date":"2022-04-18 16:51:36","date_gmt":"2022-04-18 08:51:36","content":"<p>\u8981\u6c42\u522b\u4eba\u65e0\u79c1 \u672c\u8eab\u5c31\u662f\u4e00\u79cd\u81ea\u79c1\u3002<\/p><p>#\u6d4b\u8bd5\u8bdd\u98981 #\u6d4b\u8bd5\u8bdd\u98982<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5789","thumbnail":"","tags":[],"category":false,"fields":{"_edit_lock":["1650271790:1"]}},{"id":5793,"type":"note","title":"","date":"2022-04-18 20:31:56","date_gmt":"2022-04-18 12:31:56","content":"<p>\u4f60\u751f\u800c\u6709\u7ffc\uff0c<\/p><p>\u4e3a\u4f55\u7adf\u613f\u4e00\u751f\u530d\u5310\u524d\u8fdb\uff0c\u5f62\u5982\u866b\u8681\u3002<\/p><p>\u2014\u2014\u8d3e\u62c9\u5c14\u00b7\u963f\u5fb7\u4e01\u00b7\u9c81\u7c73<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5793","thumbnail":"","tags":[],"category":false,"fields":[]},{"id":5806,"type":"note","title":"","date":"2022-04-20 20:40:58","date_gmt":"2022-04-20 12:40:58","content":"<p>\u4eba\u4e16\u95f4\u771f\u662f\u96be\u5904\u7684\u5730\u65b9\uff0c\u8bf4\u4e00\u4e2a\u4eba\u201c\u4e0d\u901a\u4e16\u6545\u201d\uff0c\u56fa\u7136\u4e0d\u662f\u597d\u8bdd\uff0c\u4f46\u8bf4\u4ed6\u201c\u6df1\u4e8e\u4e16\u6545\u201d\uff0c\u4e5f\u4e0d\u662f\u597d\u8bdd\u3002#\u9c81\u8fc5<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5806","thumbnail":"","tags":[{"id":359,"name":"\u9c81\u8fc5"}],"category":false,"fields":{"_edit_lock":["1650595063:1"]}},{"id":5801,"type":"note","title":"","date":"2022-04-19 18:27:22","date_gmt":"2022-04-19 10:27:22","content":"<p>\u6709\u4e00\u4f1f\u5927\u7684\u7537\u5b50\u7ad9\u5728\u6211\u9762\u524d\uff0c\u7f8e\u4e3d\uff0c\u6148\u7965\uff0c\u904d\u8eab\u6709\u5927\u5149\u8f89\uff0c\u7136\u800c\u6211\u77e5\u9053\u4ed6\u662f\u9b54\u9b3c\u3002\u2014\u2014\u5173\u4e8e\u9c81\u8fc5\u7684\u540d\u4eba\u540d\u8a00<\/p><p>#\u9c81\u8fc5<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5801","thumbnail":"","tags":[{"id":359,"name":"\u9c81\u8fc5"}],"category":false,"fields":[]},{"id":5850,"type":"note","title":"","date":"2022-04-22 13:50:25","date_gmt":"2022-04-22 05:50:25","content":"<p>\u7ec8\u4e8e\u53ef\u4ee5\u6dfb\u52a0\u56fe\u7247\u54af\uff5e<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5850","thumbnail":"","tags":[],"category":false,"fields":{"images":["5847,5848,5849"]},"images":["http:\/\/biji.in\/wp-content\/uploads\/1-1-scaled.jpg","http:\/\/biji.in\/wp-content\/uploads\/2-1-scaled.jpg","http:\/\/biji.in\/wp-content\/uploads\/3-scaled.jpg"]},{"id":5790,"type":"note","title":"","date":"2022-04-18 16:53:54","date_gmt":"2022-04-18 08:53:54","content":"\u4f60\u65e0\u6cd5\u505a\u5230\u4e00\u4e2a\u4eba\u4eba\u559c\u6b22\u7684\u6a58\u5b50 \u522b\u4eba\u7231\u5403\u82f9\u679c\u9999\u8549 \u90a3\u4e0d\u662f\u4f60\u7684\u9519\u3002#\u6d4b\u8bd5\u8bdd\u98981","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5790","thumbnail":"","tags":[],"category":false,"fields":[]},{"id":5792,"type":"note","title":"","date":"2022-04-18 16:58:57","date_gmt":"2022-04-18 08:58:57","content":"<p>\u4e00\u52fa\u76d0\u3001\u5012\u8fdb\u676f\u91cc\u5f88\u54b8\u3001\u5012\u8fdb\u6d77\u91cc\u5f88\u6de1\u3002\u70e6\u607c\u5982\u76d0\u3001\u662f\u54b8\u662f\u6de1\u3001\u662f\u82e6\u662f\u751c\u3001\u53d6\u51b3\u4e8e\u5fc3\u91cf\u7684\u5927\u5c0f\uff0c\u8bf4\u5230\u5e95\u8fd8\u662f\u8981\u9760\u81ea\u5df1\u3002<\/p><p>#\u6d4b\u8bd5\u8bdd\u98981<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5792","thumbnail":"","tags":[{"id":358,"name":"\u6d4b\u8bd5\u8bdd\u98981"}],"category":false,"fields":[]},{"id":5800,"type":"note","title":"","date":"2022-04-19 18:24:59","date_gmt":"2022-04-19 10:24:59","content":"<p>\u4ee5\u4eba\u4e3a\u9274\uff0c\u660e\u767d\u975e\u5e38\uff0c\u662f\u4f7f\u4eba\u80fd\u591f\u53cd\u7701\u7684\u5999\u6cd5\u3002<\/p><p>#\u9c81\u8fc5<\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5800","thumbnail":"","tags":[{"id":359,"name":"\u9c81\u8fc5"}],"category":false,"fields":[]},{"id":5831,"type":"note","title":"","date":"2022-04-22 10:38:38","date_gmt":"2022-04-22 02:38:38","content":"<p>\u6240\u4ee5\u6211\u4eec\u4e14\u4e0d\u8981\u9ad8\u8c08\u4ec0\u4e48\u8fde\u81ea\u5df1\u4e5f\u5e76\u4e0d\u4e86\u7136\u7684\u793e\u4f1a\u7ec4\u7ec7\u6216\u610f\u5fd7\u5f3a\u5f31\u7684\u6ee5\u8c03\uff0c\u5148\u6765\u8bbe\u8eab\u5904\u5730\u7684\u60f3\u4e00\u60f3\u7f62\u3002<span >#\u9c81\u8fc5<\/span><\/p>","author":"1","status":"publish","comment_status":"open","comment_count":"0","ping_status":"open","permalink":"http:\/\/biji.in\/note\/5831","thumbnail":"","tags":[{"id":359,"name":"\u9c81\u8fc5"}],"category":false,"fields":[]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php if ( post_password_required() || !comments_open() ) { | ||
return; | ||
} ?> | ||
|
||
<section id="comments"></section> | ||
<script> | ||
window.ArticleData = { | ||
el: '#comments', | ||
post_id: <?= get_the_ID() ?>, | ||
editor: { | ||
placeholder: '<?= get_theme_mod('biji_setting_placeholder', 'Comment'); ?>', | ||
features: ['emoji', 'bold', 'italic'], | ||
}, | ||
hyperlinks: <?= json_encode(get_theme_mod('biji_setting_hyperlinks', true)); ?>, // 评论者链接 | ||
pagination: { | ||
rows: 10, // 每页评论数 | ||
rolling: <?= json_encode(get_theme_mod('biji_setting_rolling', true)); ?>, // 滚动加载 | ||
autoload: <?= json_encode(get_theme_mod('biji_setting_autoload', false)); ?>, // 自动加载 | ||
}, | ||
visitor: <?php the_visitor_info(); ?> | ||
}; | ||
</script> | ||
<script src="<?= get_template_directory_uri().'/static/comment.js?'.THEME_VERSION ?>"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
</div><!-- content --> | ||
</main><!-- main --> | ||
</section><!-- core --> | ||
|
||
<footer id="footer"> | ||
<div class="d-flex flex-center justify-between"> | ||
<div class='left'> | ||
<span>© <?= date('Y') ?> <a href="<?= get_bloginfo('url') ?>"><?= get_bloginfo('name') ?></a></span> | ||
<?php if (get_icp_num()) { ?> | ||
<span> . <a href="https://beian.miit.gov.cn/" target="_blank"><?= get_icp_num(); ?></a></span> | ||
<?php } ?> | ||
</div> | ||
<div class='right'> | ||
<span>Theme by <a class="theme-name" href="https://biji.io" target="_blank"><?= THEME_NAME ?></a></span> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<script data-no-instant> | ||
function _exReload() { | ||
<?php if (get_theme_mod('biji_setting_lately', true)) { ?> | ||
window.Lately && window.Lately({ | ||
'target': 'time' | ||
}) | ||
<?php } ?> | ||
<?php if (get_theme_mod('biji_setting_prettify', true)) { ?> | ||
window.prettyPrint && window.prettyPrint(); | ||
<?php } ?> | ||
} | ||
</script> | ||
</div> | ||
<?php wp_footer(); ?> | ||
<!--网站效率:<?php timer_stop(4); ?>秒内查询了<?= get_num_queries(); ?>次数据库--> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.