{"id":13431926,"url":"https://github.com/wayou/hexo-theme-gstyle","last_synced_at":"2025-09-05T08:21:58.469Z","repository":{"id":7957116,"uuid":"56969081","full_name":"wayou/hexo-theme-gstyle","owner":"wayou","description":"a hexo theme with google style","archived":false,"fork":false,"pushed_at":"2019-08-13T15:18:36.000Z","size":4993,"stargazers_count":46,"open_issues_count":0,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-20T09:22:19.554Z","etag":null,"topics":["google","hexo","material","theme"],"latest_commit_sha":null,"homepage":"http://wayou.github.io/hexo-theme-gstyle/public/","language":"JavaScript","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/wayou.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}},"created_at":"2016-04-24T11:57:09.000Z","updated_at":"2023-02-13T05:51:06.000Z","dependencies_parsed_at":"2022-08-06T20:15:23.664Z","dependency_job_id":null,"html_url":"https://github.com/wayou/hexo-theme-gstyle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wayou/hexo-theme-gstyle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhexo-theme-gstyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhexo-theme-gstyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhexo-theme-gstyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhexo-theme-gstyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayou","download_url":"https://codeload.github.com/wayou/hexo-theme-gstyle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayou%2Fhexo-theme-gstyle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273729141,"owners_count":25157363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["google","hexo","material","theme"],"created_at":"2024-07-31T02:01:07.085Z","updated_at":"2025-09-05T08:21:53.453Z","avatar_url":"https://github.com/wayou.png","language":"JavaScript","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"# hexo-theme-gstyle\na google style theme for hexo.\n\n## Preview\n\n[Live Demo](http://wayou.github.io/hexo-theme-gstyle/public/)\n\n![preview](https://raw.githubusercontent.com/wayou/hexo-theme-gstyle/master/source/img/preview.jpg)\n\n\u003csub\u003escreenshot generated by [am i responsive](http://ami.responsivedesign.is/?url=http%3A%2F%2Fwayou.github.io%2F)\u003c/sub\u003e\n\n## Features\n\n### Responsive\nTotaly responsive, mobile first.\nNo bootstrap, using modern css3 flex!\n\n### Impressing Navigation\n\n![full screen navigation menu with morphing animation](https://raw.githubusercontent.com/wayou/hexo-theme-gstyle/master/source/img/nav.gif)\n\u003cbr\u003e\nFull screen morphing navigation on mobile\n\n### Graceful table of content module\nAuto generated table of content with transition animation when expanding and collapsing.\n![full screen navigation menu with morphing animation](https://raw.githubusercontent.com/wayou/hexo-theme-gstyle/master/source/img/toc.gif)\n\n## Usage\n- `git clone https://github.com/wayou/hexo-theme-gstyle.git themes/gstyle`\n- config site `_config.yml` `theme: gstyle`\n\n## Using relative assets path in your post\n- Enable `post_asset_folder` in your hexo site config file `_config.yml`\n- Install `hexo-filter-pathfix` to fix the path of assets `npm install --save hexo-filter-pathfix`\n- Then you can using relative path when writing posts like `![image title](image_name.jpg)`.\n\n## Config\n\n### toc\n- Enable `toc: true` in the Front-matter of posts you wanna display table of content\n\n```diff\ntitle: thi is the post title\n+toc: true\ndate: 2016-01-01 15:47:33\ntags:\n---\n```\n\n### Comments\n2 comment vendors implemented , choose one you like.\n``` yml\nduoshuo_shortname: #your duoshuo shortname goes here\ndisqus_shortname: #your disqus shortname goes here\n```\n\n### Site analytics\nThe `baidu_analytics` is mainly for mainland users. you can get the baidu analytics id from the admin page of baidu analytics code installing page.\n![where to get the baidu analytics id](https://raw.githubusercontent.com/wayou/hexo-theme-gstyle/master/source/img/baidu_analytics.png)\n``` yml\ngoogle_analytics:  \nbaidu_analytics:\n```\n\n### Image caption\nTo enable image caption for iamges, install `hexo-image-caption` plugin by using this command:\n```bash\nnpm i --save hexo-image-caption\n```\nAnd then enable it in your hexo site config file `_config.yml` (not the theme config file).\n```yml\n# add caption for iamges\nimage_caption:\n  enable: true\n  class_name:\n```\n\n### Code highlight\n\nHexo default code highligth is the default. \nHowever, I customized [Prism.js](http://prismjs.com/) for this theme, whitch is much nicer and many languagaes like `jsx` are well supported.\nAnd thanks to [ele828](https://www.npmjs.com/~ele828) for making the [hexo prism plugin](https://www.npmjs.com/package/hexo-prism-plugin).\n\nTo enable Prism code highlight,\n- `npm i -S hexo-prism-plugin`\n- edit hexo config file `_config.yml`(not the one for the theme) to enable this plugin\n```yml\nprism_plugin:\n  mode: 'preprocess'    # realtime/preprocess \n  theme: 'default'\n```\n![](source/img/hexo-prism.jpg)\n\n### Sliding navigation indicator\nWhether to show an indicator for the active navigation menu item\n```yml\nactive_nav: false\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayou%2Fhexo-theme-gstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayou%2Fhexo-theme-gstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayou%2Fhexo-theme-gstyle/lists"}