Current Server Time: 12:36 (Central Europe)

#apertus IRC Channel Logs

2023/11/02

Timezone: UTC


04:38
jn_
joined the channel
04:38
jn_
left the channel
04:38
jn_
joined the channel
04:38
jn
left the channel
04:43
aombk2
joined the channel
04:46
aombk
left the channel
04:48
aombk2
left the channel
06:35
aombk
joined the channel
19:07
Guest83
joined the channel
19:10
Guest83
Hello, 11ty-hugo guy here again... If I recall correctly, there was someone here who researched static site generators and Hugo in particular. Could that person maybe answer this question, as I haven't found the answer online yet:
19:12
Guest83
If you have a footer.layout file in _includes and the position of this layout is defined in the base.layout file, how can I change this position in a new post layout file if needed?
19:19
Guest83
Say I have in base.layout file, the code "<footer>{% include 'footer.layout' %}</footer>" at the bottom, how can I change the footer position in any later page-specific layouts if I need to?
19:20
Guest83
position in the resulting html file*
19:49
Guest83
If I am right this is in both hugo and 11ty the same syntax and methods
19:52
anuejn
Guest83: that was probably me
19:53
anuejn
I have no Idea if that is possible
19:55
anuejn
I see why that might be usefull but i think one needs to create a seperate layout file for that?
19:55
anuejn
but I am not sure (also only briefly looked at static site generators)
20:14
Guest83
Ah okay. Well I need to figure that out with help of tutorials :) I am happy to say that I finally created a barebones homepage with a working linked css file.
20:15
anuejn
sounds cool :)
20:16
Guest83
I can share the raw html code of the homepage of what I have in mind tomorrow (without any styling probably)
20:22
Guest83
or atleast the .md file.
20:46
Guest83
left the channel
22:39
BAndiT1983
Guest83: probably is this the Hugo feature, you're looking for -> https://discourse.gohugo.io/t/create-new-layout-for-an-about-page/6223/7
22:40
BAndiT1983
check the links in the thread, they are about how Hugo is determining what to use for specific pages etc.