{"id":15545744,"url":"https://github.com/davbree/green-mars","last_synced_at":"2026-05-07T11:35:11.319Z","repository":{"id":140317337,"uuid":"321282650","full_name":"davbree/green-mars","owner":"davbree","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2020-12-14T08:33:35.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T08:42:41.682Z","etag":null,"topics":["git","headless","jamstack","jekyll","ssg","stackbit","static"],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davbree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-14T08:33:27.000Z","updated_at":"2020-12-14T08:33:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4a7b777-7e92-4c04-80b1-f006b1e0ffc5","html_url":"https://github.com/davbree/green-mars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davbree/green-mars","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fgreen-mars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fgreen-mars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fgreen-mars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fgreen-mars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davbree","download_url":"https://codeload.github.com/davbree/green-mars/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davbree%2Fgreen-mars/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","headless","jamstack","jekyll","ssg","stackbit","static"],"created_at":"2024-10-02T12:54:57.224Z","updated_at":"2026-05-07T11:35:11.293Z","avatar_url":"https://github.com/davbree.png","language":"SCSS","funding_links":["https://www.paypal.me/gaohaoyang"],"categories":[],"sub_categories":[],"readme":"# About this Cool Concise Jekyll Blog Theme\n\n[![GitHub stars](https://img.shields.io/github/stars/Gaohaoyang/gaohaoyang.github.io.svg)](https://github.com/Gaohaoyang/gaohaoyang.github.io/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/Gaohaoyang/gaohaoyang.github.io.svg)](https://github.com/Gaohaoyang/gaohaoyang.github.io/network)\n[![GitHub issues](https://img.shields.io/github/issues/Gaohaoyang/gaohaoyang.github.io.svg)](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues)\n[![GitHub release](https://img.shields.io/github/release/Gaohaoyang/gaohaoyang.github.io.svg)](https://github.com/Gaohaoyang/gaohaoyang.github.io/releases)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Gaohaoyang/gaohaoyang.github.io/master/LICENSE)\n\n\n\n## Content\n\n* [Preview](#preview)\n* [Page Details](#page-details)\n    * [Home](#home)\n    * [Archives](#archives)\n    * [Categories](#categories)\n    * [Tags](#tags)\n    * [Collections](#collections)\n    * [Demo](#demo)\n    * [About](#about)\n    * [Comments](#comments)\n    * [Post Contents](#post-contents)\n    * [Code Highlight](#code-highlight)\n    * [Light Shadow](#light-shadow)\n    * [Mobile Adaptation](#mobile-adaptation)\n    * [Footer](#footer)\n    * [Statistical Analysis](#statistical-analysis)\n* [Usage](#usage)\n    * [1. Install ruby and jekyll environment](#1-install-ruby-and-jekyll-environment)\n    * [2. Copy theme code](#2-copy-theme-code)\n    * [3. Change parameter](#3-change-parameter)\n        * [Basic info](#basic-info)\n        * [Link info](#link-info)\n        * [Comments info](#comments-info)\n        * [Statistical analysis info](#statistical-analysis-info)\n    * [4. Write post](#4-write-post)\n    * [5. Local launch](#5-local-launch)\n    * [6. Push to GitHub](#6-push-to-github)\n* [Donate](#donate)\n* [Update Log](#update-log)\n* [License](#license)\n\n## Preview\n\nFirst of all, let's see previews.\n\nIndex Page\n![index](http://ww3.sinaimg.cn/large/7011d6cfjw1f3bdli86awj211k0oyqen.jpg)\n\nPost Page\n![post](http://ww4.sinaimg.cn/large/7011d6cfjw1f3bdmzb9v6j210p0j7gwn.jpg)\n\n## Page Details\n\n### Home\n\nIndex page show 5 posts excerpt as a default. Readers can click article title or read more button to see full post. There are recent posts area, categories area and tags area at the right part of the index page. You can also add an area at this part, if you change the file `index.html`.\n\n### Archives\n\nArchive post according to the year.\n\n### Categories\n\nShow posts according to the category.\n\n### Tags\n\nShow posts according to the tags.\n\n### Collections\n\nThe user can collect their favorite article links with `markdown` syntax.\n\n### Demo\n\nI use *[Masonry](http://masonry.desandro.com/)* to rewrite the waterfall responsive layout. Better interactive experience.\n\n### About\n\nThe user can write some introduction about theirselves and their site with `markdown` syntax.\n\n### Comments\n\nThis theme supports both [disqus](https://disqus.com/) and [多说评论 duoshuo comments](http://duoshuo.com/). It's very easy to config your comments module.\n\nThe only thing you need do is to change the `short_name` in the file `_config.yml`. As follows.\n\n```yml\n# comments\n# two ways to comment, only choose one, and use your own short name\nduoshuo_shortname: #xxx\ndisqus_shortname: xxx\n```\n\n### Post Contents\n\nThe post contents is fixed at the right side while page is scrolling. There will be a scroll bar on contents while it is outside the window height.\n\n### Code Highlight\n\nWhile the jekyll is update to 3.x.x, you can use github flavored markdown to write code.\n\nMore info to see [syntax-highlighter-changed](https://jekyllrb.com/docs/upgrading/2-to-3/#syntax-highlighter-changed).\n\n### Light Shadow\n\n![light](http://ww3.sinaimg.cn/large/7011d6cfjw1f3be6y4vp3j209i02rweg.jpg)\n\nYou can see the white shadow on the current item in the navbar. I call this light shadow.\n\n### Mobile Adaptation\n\nOf course, I have done a very good mobile adaptation.\n\n![mobile](http://ww4.sinaimg.cn/large/7011d6cfjw1f3bebnzxkpj20ah0fzgp4.jpg)\n\n### Footer\n\n**Welcome to use this blog theme, but please keep the theme author info at footer.** Theme designed by [HyG](https://github.com/gaohaoyang).\n\n![footer](http://ww3.sinaimg.cn/large/7011d6cfjw1f3bepd8002j20hl02ct95.jpg)\n\n### Statistical Analysis\n\nThis theme supports Google Analytics and Baidu Statistics， you can just config the id in the file `_config.yml`, as follows.\n\n```yml\n# statistic analysis 统计代码\n# 百度统计 id，将统计代码替换为自己的百度统计id，即\n# hm.src = \"//hm.baidu.com/hm.js?xxxxxxxxxxxx\";\n# xxxxx字符串\nbaidu_tongji_id: xxxxxxxxxxxx\ngoogle_analytics_id: UA-xxxxxxxx # google 分析追踪id\n```\n\n## Usage\n\nWelcome everyone to use this theme, this part shows introduction to use.\n\n### 1. Install ruby and jekyll environment\n\nThis step and Step 5 mainly talk to you how to launch blog at local. If you don't want to launch at local, you can ignore these 2 steps. But I still strongly suggest to do this. Ensure there is nothing wrong before pushing to the github.\n\nThe Windows users can directly use [RubyInstaller](http://rubyinstaller.org/) to install ruby environment. Follow the prompts while installing.\n\nInstall jekyll commands:\n\n```\ngem install jekyll\n```\n\nFor more details, you can view the jekyll official website. [https://jekyllrb.com/](https://jekyllrb.com/)\n\nThere may be something wrong at mac OS X El Capitan, you can see the solution at [https://jekyllrb.com/docs/troubleshooting/#jekyll-amp-mac-os-x-1011]( https://jekyllrb.com/docs/troubleshooting/#jekyll-amp-mac-os-x-1011).\n\nIf you are interesting in jekyll, you can see the jekyll source code at [https://github.com/jekyll/jekyll](https://github.com/jekyll/jekyll).\n\n![jekyll logo](http://jekyllcn.com/img/logo-2x.png)\n\n### 2. Copy theme code\n\nYou can clone, download or fork this repo.\n\n### 3. Change parameter\n\nMainly change the parameters at file `_config.yml` and use your own `favicon.ico`.\n\n#### Basic info\n\nShows at site header part.\n\n```yml\n# Site settings\ntitle: HyG\nbrief-intro: Front-end Dev Engineer\nbaseurl: \"\" # the subpath of your site, e.g. /blog\nurl: \"http://gaohaoyang.github.io\" # the base hostname \u0026 protocol for your site\n```\n\n#### Link info\n\nMainly shows at the footer of the site.\n\n```yml\n# other links\ntwitter_username: gaohaoyang126\nfacebook_username: gaohaoyang.water\ngithub_username:  Gaohaoyang\nemail: gaohaoyang126@126.com\nweibo_username: 3115521wh\nzhihu_username: gaohaoyang\nlinkedIn_username: gaohaoyang\ndribbble_username:\n\ndescription_footer: 本站记录我前端之旅的沿途风景！\n```\n\n#### Comments info\n\nGet your own `short_name`:\n\nVisit https://disqus.com/ or http://duoshuo.com/. And follow the prompts at the site.\n\n```yml\n# comments\n# two ways to comment, only choose one, and use your own short name\nduoshuo_shortname: #hygblog\ndisqus_shortname: xxxx\n```\n\nWhen you done, you can also see the comments info at disqus or duoshuo admin console.\n\n#### Statistical analysis info\n\nGet Google Analytics id or Baidu Statistics id：\n\nVisit https://www.google.com/analytics/ or http://tongji.baidu.com/. And follow the prompts at the site.\n\nOf course, if you don't want any statistical and analysis info, you can type nothing at id position.\n\n```yml\n# statistic analysis 统计代码\n# 百度统计 id，将统计代码替换为自己的百度统计id，即\n# hm.src = \"//hm.baidu.com/hm.js?xxxxxxxxxxxx\";\n# xxxxx字符串\nbaidu_tongji_id: cf850xxxxxxxxxxxxxxxx\ngoogle_analytics_id: UA-7xxxxxx-4 # google 分析追踪id\n```\n\nWhen you done, you can see UV, PV, location etc. info at your own Google Analytics or Baidu Statistic console.\n\n### 4. Write post\n\nYou can write posts at folder `_posts`. At the beginning of the post, you should declare layout、title、date、categories、tags、author(optional) info、mathjax(optional，click [here](https://www.mathjax.org/) for more detail about `Mathjax`).\n\n```\n---\nlayout: post\ntitle:  \"对这个 jekyll 博客主题的改版和重构\"\ndate:   2016-03-12 11:40:18 +0800\ncategories: jekyll\ntags: jekyll 端口 markdown Foxit RubyGems HTML CSS\nauthor: Haoyang Gao\nmathjax: true\n---\n```\n\nThese follow code is for making contents.\n```\n* content\n{:toc}\n```\n\nYou can use 4 wraps as a excerpt separator. The words before separator as excerpt show in the index page. When you enter the post page, you can read full article.\n\nThe wraps config is in the file `_config.yml`, as follows:\n\n```yml\n# excerpt\nexcerpt_separator: \"\\n\\n\\n\\n\"\n```\n\nYou should use markdown syntax to write article, just like write readme in github.\n\nYou can use 3 \\`\\`\\` to write code block.\n\n### 5. Local launch\n\nuse command:\n\n```\njekyll s\n```\n\nTerminal shows:\n\n```\nConfiguration file: E:/GitWorkSpace/blog/_config.yml\n            Source: E:/GitWorkSpace/blog\n       Destination: E:/GitWorkSpace/blog/_site\n Incremental build: disabled. Enable with --incremental\n      Generating...\n                    done in 6.33 seconds.\n  Please add the following to your Gemfile to avoid polling for changes:\n    gem 'wdm', '\u003e= 0.1.0' if Gem.win_platform?\n Auto-regeneration: enabled for 'E:/GitWorkSpace/blog'\nConfiguration file: E:/GitWorkSpace/blog/_config.yml\n    Server address: http://127.0.0.1:4000/\n  Server running... press ctrl-c to stop.\n```\n\nVisit localhost:4000 to see your blog!!!\n\n### 6. Push to GitHub\n\nIf there is nothing wrong, push code to your github!\n\n## Donate\n\nYou can also donate me for a coffee, and I'll do better. Thanks.\n\n|                                                                     PayPal                                                                     |                                 Wechat Pay                                  |                                   Alipay                                    |\n|:----------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------:|:---------------------------------------------------------------------------:|\n| [![PayPal](https://www.paypalobjects.com/webstatic/paypalme/images/pp_logo_small.png)\u003cbr\u003eDonate via PayPal ](https://www.paypal.me/gaohaoyang) | ![wechat](http://ww2.sinaimg.cn/large/7011d6cfjw1f3bkdw3bslj206z06q3z6.jpg) | ![alipay](http://ww2.sinaimg.cn/large/7011d6cfjw1f3bk8ikzoij20740743z5.jpg) |\n\n## Update Log\n\n### 2017.2.28\n\n- `[^]` fix smoothScroll bug in Tencent webview like wechat and qq.  [#22](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues/22), [#48](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues/48)\n\n### 2016.6.20\n\n* `[+]` Add next post and previous post link in post page.\n* `[^]` Change the sort of font-family to avoid full-width half-width characters mistake.\n* `[^]` Fix bug in tags cloud when division by zero. [#26](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues/26), [#28](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues/28), [#30](https://github.com/Gaohaoyang/gaohaoyang.github.io/issues/30)\n\n### 2016.5.11 v2.0.1\n\n* `[^]` Optimized code, Extracting common code to `comments.html`\n* `[+]` Add Google Analysis and Baidu Statistics\n* `[+]` Update README, add usage\n* `[+]` Add `favicon.ico`\n* `[^]` Fix bug at contents\n* `[^]` Change the content scroll bar CSS style（Only for `webkit` browser kernel）\n* `[^]` Change tag a color at demo page\n* `[+]` Add busuanzi counter, show the views count at footer\n* `[+]` Add back to top button\n\n### 2016.4.27 v2.0.0\n\n* `[^]` Rewrite all codes based on jekyll 3.1.2\n* `[+]` Add excerpt at index page\n* `[+]` Add recently post, categories and tags cloud at index page\n* `[+]` Add light shadow at navbar\n* `[+]` Add archives, categories, tags page\n* `[+]` Add collections page\n* `[+]` Add comments plugin with disqus or duoshuo\n* `[+]` Mobile Adaptation\n* `[+]` Fix post contents to the right side while scrolling page\n* `[+]` Fix footer at the bottom when page height is smaller than window height\n* `[^]` Use github flavored markdown to write code block(Fenced code blocks)\n* `[^]` Rewrite the demo page with Masonry\n* `[-]` Remove jQuery and BootStrap\n\nAbout my old blog theme, I won't maintain any more. And I put the code at  [Gaohaoyang/old-blog](https://github.com/Gaohaoyang/old-blog).\n\n## License\n\n[MIT License](https://github.com/Gaohaoyang/gaohaoyang.github.io/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavbree%2Fgreen-mars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavbree%2Fgreen-mars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavbree%2Fgreen-mars/lists"}