{"id":23058148,"url":"https://github.com/samwhelp/hexo-test-url_for","last_synced_at":"2025-04-03T06:16:21.891Z","repository":{"id":90411920,"uuid":"52853001","full_name":"samwhelp/hexo-test-url_for","owner":"samwhelp","description":"hexo-test-url_for","archived":false,"fork":false,"pushed_at":"2016-03-01T06:45:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T20:12:32.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/samwhelp.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":"2016-03-01T06:13:57.000Z","updated_at":"2016-03-01T06:45:43.000Z","dependencies_parsed_at":"2023-03-13T21:30:54.255Z","dependency_job_id":null,"html_url":"https://github.com/samwhelp/hexo-test-url_for","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fhexo-test-url_for","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fhexo-test-url_for/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fhexo-test-url_for/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwhelp%2Fhexo-test-url_for/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samwhelp","download_url":"https://codeload.github.com/samwhelp/hexo-test-url_for/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944385,"owners_count":20858772,"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":[],"created_at":"2024-12-16T02:14:35.401Z","updated_at":"2025-04-03T06:16:21.883Z","avatar_url":"https://github.com/samwhelp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-test-url_for\n\ntest hexo helper [url_for](https://hexo.io/docs/helpers.html#url-for).\n\n## issue\n\nhexo version 3.2.0\n\nwhen config.root = \"/a/b/c/\";\n\nthen url_for(\"/archives\") ==\u003e \"/a/b/c/archives\"\n\n\n## file version\n\n* url_for.3.2.0.js \u003c=\u003e [hexo 3.2.0](https://github.com/hexojs/hexo/blob/3.2.0/lib/plugins/helper/url_for.js)\n* url_for.js \u003c=\u003e fix version\n\n\n## how to test\n\n### clone\n\n``` sh\n$ git clone https://github.com/samwhelp/hexo-test-url_for.git\n```\n\n### change dir\n\n``` sh\n$ cd hexo-test-url_for\n```\n\n### prepare\n\n``` sh\n$ npm install\n```\n\n### test\n\n``` sh\n$ ./app.js\n```\nor\n\n``` sh\n$ node app.js\n```\n\nor\n\n``` sh\n$ npm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwhelp%2Fhexo-test-url_for","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamwhelp%2Fhexo-test-url_for","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwhelp%2Fhexo-test-url_for/lists"}