jekyll-ghpages-tagging
đ A tag management GitHub Action for Jekyll sites on GitHub Pages
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
âCITATION.cff file
Found CITATION.cff file -
âcodemeta.json file
Found codemeta.json file -
â.zenodo.json file
Found .zenodo.json file -
âDOI references
-
âAcademic publication links
-
âCommitters with academic emails
-
âInstitutional organization owner
-
âJOSS paper metadata
-
âScientific vocabulary similarity
Low similarity (12.6%) to scientific vocabulary
Keywords
Repository
đ A tag management GitHub Action for Jekyll sites on GitHub Pages
Basic Info
- Host: GitHub
- Owner: Ragdata
- License: mit
- Language: Shell
- Default Branch: master
- Homepage: https://github.com/ragdata/jekkyl-ghpages-tagging
- Size: 98.6 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
[Jekyll GH-Pages Tagging
GitHub Action](https://github.com/ragdata/jekyll-ghpages-tagging)
Issues đ¸ Releases
If you like this repository, please give it a â (it really does help)
â Project Overview
An article tagging solution for Jekyll that is 100% compatible with GH-Pages
If you're using GitHub Pages in SAFE mode, then you already know that most plugins are disabled and only a small number of plugins are whitelisted. One of the plugins you can't use is jekyll-tagging - which makes managing tags for your blog articles difficult.
This project provides a fully-automated solution for Jekyll tag management that is 100% compatible with GitHub Pages by doing the work through GitHub Actions instead of a Jekyll plugin. Like most of my projects, this one was inspired by my own need for the solution.
If you've got an idea you'd like to see implemented, submit a feature request and it will be considered for inclusion in an upcoming release.
â What Does It Do?
- Scans the
posts_dirfor a list of blog articles - Extracts a list of tags used in those articles
- Creates config files in
tags_dirfor new tags- Optionally creates config files in `feedsdir` for new tags also_
- Deletes config files for tags & feeds which are no longer in use
- Commits changes to git and pushes to repo
Tag Files - form a Jekyll Collection which can be used to index blog articles according to their associated tag(s).
Feed Files - allow you distribute your articles in ATOM (RSS) format and curate your feeds according to their associated tag(s).
đ Usage
Inputs
yaml
posts_dir:
description: "Path to '_posts' directory from root"
required: true
default: "_posts"
tags_dir:
description: "Path to '_tags' directory from root"
required: true
default: "_tags"
tags_layout:
description: "Layout used by tag files"
required: true
default: "tags"
feeds_dir:
description: "Path to '_feeds' directory from root"
required: false
default: "_feeds"
feeds_layout:
description: "Layout used by feed files"
required: false
default: "feed"
prune_tags:
description: "Remove unused tags"
required: false
default: "true"
Example Workflows
```yaml name: Jekyll GH-Pages Tagging Workflow
on: # Trigger when Markdown files pushed to docs/posts on the master branch push: branches: - master paths: - 'docs/posts/*.md' # Allows this workflow to be triggered manually workflow_dispatch:
jobs: generatetags: runs-on: ubuntu-latest permissions: contents: write steps: - name: Checkout uses: actions/checkout@v4 - name: Generate Tags uses: ragdata/jekyll-ghpages-tagging@master with: postsdir: "docs/posts" tagsdir: "docs/tags" tagslayout: "tags" feedsdir: "docs/feeds" feedslayout: "feed" env: GITHUBTOKEN: ${{ secrets.GITHUB_TOKEN }} ```
â¤ī¸ Project Supporters
Click here to find out about available sponsorship opportunities!
If sponsorship isn't right for you, but you have found my work to be useful in some way,
would you please consider buying me a coffee to help keep me going?
đ§ Author / Maintainer
đ Security
While I always good security practices, 100% security can never be guaranteed in any software package. The Jekyll GH-Pages Tagging Action is provided AS IS, and without warranty. You can find more details in the LICENSE file included with this repository.
If you discover any issue regarding the security of this project, please disclose that information responsibly by sending a security advisory. PLEASE DO NOT CREATE AN ISSUE OR DISCUSSION TOPIC. You can read more about this project's security policies HERE
ÂŠī¸ Copyright & Attributions
This project incorporates ideas and / or code crafted by the following talented individuals:
- Article: How do I tag posts in Jekyll? Jekyll tagging made simple
Copyright © 2020 - Joseph Zammit @ Untangled Development
"We see much further, and reach much higher,
only because we stand upon the shoulders of giants"
đ Resources
- Jekyll Website
- GitHub Pages Dependencies (list of plugins supported by gh-pages)
- Ragdata's Favourite Jekyll Resources
âī¸ License
Copyright Š 2024 Darren (Ragdata) Poulton
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you like this repository, please give it a â (it really does help)
Owner
- Name: Ragdata ââ
- Login: Ragdata
- Kind: user
- Location: Brisbane, QLD Australia
- Company: @redeyed-au
- Repositories: 9
- Profile: https://github.com/Ragdata
Technomancer / Bit Wrangler / Drummer Veteran Australian Full-Stack Engineer
Citation (CITATION.cff)
# See: https://citation-file-format.github.io/
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Jekyll GH-Pages Tagging Action
message: >-
If you use this software, please cite using the
information provided here
type: software
authors:
- given-names: Darren
family-names: Poulton
email: ragdata@ragdata.dev
orcid: 'https://orcid.org/0000-0001-8986-2886'
affiliation: Redeyed Software
repository-code: 'https://github.com/ragdata/jekyll-ghpages-tagging'
url: 'https://ragdata.github.io/jekyll-ghpages-tagging'
abstract: >-
A Jekyll tag management solution that is 100% compatible with GitHub Pages.
license: MIT
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Ragdata | r****a | 84 |
| deepsource-io[bot] | 4****] | 1 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0