https://github.com/boidolr/pelican-cssmin

A CSS minifier filter for inline styles in the Pelican static site generator

https://github.com/boidolr/pelican-cssmin

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • 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 (9.0%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

A CSS minifier filter for inline styles in the Pelican static site generator

Basic Info
  • Host: GitHub
  • Owner: boidolr
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 31.3 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

pelican-cssmin: A Plugin for Pelican

tag python Build Status pre-commit

Pelican plugin adding rcssmin as a template filter to handle inline styles. No bundling or removal of redundant properties is performed.

Installation

This plugin can be installed via:

python -m pip install git+https://github.com/boidolr/pelican-cssmin.git@main

As long as you have not explicitly added a `PLUGINS` setting to your Pelican settings file, then the newly-installed plugin should be automatically detected and enabled. Otherwise, you must add `cssmin` to your existing `PLUGINS` list. For more information, please see the [How to Use Plugins](https://docs.getpelican.com/en/latest/plugins.html#how-to-use-plugins) documentation.

Usage

<style> {%- filter cssmin %} {% include "main.css" %} {% endfilter -%} </style>

License

This project is licensed under the MIT license.

Owner

  • Name: Raphael Boidol
  • Login: boidolr
  • Kind: user
  • Location: Munich, Germany
  • Company: @TNG

coding for the fun of it

GitHub Events

Total
  • Delete event: 19
  • Push event: 22
  • Pull request event: 36
  • Create event: 18
Last Year
  • Delete event: 19
  • Push event: 22
  • Pull request event: 36
  • Create event: 18

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 40
  • Total Committers: 2
  • Avg Commits per committer: 20.0
  • Development Distribution Score (DDS): 0.175
Past Year
  • Commits: 29
  • Committers: 2
  • Avg Commits per committer: 14.5
  • Development Distribution Score (DDS): 0.069
Top Committers
Name Email Commits
renovate[bot] 2****] 33
Raphael Boidol b****r 7

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 45
  • Average time to close issues: N/A
  • Average time to close pull requests: 29 minutes
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 44
  • Bot issues: 0
  • Bot pull requests: 43
Past Year
  • Issues: 0
  • Pull requests: 31
  • Average time to close issues: N/A
  • Average time to close pull requests: 22 minutes
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 30
  • Bot issues: 0
  • Bot pull requests: 30
Top Authors
Issue Authors
Pull Request Authors
  • renovate[bot] (67)
  • boidolr (3)
Top Labels
Issue Labels
Pull Request Labels
dependencies (65) github-tags (52) pre-commit (34) github-actions (18) pep621 (13) pypi (13)

Dependencies

.github/workflows/main.yml actions
  • JustinBeckwith/linkinator-action v1 composite
  • actions/checkout v4 composite
  • pdm-project/setup-pdm v3 composite
pyproject.toml pypi
  • pelican >=4.5
  • rcssmin >=1.1.2