jekyll-ghpages-tagging

🔖 A tag management GitHub Action for Jekyll sites on GitHub Pages

https://github.com/ragdata/jekyll-ghpages-tagging

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

blogging gh-pages github-actions github-pages jekyll ragdata redeyed-software tagging
Last synced: 6 months ago · JSON representation ·

Repository

🔖 A tag management GitHub Action for Jekyll sites on GitHub Pages

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
blogging gh-pages github-actions github-pages jekyll ragdata redeyed-software tagging
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation Codeowners

README.md

[![Pre-Release](https://img.shields.io/badge/Status-Pre--Release-d20000?labelColor=31383f)](https://github.com/Ragdata/Ragdata/blob/master/docs/badges.md) [![MegaLinter](https://github.com/Ragdata/jekyll-ghpages-tagging/actions/workflows/mega-linter.yml/badge.svg)](https://github.com/Ragdata/jekyll-ghpages-tagging/actions/workflows/mega-linter.yml)

Jekyll GH-Pages Tagging Script [Jekyll GH-Pages Tagging
GitHub Action](https://github.com/ragdata/jekyll-ghpages-tagging)

Issues 🔸 Releases


GitHub issues Last Commit MIT

Elapsed Project Time

wakatime

If you like this repository, please give it a ⭐ (it really does help) GitHub repository stars

⭐ 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?

  1. Scans the posts_dir for a list of blog articles
  2. Extracts a list of tags used in those articles
  3. Creates config files in tags_dir for new tags
    • Optionally creates config files in `feedsdir` for new tags also_
  4. Deletes config files for tags & feeds which are no longer in use
  5. 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 }} ```

You can find a copies of a [standalone workflow](https://github.com/Ragdata/workflow-templates/blob/master/templates/jekyll-ghpages-tagging.flow.yml), [reusable workflow](https://github.com/Ragdata/workflow-templates/blob/master/templates/jekyll-ghpages-tagging.reuse.yml) and [caller](https://github.com/Ragdata/workflow-templates/blob/master/templates/jekyll-ghpages-tagging.call.yml) using this GitHub Action in my [**Workflow Templates**](https://github.com/Ragdata/workflow-templates) repository.

^ Top

â¤ī¸ 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?

Buy Me A Coffee

^ Top

🚧 Author / Maintainer

[![Ragdata](https://img.shields.io/badge/-Darren_"Ragdata"_Poulton-d20000?style=for-the-badge&labelColor=555555&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAgEAYAAACz+d94AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAZAAAAGQBeJH1SwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAnKSURBVFiFtVlrbFTVE/+du7t3a7t3u7vdPhb6pyjFankUiSYWm1gTCsHEWBOpEhEViG9RawXCB1GpNUKaKAFqNFowFkVQxMgj4W2hjRRMlwYQpAil72633W633e7ee8//w3BY+oK2sfPl9JwzZ2Z+M3PmzN6Cc845B8ZrrKkBgOzss2cBoLq6uhoA5s8fb70SxonOnmWMseXLOQeAw4dpNSNDkgBg3z6xP176xw1YIAAAZWUEbNMmsU7zsjKjEQB+/HG89DMRutGS280YYxMnMgYAn35KY1SUpgHAyy/PmsU5552dgv/8ecYYS09PT+ec8/PnxfrFi4wxpiihEABs2UK22Gy6DgBvvUVyrl4dN2CVlYwxdtddFgsAvP8+ra5aRWN0dH/uc+dkGQAyMx96SFEmTnS5GJNlVX3jDc5DIaNx8+aqKr+/oaGpiQBVVtK5adP6y+npofGzz7q7AWDDhsxMzjnv7R0zMPKwLFMEXnqJVtesoXHSpKHF/fbbmTMmk8m0du2KFRaLw7FwIcAY8MordK0bGgCAsUmTaL209KOP/H6/f/v2nJxwuKfngw/IlieeGFp+XR2NRUUGAwCUllIGkHuGBEZALBZVBYAlS2h75UpKsZSUoRWdPUu+W7ly7lyHw+VKSWFM13W9oIBzxoCpU2/l5pxqI2MzZ940gHHO2KVLnEsSY8XFhw97vU1NdXVRUQCwfj1xzZgxUDM54No1mq1fT3f2u+8IaHc3o3L8+efE+OKLxBgbOzQQt5uAr1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W9naS6/XS1RB670yj/q5IVejDD2mWlFRYGAj4fHv30jVvbh6tvAjRa7huXXe3z3fwIAGKiyN9hYWjlTaGD6ZUhf7+GwCWLMnODoWCwczM9HRV7evbsoV4Blep25Om3XuvpoVCX3zx2GPhcDCYmdneDtDXsaGr3p1ozF+CFy7knHNNI4Bvv/3VV11dnZ2aFh3Nua5v3TpSOcRfWrp1q8/X0QFcvAgAb76Znc055yP/HTiI/ut/Bhw6BBiNc+c6HHZ7QkJ5uaLY7YmJnCuK3Z6Q4HaLOe0fP/7HHwDw5JP/tR3j9t+Od981m63W1FSr1WZLSiKACQlut9VqtycmVlYuXaooipKWNl76xw2YGJ1Op9PpdLkUJS7O5dq9Oz4+Pj4+PilpvPX+H9FzAjWyi5ldAAAAAElFTkSuQmCC)](https://github.com/Ragdata) [//]: # () [//]: # ()

^ Top

🔐 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

^ Top

ÂŠī¸ Copyright & Attributions

This project incorporates ideas and / or code crafted by the following talented individuals:

"We see much further, and reach much higher,
only because we stand upon the shoulders of giants"

^ Top

📖 Resources

^ Top

âš–ī¸ License

MIT

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.

^ Top

If you like this repository, please give it a ⭐ (it really does help) GitHub repository stars

Visitors Ragdata Copyright © 2024 Redeyed Technologies

Owner

  • Name: Ragdata ♃☌
  • Login: Ragdata
  • Kind: user
  • Location: Brisbane, QLD Australia
  • Company: @redeyed-au

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

All Time
  • Total Commits: 85
  • Total Committers: 2
  • Avg Commits per committer: 42.5
  • Development Distribution Score (DDS): 0.012
Past Year
  • Commits: 85
  • Committers: 2
  • Avg Commits per committer: 42.5
  • Development Distribution Score (DDS): 0.012
Top Committers
Name Email 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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels