Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 22 19:40
    dairiki synchronize #942
  • Sep 22 19:19
    dairiki opened #942
  • Sep 22 18:15

    dairiki on master

    Use setuptools-scm to deduce di… Add pyproject.toml. Switch to … Move flake8 config from setup.c… and 10 more (compare)

  • Sep 22 18:15
    dairiki closed #933
  • Sep 22 18:13
    dairiki commented #941
  • Sep 22 17:15
    yagebu commented #724
  • Sep 22 17:10
    yagebu labeled #941
  • Sep 22 17:10
    yagebu opened #941
  • Sep 22 02:02
    dairiki review_requested #933
  • Sep 21 20:21
    CAM-Gerlach commented #38
  • Sep 21 05:53

    dairiki on master

    Update CHANGELOG.md for 0.4.0 (compare)

  • Sep 21 05:46
    dairiki closed #38
  • Sep 21 05:46
    dairiki commented #38
  • Sep 21 02:11
    CAM-Gerlach opened #38
  • Sep 21 01:53
    dairiki commented #724
  • Sep 20 21:56
    dairiki ready_for_review #933
  • Sep 20 21:34
    dairiki commented #933
  • Sep 20 21:28
    dairiki synchronize #933
  • Sep 20 19:00
    dairiki commented #933
  • Sep 20 18:53
    dairiki commented #933
Monette
@Monette5
Hi - I have created a wysiwyg interface for our lektor project - would you be interested in seeing it and if so where would I make the suggestion?
Olivier D.
@odeckmyn
Hi team ! I've been playing with Lektor for quite a long time now. I'm the author of several plugin (including lektor-i18n). I'm facing a very strange issue since a few days I can't solve by myself.
10 replies
My site is rendering good, but only once. When I try to build it again, it's raising a very strange error.
Could anybody help me please ? I'm stuck :(
Thanx in advance !
Ben Widawsky
@widawsky_twitter
I'd really like to get the output of git describe in a layout. Is there an easy way to do that?
4 replies
Monette
@Monette5
I have created a plugin and would like to use some JavaScript for it, however I can't see how to map the JS file within the plugin. I have tried to define it in the plugin class definition but it is still not found. Can anyone point me in the right direction? Thanks in advance.
j-b-grenouille
@j-b-grenouille
hi
3 replies
https://www.getlektor.com/docs/content/attachments/ as far as I anderstaend I havew to create the [attachment].[EXT].lr file bei Hand. So there is no possibility to have automated Metadata via Web-Admin UI
I was expectiong, if I have a default model at [Attachments] in the config file, this would be done outomatic, but it's not
also the .lr file needs to have a _model feald also if a defalt model is defined
did I miss something?
j-b-grenouille
@j-b-grenouille
I worked around using inotifywait on system base to create needet .lr files and also delte them, if the attachment ist deleted
pravin p
@hilt-pravin_gitlab
I'm trying to implement checkboxes type in admin side but unable to select checkboxes. Is their any alternative for checkboxes?
leonid-dubov
@leonid-dubov

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?

I've tried to upgrade system pip to latest version, but looks like Lektor doesn't use system one, even with sudo
leonid-dubov
@leonid-dubov
And lektor doesn't work properly
Udoka
@UdokaVrede
Hi everyone
j-b-grenouille
@j-b-grenouille

I'm trying to implement checkboxes type in admin side but unable to select checkboxes. Is their any alternative for checkboxes?

as far ad I know just downgrade, see:

4 replies
Hanny Goodwin
@hannylicious
Anyone here using or familiar with the markdown-highlighter plugin?
minkiu
@minkiu:matrix.org
[m]

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?

