Skip to content

A python3 script to aid with the clean-up of tags in a Jekyll website.

Notifications You must be signed in to change notification settings

linaro-marketing/jekyll_tag_cleanup

Repository files navigation

jekyll_tag_cleanup

Ever worked on a huge Jekyll site with a tag problem that is out of control? Never fear jekyll_tag_cleanup is here!

Requirements

  • python3
  • A Jekyll site with loads of tags

Clone this repository:

git clone [email protected]:linaro-marketing/jekyll_tag_cleanup.git

cd into the directory:

cd jekyll_tag_cleanup

Create a newline separate list of your desired tags e.g allowed_tags.txt:

UEFI
upstream
upstreaming
validation
VFIO
VirtIO
Virtual Connect 2020
virtual event
Virtualization
VM

Run the jekyll_tag_cleanup script over your posts directory for a clean start! Provide the full path to your _posts directory and to your new allowed tags:

python3 jekyll_tag_cleanup.py ${pwd}_posts/ ${pwd}allowed_tags.txt

About

A python3 script to aid with the clean-up of tags in a Jekyll website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages