{"id":13431001,"url":"https://github.com/hexojs/hexo-theme-landscape","last_synced_at":"2025-10-31T01:37:26.521Z","repository":{"id":882913,"uuid":"14398645","full_name":"hexojs/hexo-theme-landscape","owner":"hexojs","description":"A brand new default theme for Hexo.","archived":false,"fork":false,"pushed_at":"2024-04-08T15:07:12.000Z","size":3361,"stargazers_count":308,"open_issues_count":17,"forks_count":375,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-05-20T09:18:30.944Z","etag":null,"topics":["hexo","hexo-theme"],"latest_commit_sha":null,"homepage":"https://hexojs.github.io/hexo-theme-landscape/","language":"Stylus","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/hexojs.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":"2013-11-14T15:19:26.000Z","updated_at":"2024-06-18T12:28:27.276Z","dependencies_parsed_at":"2024-06-18T12:28:25.951Z","dependency_job_id":"a13da9d5-e925-4d8e-9f60-e3c3cd348ad0","html_url":"https://github.com/hexojs/hexo-theme-landscape","commit_stats":{"total_commits":153,"total_committers":64,"mean_commits":2.390625,"dds":0.7777777777777778,"last_synced_commit":"116d6ab200dbe0215dd1698859ac4b29be25f0ee"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-theme-landscape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-theme-landscape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-theme-landscape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexojs%2Fhexo-theme-landscape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexojs","download_url":"https://codeload.github.com/hexojs/hexo-theme-landscape/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"],"created_at":"2024-07-31T02:00:59.687Z","updated_at":"2025-10-31T01:37:21.484Z","avatar_url":"https://github.com/hexojs.png","language":"Stylus","funding_links":[],"categories":["Content","文章"],"sub_categories":["`hexo-related-popular-posts` 生成相关热门文章列表"],"readme":"# Landscape\n\n[![NPM version](https://badge.fury.io/js/hexo-theme-landscape.svg)](https://www.npmjs.com/package/hexo-theme-landscape)\n\nA brand new default theme for [Hexo].\n\n- [Preview](https://hexojs.github.io/hexo-theme-landscape/)\n\n## Installation\n\n### Install\n\nIf you're using Hexo 5.0 or later, the simplest way to install is through npm:\n\n```\nnpm i hexo-theme-landscape\n```\n\nInstall via git:\n\n```bash\ngit clone --depth 1 https://github.com/hexojs/hexo-theme-landscape themes/landscape\n```\n\nIf you would like to enable the RSS, the [hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed) plugin is also required.\n\n### Enable\n\nModify `theme` setting in `_config.yml` to `landscape`.\n\n```diff\n_config.yml\n- theme: some-theme\n+ theme: landscape\n```\n\n### Update\n\nInstall the latest version through npm:\n\n```sh\nnpm install hexo-theme-landscape@latest\n```\n\nOr update to the latest master branch via git:\n\n```bash\ncd themes/landscape\ngit pull\n```\n\n## Configuration\n\nThe configuration file for the theme is `_config.yml` in the repository. As the default theme for Hexo, hexo-theme-landscape is installed via npm during the `hexo init` site creation process, so it is generally located in the `node_modules/hexo-theme-landscape` directory. If you install it via `git clone` or other methods, it might be located in the `themes/landscape` directory.\n\nIt is important to note that to prevent your modifications to the theme configuration file from being lost or overwritten during theme upgrades, **we do not recommend directly modifying this default configuration file**. You can copy the theme's `_config.yml` to your blog's root directory as `_config.landscape.yml` and configure it according to the documentation of configuration options therein (see [Alternate Theme Config](https://hexo.io/docs/configuration#Alternate-Theme-Config)).\n\nThe following will also detail the usage of some options.\n\n## Features\n\n### FancyBox\n\nLandscape uses [Fancybox] to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.\n\n```\n![img caption](img url)\n\n{% fancybox img_url [img_thumbnail] [img_caption] %}\n```\n\n### Sidebar\n\nYou can put your sidebar in left side, right side or bottom of your site by editing `sidebar` setting.\n\nLandscape provides 5 built-in widgets:\n\n- category\n- tag\n- tagcloud\n- archives\n- recent_posts\n\nAll of them are enabled by default. You can edit them in `widget` setting.\n\n### Header links\n\nYou can add links to the header area with icons.\n\n```yml\nlinks:\n  github: https://github.com/your_github_account\n  twitter: https://twitter.com/your_twitter_account\n  telegram: https://t.me/your_telegram_account\n```\n\n[Hexo]: https://hexo.io/\n[Fancybox]: https://github.com/fancyapps/fancyBox\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-theme-landscape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexojs%2Fhexo-theme-landscape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexojs%2Fhexo-theme-landscape/lists"}