├── inc ├── .DS_Store ├── images │ └── ico-delete.png ├── js │ ├── options-custom.js │ └── media-uploader.js ├── options-framework.php └── includes │ ├── class-options-framework.php │ ├── class-options-media-uploader.php │ ├── class-options-framework-admin.php │ ├── class-options-sanitization.php │ └── class-options-interface.php ├── screenshot.png ├── .gitattributes ├── static ├── images │ ├── demo1.jpg │ ├── demo2.jpg │ ├── demo3.jpg │ ├── demo4.jpg │ ├── demo5.jpg │ ├── demo6.jpg │ ├── favicon.ico │ └── blog-cover.jpg ├── picture │ ├── favicon.png │ └── ghost-transparent-for-dark-bg.png ├── iconfont │ ├── iconfont.eot │ ├── iconfont.ttf │ ├── iconfont.woff │ └── iconfont.svg ├── css │ ├── default.css │ ├── iconfont.css │ └── jquery.fancybox.min.css └── js │ ├── jquery.fitvids.js │ ├── input.min.js │ └── main.js ├── ajax-comment ├── ajax-comment.css └── do.php ├── page.php ├── page-about.php ├── README.md ├── footer.php ├── archive.php ├── index.php ├── comments.php ├── options.php ├── xzh.func.php ├── header.php ├── single.php └── style.css /inc/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/inc/.DS_Store -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/screenshot.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /inc/images/ico-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/inc/images/ico-delete.png -------------------------------------------------------------------------------- /static/images/demo1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo1.jpg -------------------------------------------------------------------------------- /static/images/demo2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo2.jpg -------------------------------------------------------------------------------- /static/images/demo3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo3.jpg -------------------------------------------------------------------------------- /static/images/demo4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo4.jpg -------------------------------------------------------------------------------- /static/images/demo5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo5.jpg -------------------------------------------------------------------------------- /static/images/demo6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/demo6.jpg -------------------------------------------------------------------------------- /static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/favicon.ico -------------------------------------------------------------------------------- /static/picture/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/picture/favicon.png -------------------------------------------------------------------------------- /static/iconfont/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/iconfont/iconfont.eot -------------------------------------------------------------------------------- /static/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /static/iconfont/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/iconfont/iconfont.woff -------------------------------------------------------------------------------- /static/images/blog-cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/images/blog-cover.jpg -------------------------------------------------------------------------------- /static/picture/ghost-transparent-for-dark-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ysnv1997/GitGhost/HEAD/static/picture/ghost-transparent-for-dark-bg.png -------------------------------------------------------------------------------- /ajax-comment/ajax-comment.css: -------------------------------------------------------------------------------- 1 | .hide{ 2 | display: none 3 | } 4 | #comment_message{ 5 | font-size:12px; 6 | background-color: #eee; 7 | padding: 5px; 8 | margin:10px 0; 9 | } 10 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /page-about.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 38 | 39 | -------------------------------------------------------------------------------- /static/css/default.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original highlight.js style (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #F0F0F0; 12 | } 13 | 14 | 15 | /* Base color: saturation 0; */ 16 | 17 | .hljs, 18 | .hljs-subst { 19 | color: #444; 20 | } 21 | 22 | .hljs-comment { 23 | color: #888888; 24 | } 25 | 26 | .hljs-keyword, 27 | .hljs-attribute, 28 | .hljs-selector-tag, 29 | .hljs-meta-keyword, 30 | .hljs-doctag, 31 | .hljs-name { 32 | font-weight: bold; 33 | } 34 | 35 | 36 | /* User color: hue: 0 */ 37 | 38 | .hljs-type, 39 | .hljs-string, 40 | .hljs-number, 41 | .hljs-selector-id, 42 | .hljs-selector-class, 43 | .hljs-quote, 44 | .hljs-template-tag, 45 | .hljs-deletion { 46 | color: #880000; 47 | } 48 | 49 | .hljs-title, 50 | .hljs-section { 51 | color: #880000; 52 | font-weight: bold; 53 | } 54 | 55 | .hljs-regexp, 56 | .hljs-symbol, 57 | .hljs-variable, 58 | .hljs-template-variable, 59 | .hljs-link, 60 | .hljs-selector-attr, 61 | .hljs-selector-pseudo { 62 | color: #BC6060; 63 | } 64 | 65 | 66 | /* Language color: hue: 90; */ 67 | 68 | .hljs-literal { 69 | color: #78A960; 70 | } 71 | 72 | .hljs-built_in, 73 | .hljs-bullet, 74 | .hljs-code, 75 | .hljs-addition { 76 | color: #397300; 77 | } 78 | 79 | 80 | /* Meta color: hue: 200 */ 81 | 82 | .hljs-meta { 83 | color: #1f7199; 84 | } 85 | 86 | .hljs-meta-string { 87 | color: #4d99bf; 88 | } 89 | 90 | 91 | /* Misc effects */ 92 | 93 | .hljs-emphasis { 94 | font-style: italic; 95 | } 96 | 97 | .hljs-strong { 98 | font-weight: bold; 99 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GitGhost 2 | WordPress blog theme GitGhost url www.stayma.cn 3 | 4 | [](https://www.stayma.cn/wp-content/uploads/2018/11/screenshot.png) 5 | ### 主题简介 6 | 7 | 本主题源于ghost主题、本人无耻的扒皮拆骨给移植到Wordpress了。 8 | 9 | 正如大家所见,本博客目前就在使用这套主题GitGhost。但是这套主题没有什么太多杂七杂八的功能,这是套专业写作的主题,所以功能少,但是它绝对能满足正常使用。如果功能太多,那就失去了博客的本意了。折腾30小时,写作3分钟?用的一手好复制粘贴?那样弄个博客有何意义??装X?没必要,这么弱智的建站技术加下载上传能力,智力正常的人十分钟就能学会,所以,各位,请专注于博客的本质---写作! 10 | 11 | ### 功能介绍 12 | V1.0.1: 13 | 1. 新增全站ajax 14 | 15 | v1.0.0: 16 | 1. HTML5+CSS3响应式自适应 17 | 2. ajax无缝平滑翻页 18 | 3. ajax无刷新评论 19 | 4. 代码高亮 20 | 5. 图片灯箱 21 | 6. 完整的SEO 22 | 7. 自带醒目提示框6个 23 | 8. 按钮两个 24 | 25 | ### 一些建议 26 | 本主题其实很好看,其中在于好看的文章缩略图。建议到[unsplash](https://unsplash.com/ "unsplash")获取美图!免费的哟~ 27 | 28 | ### 界面展示 29 | [](https://i.loli.net/2018/11/08/5be40e74a96d9.png) 30 | 31 | ### 关于主题更新 32 | 本主题是一款开源主题,所以不提供wordpress后台主题更新。本主题更新时间不固定,除非有大型bug或者多人要求才会更新,还有就是...本人心情好就会更新。 33 | 34 | 所以、获取主题最新版本请关注本页面,或者加QQ群获取动态。至于QQ群,还没建好。 35 | 36 | ### 主题使用说明 37 | 本主题采用了全站ajax,使网站跳转间更丝滑。由于ajax异步加载技术会导致一些第三方wordpress插件失效。如果你使用大量的第三方插件请勿使用本主题,或者你有良好的JavaScript基础,本主题留了一个钩子 38 | 请打开main.js ----> `ajaxreload_code()` 本函数会在每次执行ajax之前调用,你可以在这里来二次初始化第三方插件。 39 | 40 | 由于本主题在全站跳转之间都是无刷新的,所以可以很完美的开启全站播放的音乐插件。需要使用背景音乐的请在footer.php -----> `` 上一行添加 41 |  42 | 也就是红框内,请勿修改上面的两个div。否则出错。 43 | ### 主题反馈 44 | 有问题请在[发布页面](https://www.stayma.cn/get-ghost-theme.html "发布页面") 下面评论 45 | 46 | 有BUG请在[发布页面](https://www.stayma.cn/get-ghost-theme.html "发布页面") 下面评论 47 | 48 | 有建议请在[发布页面](https://www.stayma.cn/get-ghost-theme.html "发布页面") 下面评论 -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | 25 | 26 | 0% 27 | 28 | 29 | 30 | 31 | 32 | 静下心来,寻找何物? 33 | When you are lost, you should calm down and search for the deepest answer. 34 | 35 | 36 | 37 | 38 | 39 | Search 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
When you are lost, you should calm down and search for the deepest answer.