minkiu
@minkiu:matrix.org
[m]
Oh I see, so the info I need is in context['this']._data is accessing _data the correct way about this?
minkiu
@minkiu:matrix.org
[m]
Another question, can Attachments be 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.
sandeshveerani4
@sandeshveerani4
ImportError: cannot import name 'ContextVar' from 'werkzeug.local' any fix ?
Jonathan Vanasco
@jvanasco
I doubt this exists, but does anyone know of a lektor plugin that will support password-protected directories? e.g. something that would allow me to check a box and it creates an htaccess/htpasswd file.
sandeshveerani4
@sandeshveerani4
Why doesn't lektor support theming like Wordpress ?
syx-pravin
@syx-pravin
@tariquesani could you help me, I am trying to use Lektorify, I installed it in Wordpress, gave my lektor content folder path and created new post but it's not creating anything in the blog directory.
Could anyone help me how to use Lektorify with Wordpress?
syx-pravin
@syx-pravin
I think this group is slient, no one is responding
Philippe Muller
@pmuller
Is the project dead?
Michael Vartanyan
@mvartanyan
it's not, just this chat is not too active
Hanny Goodwin
@hannylicious
Yeah, this group is pretty quiet. IRC is the same. I was curious regarding IRC, any plans to move off of freenode given the big exodus from them?
SrijanSriv
@SrijanSriv
Hey!
Im trying to use lektor on my windows pc and Im fairly new to everything honestly. The lektor version is 3.2.0 and python version is 2.7.18 . Are they mismatched? I just installed both these as well as a git repo which Im fairly sure is up to date but Im facing some problems, and it points to the python 27 scripts in the Trackback. Oh btw I also need gettext for this project, version 0.19.8.1 is currently where Im at.
Im also on a Cygwin Terminal. Thanks!
Fábio Oliveira
@F0liveira
@Srijan-Sriv use Python 3 instead.
SrijanSriv
@SrijanSriv
surprisingly i get lesser errors with python2, i was using python3 earlier. anyways, im gonna switch to something more ubuntu-er and try again. thanks!
Hanny Goodwin
@hannylicious
@Srijan-Sriv Python 3 is the way to go. I use Ubuntu as well. For any/all python work, Python3 should be considered "the standard" as Python 2 is no longer supported.
SrijanSriv
@SrijanSriv
sure! Im gonna fix things accordingly. Thanks for the nudge.
Jerome Charaoui
@jcharaoui
hello! I'm creating a blog using the default 'blog' template, but I would like the blog post index to appear on the front page, is that possible without moving all the post content from 'content/blog/' into 'content/' ?
ideally I would like the blog posts to have their own directory on the filesystem, as there will be other types of pages like 'content/event/*'
Jerome Charaoui
@jcharaoui
I think I found out how to do it
add "_slug: /" to "content/blog/contents.lr"
and "model: _blog" to "content/contents.lr"
Jerome Charaoui
@jcharaoui
however now "lektor serve" is full of 404's :s
Jerome Charaoui
@jcharaoui
the bug is quite similar to : lektor/lektor#16
Daniel Aubert
@DanielAubertKGB_twitter
HI I am hoping someone can help me with replacing an installation on Windows 10. Any help is much appreciated.
I am running (new-object net.webclient).DownloadString('https://www.getlektor.com/installer.py') | python
I get the following and am not sure how to resolve it
Welcome to Lektor
This script will install Lektor on your computer.
Installing at:
C:\Users\danie\AppData\Local\lektor-cli
Continue? [Yn] Y
Installing virtual environment...
Downloading virtualenv: Traceback (most recent call last):
File "<stdin>", line 393, in <module>
File "<stdin>", line 382, in install
File "<stdin>", line 367, in windows_install
File "<stdin>", line 224, in install_lektor
File "<stdin>", line 205, in create_virtualenv
File "<stdin>", line 200, in use_zipapp
File "<stdin>", line 162, in enter
File "<stdin>", line 155, in fetch
AttributeError: 'FetchTemp' object has no attribute 'Progress'
SrijanSriv
@SrijanSriv
hey again! Im on an Ubuntu os this time around. I was just trying to install lektor using the command curl -sf https://www.getlektor.com/installer.py | sudo python3 and 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!
Andres Perez
@andresperezcera
@SrijanSriv I'd recommend installing using pipx
SrijanSriv
@SrijanSriv
@andresperezcera thanks for the suggestion. However, I believe they merged a pr that solved this issue a few weeks ago, essentially fixing the version mismatch.