{
"info": {
"author": "Atsushi Suga",
"author_email": "a2csuga@users.noreply.github.com",
"bugtrack_url": null,
"classifiers": [
"Environment :: Plugins",
"Environment :: Web Environment",
"Framework :: Lektor",
"License :: OSI Approved :: MIT License"
],
"description": "# Lektor root-relative-path plugin\n\nThis plugin returns root-relative-path list from top page to current page as below.\n\n```\n[(toppage_url, toppage_name), ...(parent_url, parent_name), (url, name)]\n```\n\n## Installation\nAdd `lektor-root-relative-path` to your project from the command line:\n\n```\nlektor plugins add lektor-root-relative-path\n```\n\nSee [the Lektor documentation for more instructions on installing plugins](https://www.getlektor.com/docs/plugins/).\n\n## Configuration\n\nSet these option in `configs/root-relative-path.ini`:\n\n### navi_top_page_name\n\nOptional. Name of top page inidicated in the navication. Default is 'Top Page'\n\n```\nnavi_top_page_name = 'Top Page'\n```\n\n## How to use\n\nInsert the following line in the template (e.g. layout.html) which you would like to show navigation.\n\n```\n{% for i in this._path | root_relative_path_list %}\n >>{{i[1]}}\n{% endfor %}\n```\n\nThen, navigation is shown as below in case the page 'blog/first-post/'\n\n```\n>>Top Page >>blog >>first-post\n```\n\nIf you do not want to show current page in the navigation, modify template as below.\n\n```\n{% for i in this._path | root_relative_path_list %}\n {% if not loop.last %}\n >>{{i[1]}}\n {% endif %}\n{% endfor %}\n```\nThen, navigation is shown as below.\n\n```\n>>Top Page >>blog\n```",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/a2csuga/lektor-root-relative-path",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "lektor-root-relative-path",
"package_url": "https://pypi.org/project/lektor-root-relative-path/",
"platform": "",
"project_url": "https://pypi.org/project/lektor-root-relative-path/",
"project_urls": {
"Homepage": "http://github.com/a2csuga/lektor-root-relative-path"
},
"release_url": "https://pypi.org/project/lektor-root-relative-path/0.2.1/",
"requires_dist": null,
"requires_python": "",
"summary": "Root relative path plugin for Lektor",
"version": "0.2.1"
},
"last_serial": 4303317,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "5f56c0b1097a23f1eecad92c3cbf346d",
"sha256": "f3b6e2ddbdf2f520bc09b7863c6fdbeff7053660d9a2deac477a3b13e55e9644"
},
"downloads": -1,
"filename": "lektor_root_relative_path-0.1-py2-none-any.whl",
"has_sig": false,
"md5_digest": "5f56c0b1097a23f1eecad92c3cbf346d",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 3057,
"upload_time": "2016-03-21T15:41:10",
"url": "https://files.pythonhosted.org/packages/c0/d8/5d4e0c20f223139c744048b2f565ad39817f12d1ff8f4efabaec86feb05f/lektor_root_relative_path-0.1-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a28bc5fdabf0b0fab5ffdb53fd76033c",
"sha256": "cdfd49424bda45fbac80a0cd3c1792e63dc947e33c3b48faaff22dd3771262c6"
},
"downloads": -1,
"filename": "lektor-root-relative-path-0.1.tar.gz",
"has_sig": false,
"md5_digest": "a28bc5fdabf0b0fab5ffdb53fd76033c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1375,
"upload_time": "2016-03-21T15:41:00",
"url": "https://files.pythonhosted.org/packages/81/f4/6c46b8f372d17c1f844ee40fa1d60381a3530c2e2de6b909535c8b8cb707/lektor-root-relative-path-0.1.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "c9e027d5fa8f32af2b8d2ec53a9ea029",
"sha256": "e4a8aa615b57bd123d2b0c3ce4c7cf5a1fc079bbd7caaafe9c4094039b286589"
},
"downloads": -1,
"filename": "lektor-root-relative-path-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "c9e027d5fa8f32af2b8d2ec53a9ea029",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2416,
"upload_time": "2018-09-22T07:45:12",
"url": "https://files.pythonhosted.org/packages/e7/a8/ccb4a05a34848d3eb57f8c94c4764f58865be6466225b0231abf0ff9572e/lektor-root-relative-path-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "d3644f053bcda7477bc3a548c2cb5358",
"sha256": "6698da2afbdce0f696626b5b2fe7c9d496b235b1c879385bfd5387947a52c407"
},
"downloads": -1,
"filename": "lektor-root-relative-path-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "d3644f053bcda7477bc3a548c2cb5358",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2456,
"upload_time": "2018-09-24T01:40:43",
"url": "https://files.pythonhosted.org/packages/fd/29/892f09298e0e05a625c93a64f29c8f6aae03a2f5481bdf178575a0f98486/lektor-root-relative-path-0.2.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d3644f053bcda7477bc3a548c2cb5358",
"sha256": "6698da2afbdce0f696626b5b2fe7c9d496b235b1c879385bfd5387947a52c407"
},
"downloads": -1,
"filename": "lektor-root-relative-path-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "d3644f053bcda7477bc3a548c2cb5358",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2456,
"upload_time": "2018-09-24T01:40:43",
"url": "https://files.pythonhosted.org/packages/fd/29/892f09298e0e05a625c93a64f29c8f6aae03a2f5481bdf178575a0f98486/lektor-root-relative-path-0.2.1.tar.gz"
}
]
}