link htmx_examples to projects
This commit is contained in:
parent
1982f2ea2e
commit
f0c8e169ec
|
@ -1,5 +1,8 @@
|
|||
### A Simple Static Site Generator
|
||||
|
||||
- [Source code](https://tildegit.org/cst/creativespirit.tech) of the simple static site generator is hosted at the awsome [tildegit](https://tildegit.org/cst/creativespirit.tech) of the [tildeverse](https://tildeverse.org/)
|
||||
|
||||
|
||||
### Why yet another site generator?
|
||||
|
||||
- [creativespirit.tech](https://creativespirit.tech) is about a concept. The software supporting the site implements that concept.
|
||||
|
|
|
@ -5,3 +5,8 @@
|
|||
- Description: In [this blog article](https://creativespirit.tech/blog/site_generator.html).
|
||||
- [Source code](https://tildegit.org/cst/creativespirit.tech) is hosted at the awsome [tildegit](https://tildegit.org/cst/creativespirit.tech) of the [tildeverse](https://tildeverse.org/)
|
||||
|
||||
|
||||
### Htmx examples rendered with python/flask
|
||||
- The excellent [htmx examples](https://htmx.org/examples/) rendered with python/flask!
|
||||
- Shortly about htmx in my gemini capsule: gemini://gemini.ctrl-c.club/~cst/htmx.gmi (To browse it, you'd need a [gemini client](https://gemini.circumlunar.space/software/). I use [Lagrange](https://github.com/skyjake/lagrange))
|
||||
- [Source code](https://tildegit.org/cst/htmx_examples) is hosted at the awsome [tildegit](https://tildegit.org/cst/creativespirit.tech) of the [tildeverse](https://tildeverse.org/)
|
||||
|
|
|
@ -16,9 +16,10 @@ DESTINATION_ROOT = '/var/www/creativespirit.tech/html'
|
|||
|
||||
TEMPLATE_FILE = '../templates/page_template.mustache'
|
||||
|
||||
if len(sys.argv) == 3:
|
||||
if len(sys.argv) == 4:
|
||||
SOURCE_ROOT = sys.argv[1]
|
||||
DESTINATION_ROOT = sys.argv[2]
|
||||
TEMPLATE_FILE = sys.argv[3]
|
||||
|
||||
|
||||
def process_content_dir(root, nodes):
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
# So we add it here
|
||||
export PATH=$PATH:/home/${USER}/.local/bin
|
||||
|
||||
pipenv run python ./md_to_html.py $1 $2
|
||||
pipenv run python ./md_to_html.py $1 $2 $3
|
||||
|
|
Loading…
Reference in New Issue