Logs for #nikola for 2025-04-09

22:00:25 <mharig> detox theme: I want to put a longer text on the landing page. Found front_index_header, but the content is not showing up.
22:22:23 <mharig> or: How the fuck do I customize the landing page in detox, or any theme?
22:37:44 <mharig> And why does nikola (detox theme) not generate a index.html landing page if there are neither blog posts nor pages?
22:48:03 <ChrisWarrick> mharig: index.html is related to blogs. If there are no posts, I believe it should be generated anyway
22:48:28 <ChrisWarrick> mharig: the detox theme appears to support front_index_header, how did you set it?
23:04:07 <mharig> ChrisWarrick: In the conf.py.
23:05:41 <mharig> ChrisWarrick: Nikol stopped making the main index.hmtl just for the project I fiddled with. I created a new empty project with all default values and the landing index.html gets created. I really would like to know why this happens.
23:06:12 <ChrisWarrick> mharig: did you change INDEX_PATH? did you disable any plugins?
23:07:04 <ChrisWarrick> mharig: please share your conf.py (e.g. using https://bpa.st/)
23:09:22 <mharig> ChrisWarrick: OK, INDEX_PATH was the problem with the missing index.html
23:10:22 <mharig> Btw, I have to use nikola 7.8.6
23:12:44 <ChrisWarrick> mharig: this is ancient, we do not support that
23:12:56 <ChrisWarrick> mharig: why do you have to use it?
23:13:15 <mharig> ChrisWarrick: Because the server has just Python 3.6
23:14:10 <ChrisWarrick> mharig: you don’t need to run nikola on a server, you can run it on your desktop and deploy with rsync. Or you could build your own more modern Python (e.g. using pyenv).
23:15:18 <mharig> ChrisWarrick: Hm. Have to check if I can deploy with rsync remote.
23:15:56 <ChrisWarrick> pretty much anything will do
23:16:14 <ChrisWarrick> even drag-and-drop in a ftp client is viable for nikola
23:32:27 <mharig> Disadvantage is: I have to type the pwd for every deploy. But maybe I can get ssh-agent working.
23:42:28 <mharig> ChrisWarrick: OK, works. Including the FRONT_INDEX_HEADER. Thanks! (But the text is rather long and the footer is too close to the end of the text.)