Logs for #nikola for 2023-04-24

00:37:07 <arraybolt3> Hmm... ok so how would I figure out the name of the current page in a template? I'm trying to basically take base.tmpl and tell it "if not processing one of these pages, include these tags" so that I can leave out the margin-creating container in the index page.
00:38:12 <arraybolt3> I was going to try using a meta tag to act as an identifier since that looked possible but base.tmpl is a little bit early to do that.
00:39:14 <arraybolt3> I was able to customize base.tmpl and remove the margins entirely on every page but that's too broad.
00:40:31 <arraybolt3> And I tried to basically take a whole "chain" of template pages in order to rename them so that I could make a duplicate page.tmpl file but that would leave out the container, and for some reason once I rename my derived page.tmpl to index.tmpl, "nikola build" crashes with a backtrace that ends with "AttributeError: 'Undefined' object has no attribute 'meta'"
00:42:06 <arraybolt3> (I could probably figure this stuff out myself but it's taking a while... maybe I'm just trying to go too fast?)
00:49:33 <arraybolt3> Ugh. Nevermind, it looks like what I wanted to do is further complicated by other margins. Maybe I just need to quit trying to break the existing theme and design within the theme's constraints.
17:32:28 <KwBot> [nikola] MattiooFR opened issue #3682: Emojis silently generate empty blog post https://github.com/getnikola/nikola/issues/3682
17:32:28 <KwBot_> [nikola] MattiooFR opened issue #3682: Emojis silently generate empty blog post https://github.com/getnikola/nikola/issues/3682
17:33:06 <ChrisWarrick> arraybolt3: you could use the pagekind variable to figure out if you’re dealing with a post/page
17:34:26 <arraybolt3> ChrisWarrick: Nice, didn't know that existed. However, I don't think I'll need that - turns out the theme I'm using adds some space below the navbar so my whole entire idea was doomed to fail :P I was able to use a meta tag to make the title disappear on the index.html page, so now I have something that looks nice even though I have margins.
17:35:19 <arraybolt3> Thanks for your help by the way. Also I assume you're one of the Nikola authors? It's awesome.
17:35:32 <ChrisWarrick> you’re welcome :)
17:35:50 <ChrisWarrick> and you could get rid of the other space with CSS as well
17:36:39 <arraybolt3> Meh, I'm already in over my head at the moment (I have almost no idea what I'm doing and tried to "just use the thing", which worked very well right up until I tried to do something that the theme wasn't designed for :P). I'm satisfied with how things are working and will probably just try to build from there.
17:36:57 <arraybolt3> I'll keep in mind CSS tricks in the event I actually do have to remove space in the future, though.
19:40:47 <KwBot> [nikola] mccullerlp opened issue #3683: nikola auto plugin constant loop due to watching opened and closed file events. https://github.com/getnikola/nikola/issues/3683
19:40:47 <KwBot_> [nikola] mccullerlp opened issue #3683: nikola auto plugin constant loop due to watching opened and closed file events. https://github.com/getnikola/nikola/issues/3683
21:00:20 <KwBot> [nikola] Kwpolska closed issue #3683: nikola auto plugin constant loop due to watching opened and closed file events. https://github.com/getnikola/nikola/issues/3683
21:00:20 <KwBot_> [nikola] Kwpolska closed issue #3683: nikola auto plugin constant loop due to watching opened and closed file events. https://github.com/getnikola/nikola/issues/3683