{"id":13431147,"url":"https://github.com/esappear/hexo-theme-clover","last_synced_at":"2025-03-16T06:32:24.235Z","repository":{"id":217871220,"uuid":"151728735","full_name":"esappear/hexo-theme-clover","owner":"esappear","description":"Clover theme for Hexo.","archived":false,"fork":false,"pushed_at":"2023-12-03T02:52:31.000Z","size":93,"stargazers_count":215,"open_issues_count":8,"forks_count":45,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-20T09:18:50.241Z","etag":null,"topics":["hexo","hexo-theme","hexo-theme-clover"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esappear.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-05T13:57:23.000Z","updated_at":"2024-07-20T20:53:25.133Z","dependencies_parsed_at":null,"dependency_job_id":"cfa00f27-ced1-4ae6-9be8-822deda897e8","html_url":"https://github.com/esappear/hexo-theme-clover","commit_stats":null,"previous_names":["esappear/hexo-theme-clover"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esappear%2Fhexo-theme-clover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esappear%2Fhexo-theme-clover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esappear%2Fhexo-theme-clover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esappear%2Fhexo-theme-clover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esappear","download_url":"https://codeload.github.com/esappear/hexo-theme-clover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656503,"owners_count":16858784,"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","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":["hexo","hexo-theme","hexo-theme-clover"],"created_at":"2024-07-31T02:01:00.881Z","updated_at":"2024-10-27T09:31:52.325Z","avatar_url":"https://github.com/esappear.png","language":"CSS","funding_links":[],"categories":["Content"],"sub_categories":[],"readme":"# Clover\n## [Preview](https://esappear.github.io/clover/)\n![preview](https://media.githubusercontent.com/avatars/8626321?orig=1\u0026token=ANM6mziZ-bdE9fPaDWu1LVN0JQ-Vz-k_ks5b0I9FwA%3D%3D)\n\n## Prerequisite\nYou got a blog project built by [Hexo](https://hexo.io). Your project directory should like this:\n```\n_config.yml  node_modules  package.json  public  scaffolds  source  themes\n```\n## Installation\n- Clone the repository.\n```\ngit clone https://github.com/esappear/hexo-theme-clover themes/clover\n```\n- Set theme in `_config.yml` file of the project root:\n```\ntheme: clover\n```\n- Add `hexo-renderer-sass`\n```\nnpm install hexo-renderer-sass --save\n```\n## Features\n### Free home page.\nYou can set posts of specific categories or tags in home page.\n```\nhome:\n  # set card style of home page\n  # card: project-card\n  category: Projects\n  tag:\n    - js\n    - css\n  except_category: Something\n  except_tag: 'someTag'\n```\nPost which belongs to `category` or `tag` and don't belongs to `except_category` or `except_tag` will be filtered.\n\n### Page excerpt and photos\nYou can set an excerpt or photos in `Front-matter`.\n```\n---\nlayout: post\ntitle: my_post_title\nexcerpt: my_post_excerpt\nphotos: [my_photo_url]\n---\n```\n### Tags page.\n- Create a page named tags\n  ```\n  hexo new page \"tags\"\n  ```\n- Edit tags page, set page layout to `tag`.\n  ```\n  ---\n  layout: tag\n  title: tags\n  date: 2018-10-05 12:12:53\n  ---\n  ```\n### Categories page.\n- Create a page named categories\n  ```\n  hexo new page \"categories\"\n  ```\n- Edit categories page, set page layout to `category`.\n  ```\n  ---\n  layout: category\n  title: categories\n  date: 2018-10-05 12:12:53\n  ---\n  ```\n### About page.\n- Create a page named about\n  ```\n  hexo new page \"about\"\n  ```\n- Edit categories page, set page layout to `about`.\n  ```\n  ---\n  layout: about\n  title: about\n  date: 2018-10-05 12:12:53\n  ---\n  ```\n\n### Social Media\n```\nsocial:\n  GitHub: your-url\n  Dribbble: your-url\n  Behance: your-url\n  Lofter: your-url\n  Instagram: your-url\n```\n\n### Custom Menu\n```\nmenu:\n  Project: /\n  Stuffs: /tags/Stuffs\n  Archive: /archives\n  About: /about\n```\n\n### Card Style\nTwo kinds of card style: `project-card` and `article-card`. (Never mind the name.)\n```\ncard_style:\n  home: project-card\n  archive: article-card\n  tag: article-card\n  category: article-card\n```\n\n### Code Highlight\n- You should disable the default highlight setting in `.config.yml` and then get gihub-style code highlight powered by `hight.js`.\n```\nhighlight:\n  enable: false\n```\n- declare language of code\n```md\n```js\nconsole.log('hello world);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesappear%2Fhexo-theme-clover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesappear%2Fhexo-theme-clover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesappear%2Fhexo-theme-clover/lists"}