{"id":20217723,"url":"https://github.com/pforret/jekyll_taxonomy","last_synced_at":"2026-05-10T05:05:52.773Z","repository":{"id":144772323,"uuid":"349468025","full_name":"pforret/jekyll_taxonomy","owner":"pforret","description":"Generate tag and category pages for Jekyll static sites","archived":false,"fork":false,"pushed_at":"2022-02-20T22:49:23.000Z","size":758,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T13:06:34.754Z","etag":null,"topics":["bash","bashew","jekyll","static-site-generator","taxonomy"],"latest_commit_sha":null,"homepage":"https://blog.forret.com/github/2021/03/21/create-tag-category-pages-jekyll/","language":"Shell","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/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-19T15:22:52.000Z","updated_at":"2021-10-21T19:12:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1f46c75-54dc-4f34-9d35-f7c1c75ece26","html_url":"https://github.com/pforret/jekyll_taxonomy","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"pforret/bashew","purl":"pkg:github/pforret/jekyll_taxonomy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fjekyll_taxonomy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fjekyll_taxonomy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fjekyll_taxonomy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fjekyll_taxonomy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/jekyll_taxonomy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fjekyll_taxonomy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264465847,"owners_count":23612580,"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":["bash","bashew","jekyll","static-site-generator","taxonomy"],"created_at":"2024-11-14T06:35:21.923Z","updated_at":"2026-05-10T05:05:52.194Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/jekyll_taxonomy/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/jekyll_taxonomy/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/jekyll_taxonomy)\n![GH stars](https://img.shields.io/github/stars/pforret/jekyll_taxonomy)\n![GH tag](https://img.shields.io/github/v/tag/pforret/jekyll_taxonomy)\n![GH License](https://img.shields.io/github/license/pforret/jekyll_taxonomy)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://basher.gitparade.com/package/)\n\n# jekyll_taxonomy\n\n![](assets/taxonomy.jpg)\n\nGenerate a separate page for each tag/category/author/... pages for Jekyll static site generator (e.g. for Github Pages). Topical index pages for tags, categories, ... are great for your readers and for SEO.\n\n## 🔥 Usage\n```\nProgram: jekyll_taxonomy 1.2.2 by peter@forret.com\nUpdated: Oct 21 15:37:34 2021\nDescription: Generate tag and category pages for Jekyll SSG\nUsage: jekyll_taxonomy \n        [-h] [-q] [-v] [-f] [-c] \n        [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-p \u003cpost_dir\u003e] [-y \u003clayout_dir\u003e] [-o \u003ccollection\u003e] \n        \u003caction\u003e \u003ctype?\u003e \u003coutput?\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] output more [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -c|--cleanup     : [flag] clean the output folder first [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/jekyll_taxonomy]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: /tmp/jekyll_taxonomy]\n    -p|--post_dir \u003c?\u003e: [option] input folder with Jekyll posts  [default: _posts]\n    -y|--layout_dir \u003c?\u003e: [option] folder with Jekyll layouts  [default: _layouts]\n    -o|--collection \u003c?\u003e: [option] collection name (_posts -\u003e posts)\n    \u003caction\u003e         : [parameter] action to perform generate/check/update\n    \u003ctype\u003e           : [parameter] tag/category/author/... (optional)\n    \u003coutput\u003e         : [parameter] output folder [default: /\u003ctype\u003e] (optional)\n\n### TIPS \u0026 EXAMPLES\n* use jekyll_taxonomy generate tag to generate all tag documents\n* use jekyll_taxonomy check to check if this script is ready to execute and what values the options/flags are\n* use jekyll_taxonomy env to generate an example .env file\n* use jekyll_taxonomy update to update to the latest version\n* \u003e\u003e\u003e bash script created with pforret/bashew\n* \u003e\u003e\u003e for bash development, also check out pforret/setver and pforret/progressbar\n```\n\n## 🧪 Examples\n\n* `jekyll_taxonomy generate tag`: generate a tag index page for each unique tag defined by `tag:` or `tags:` in your posts' front matter. All tags are lowercase and slugified (Apple -\u003e apple, FIRST TRY! -\u003e first-try). The index page will list all _posts with that tag, with a title, date and excerpt. Also, a layout `with_tag` is created in `_layouts` and a index page `index.html`, listing all tags, is created in the `tag` folder.\n* `jekyll_taxonomy -p _products -y _templates generate age age_group`: generate an age index page in the folder _`age_group` for each unique age group defined by `age:` or `ages:` in your products' front matter. All tags are lowercase and slugified (Adult -\u003e adult, Baby Girl -\u003e baby-girl). Also, a layout `with_age` is created in `_templates` and an index page `index.html` is created in the `age_group` folder.\n* `jekyll_taxonomy -c generate category`: first remove all .md pages from the category folder and then recreate them from the posts (defined by `category:` and `categories:`in the front matter). Useful when categories (could) have disappeared because e.g. some posts were deleted or categories were renamed.\n* `tag/index.html` can be modified to e.g. separate tag listing on 1st letter, or use a Bootstrap/Tailwind specific layout\n* `_layouts/with_tag.html` can be modified to e.g. remove the excerpt or make it longer, to add the author, or use a Bootstrap/Tailwind specific layout\n\nI use it on my Jekyll blog:\n* [blog.forret.com/category/](https://blog.forret.com/category/) for the category listing\n* [blog.forret.com/category/github/](https://blog.forret.com/category/github/) for the index page for category 'github'\n* [blog.forret.com/tag/](https://blog.forret.com/tag/) for the tag listing (with a more compact format)\n* [blog.forret.com/tag/bash/](https://blog.forret.com/tag/bash/) for the index page of the tag 'bash'\n\n\nThese are generated by the following script:\n```bash\njekyll_taxonomy -c generate tag\ngit add tag       ## add any new tag indexes to git\njekyll_taxonomy -c generate category\ngit add category  ## add any new category indexes to git\ngit status        ## show me added/removed tags and categories\n```\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/jekyll_taxonomy\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/jekyll_taxonomy.git\n\t$ cd jekyll_taxonomy\n\n## 📝 Acknowledgements\n\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2021 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fjekyll_taxonomy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fjekyll_taxonomy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fjekyll_taxonomy/lists"}