{"id":13431305,"url":"https://github.com/blleng/hexo-theme-lx","last_synced_at":"2025-03-16T11:31:23.778Z","repository":{"id":36260423,"uuid":"219133668","full_name":"blleng/hexo-theme-lx","owner":"blleng","description":"👉 A simple \u0026 clear \u0026 elegant Hexo theme. 🔭🔭Lx——一款简洁、美观的Hexo博客主题。","archived":true,"fork":false,"pushed_at":"2023-10-06T13:41:48.000Z","size":2021,"stargazers_count":208,"open_issues_count":6,"forks_count":26,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T22:27:37.888Z","etag":null,"topics":["blog-theme","hexo","hexo-theme","hexo-theme-lx","lx","theme-lx"],"latest_commit_sha":null,"homepage":"https://lx.js.org","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/blleng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"open_collective":"hexo-theme-lx"}},"created_at":"2019-11-02T09:48:38.000Z","updated_at":"2024-10-05T14:54:23.000Z","dependencies_parsed_at":"2023-12-15T10:02:08.733Z","dependency_job_id":"670b785a-8e6b-464f-8119-85a17aff0fa2","html_url":"https://github.com/blleng/hexo-theme-lx","commit_stats":{"total_commits":196,"total_committers":5,"mean_commits":39.2,"dds":"0.19897959183673475","last_synced_commit":"9e44700e31c7d06171f5c8122773e01c994df28e"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blleng%2Fhexo-theme-lx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blleng%2Fhexo-theme-lx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blleng%2Fhexo-theme-lx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blleng%2Fhexo-theme-lx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blleng","download_url":"https://codeload.github.com/blleng/hexo-theme-lx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243528497,"owners_count":20305439,"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":["blog-theme","hexo","hexo-theme","hexo-theme-lx","lx","theme-lx"],"created_at":"2024-07-31T02:01:02.091Z","updated_at":"2025-03-16T11:31:23.749Z","avatar_url":"https://github.com/blleng.png","language":"Stylus","funding_links":["https://opencollective.com/hexo-theme-lx"],"categories":["Content"],"sub_categories":[],"readme":"# Hexo-Theme-Lx\n\n\u003cimg src=\"https://d33wubrfki0l68.cloudfront.net/6657ba50e702d84afb32fe846bed54fba1a77add/827ae/logo.svg\" width=\"140\" height=\"140\" align=\"right\" alt=\"logo\"\u003e\n\n[![Github Release](https://img.shields.io/github/release/blleng/hexo-theme-lx.svg)](https://github.com/blleng/hexo-theme-lx/releases/)\n[![Github License](https://img.shields.io/github/license/blleng/hexo-theme-lx.svg)](https://github.com/blleng/hexo-theme-lx/blob/master/LICENSE)\n\n\u003eStar me if you like.\n\nLanguages: English | [中文](README/README.zh.md)\n\nLive Demo:\n\n\u003eStable:[https://lx.js.org](https://lx.js.org)\n\u003eDev: [https://lx.blleng.cn](https://lx.blleng.cn)\n\nAny problem: [issue](https://github.com/blleng/hexo-theme-lx/issues)\n\n## The latest release\n\n### V0.4.4\n\n- Several bugs fixed.\n\n## Usage\n\n### Git clone\n\nAt theme blog root dir:\n\n```bash\n$ git clone https://github.com/blleng/hexo-theme-lx themes/lx\nclone into 'themes/lx'...\n```\n\n### Apply\n\nEdit `_config.yml`:\n\n```yml\ntheme: lx\n```\n\n## Features\n\n\u003eThe description here is not complete. You should read the comment in `themes/lx/_config.yml`\n\n### Analytics\n\n`lx` use Baidu and Google as analytics.\n\nUsage:\n\nEdit `themes/lx/_config.yml`:\n\n```yml\ngoogle_analytics: ... ##Google analytics ID\nbaidu_analytics: ... ##Baidu analytics ID\n```\n\n### Local search\n\n1. Install the `hexo-generator-searchdb`:\n\nAt the blog root dir:\n\n```bash\n$ npm install hexo-generator-searchdb -s\n```\n\n2. Edit `themes/lx/_config.yml`:\n\n```yml\nlocal_search:\n  enable: true\n```\n\nMore features in `themes/lx/_config.yml`\n\n### Comment\n\n`lx` use valine as comment system.\nThe official site: [https://valine.js.org](https://valine.js.org)\n\nUsage:\n\nEdit `themes/lx/_config.yml`:\n\n```yml\ncomment:\n  enable: true\n  appid: ... #leancloud appid\n  appkey: ... #leancloud appkey\n  notify: false\n  verify: false\n  placeholder: Say something #placeholder\n  avatar: identicon #the guest avatar\n  guest_info: nick,mail,link #optional choice\n  pageSize: 10\n  language: en\n```\n\nIn the page front-matter:\n`comment: true`\n\n```markdown\n---\ndate: ...\ntitle: ...\ncategories: ...\ntags: ...\ncomment: true //use comment in this page\nmathjax: ...\n---\n```\n\nYou should create an application in Leancloud to get `appid` and `appkey`.\n\n### Social links\n\nEdit the `themes/_config.yml`\n\n```yml\nsocial:\n  enable: true\n  links:\n    Github:  //the name of the link\n      icon: gihub //font-awesmome icon\n      link: ... //link\n```\n\n### Mathjax\n\nSupport Mathematical formulas and chemical equations\n\nUsage:\n\nEdit`themes/lx/_config.yml`:\n\n```yml\nmathjax:\n  enable: true\n  cdn: //cdn.bootcss.com/mathjax/2.7.5/latest.js?config=TeX-MML-AM_SVG\n```\n\nIn the page front-matter: `mathjax: true`\n\n```markdown\n---\ndate: ...\ntitle: ...\ncategories: ...\ntags: ...\ncomment: ...\nmathjax: true //use Mathjax in this page\n---\n```\n\n### Font\n\n```yml\nfont:\n  enable: true\n  host: //fonts.googleapis.com\n  codes: ##the font of codes\n    enable: true\n    family: Fira Code\n  else:\n    enable: false\n    family: \n```\n\n### Custom css\n\n```yml\ncustom_css: false\n# If true, Lx will load 'source/css/custom.styl'.\n```\n\n## Style\n\n### Excerpt\n\nthe content before `\u003c!--more--\u003e` will be showed at the home page.\n\n### Note tag\n\noptions: `default`、`info`、`primary`、`success`、`warning`、`danger`\n\neg：\n\n```markdown\n{%note default%}\n### title\ncontent\n{%endnote%}\n```\n\n### Label tag\n\noptions: `default`、`info`、`primary`、`success`、`warning`、`danger`\n\neg：\n\n```markdown\n{%label default@content%}\n```\n\n### Button tag\n\nbuttion：\n\n```markdown\n{%btn url,content,hand-o-right fa-fw,title%}\n```\n\noptions: `url` `content` `hand-o-right fa-fw` `fa-fw` `title`\n\n### center-quote tag\n\neg：\n\n```markdown\n{%cq%}\n人类的悲欢并不相通，我只觉得他们吵闹。\u003cbr\u003e\u003cstrong\u003e——鲁迅\u003c/strong\u003e\n{%endcq%}\n```\n\n### video tag\n\neg：\n\n```markdown\n{% video url %}\n```\noptions: `url`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblleng%2Fhexo-theme-lx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblleng%2Fhexo-theme-lx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblleng%2Fhexo-theme-lx/lists"}