dynamic content

This commit is contained in:
randogoth 2023-05-23 21:32:01 +03:00
parent eb8fdb1a46
commit 651becfb6b
4 changed files with 47 additions and 1 deletions

20
example/content/script.md Normal file
View file

@ -0,0 +1,20 @@
Title: Hello World
Date: 2023-05-22
save_as:
url: helloworld.mu
<!--
The empty 'save_as' tag tells Pelican to not save this file
but use the given 'url' in all links that point to this
dummy article. We only use this to create links throughout
the generated page.
The following settings in 'pelicanconf.py' will then copy the
'helloworld.mu' script from the 'scripts' folder to where this
'url' points.
STATIC_PATHS = ['../scripts/helloworld.mu']
EXTRA_PATH_METADATA = {'../scripts/helloworld.mu': {'path': '/micron/helloworld.mu'},}
-->