I feel like I’ve done this before on micro.blog (or just Hugo), but I’m drawing a blank. In editing templates, if I want something to show only on single posts (not pages), what is the proper syntax? (cc @manton@bix@kaa)
I feel like I’ve done this before on micro.blog (or just Hugo), but I’m drawing a blank. In editing templates, if I want something to show only on single posts (not pages), what is the proper syntax? (cc @manton@bix@kaa)
@Mtt so the only way that I have done that is basically using post/single.html and defaults/single.html are how I have gone around styling these two things differently. Not sure if that helps...
@Mtt so the only way that I have done that is basically using post/single.html and defaults/single.html are how I have gone around styling these two things differently. Not sure if that helps...
@kaa For simplicity sake, was hoping to get to it with an 'If' statement. Basically, dates and comments are attempting to show on pages instead of just posts. Probably have to split it up like you said.
@kaa For simplicity sake, was hoping to get to it with an 'If' statement. Basically, dates and comments are attempting to show on pages instead of just posts. Probably have to split it up like you said.