mgcth / mysgen Goto Github PK
View Code? Open in Web Editor NEWMy static site generator.
License: MIT License
My static site generator.
License: MIT License
Currently, the menu items dict saved is just the pathname, as key and value. Save the full page item with metadata as value instead.
If the data
or image
metadata fields are present but empty mysgen expects there to be some data for that post. Allow them to be false
.
There is an issue in certain path splits and combines on my version of Windows; the problem seems to be that certain split and join statements have "/" hard coded in them. When I change that locally to "\", it works (to a degree). Of course, this is no good since I then can't use the code to build in a Unix-based server environment.
This doc https://docs.github.com/en/repositories/working-with-files/managing-large-files/removing-files-from-git-large-file-storage#git-lfs-objects-in-your-repository says that the git lfs quota is not reset even if a file is deleted from git lfs, and the solution is to delete the repo. No thanks. Will add media files to S3 storage instead.
Add action for publishing to pypi.
When using mysgen on a Windows computer, build is failing because the parsing is constructed assuming levels are separated by "/", however Windows uses "\" by default.
Would be nice to have some sort of automatic check and fix for this.
Add more python versions in tests.
Add option to mangel image names and sort them by date. Requires that image name is the date, as the code expects images with stripped metadata.
to make it easier to try out new styles
Update mypy.
For more flexibility, forward all posts_dict to page template.
Using Decap, e.g. Ingenjorsarbete-For-Klimatet/greenhouse-majorna#39, fails because the datetime is not on a format mysgen understands.
Allow pages to have data.
Use ruff for formatting and linting.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.