dairiki on master
Fix buglet in dependency tracki… (compare)
My interim solution is hardcoding the alert into a function, and using a field to enable/disable the alert on each Page. I'd really like this to be something a non-tech person can update though.
I would do something like this: First create a template that renders the error message as a string only without any HTML around it. You then can create a separate page that only contains the alert message and assign the new template to this page.
Hi, I've tried to install Lektor 3.2 on macOS 11.2.3, but got an error with bulding cryptography module, full output here https://pastebin.com/qwAGAmPZ
If there some workaround to install Lektor correctly?
Hey there, I am trying to create a plugin for lektor; I have content (page), which has a custom field
vimeo_id and I would like to access that while on the Plugin, the idea is: if the content does not have an attachment (provided thumbnail) use BeautifulSoup to grab the thumbnail from the vimeo website.
I can't seem to reach the fields, I am introspecting
context['this'] but can't seem to find them; and I am doing it on
on_process_template_context any hints on the right direction?
_datathe correct way about this?
Attachmentsbe created on the fly? So in my previous example, I want to download the vimeo thumbnail, and ideally create an Attachment out of it and store it in the content folder.
curl -sf https://www.getlektor.com/installer.py | sudo python3and it gives me an error about how the werkzeug it installs is too old for the flask(required >2.0 but is 0.16). I cannot do anything with lektor and i suspect this is the problem. I tried installing werkzeug by pip but to no avail. Any help would be great and thanks!