I’m in the process of getting my website up and running with the aafu theme, but when I write blogposts in .org format, any headlines outside the front matter renders a frame around the content belonging to that headline. It doesn’t happen with .md files.
I would like to disable this behaviour for .org files somehow, but have a hard time figuring out where to do this change. Do I put it in the archetype-file for .org or should it be specified in css?
Please provide a content example
Ofcourse! Sorry for leaving that out the first time. Here is a screenshot of what I mean:
An example of the .org source please.
Yes - I had that added, but because I’m a new user I could only attach one image to the post.
Here’s what it looks like in .org:
Thanks for the fast response, btw. You answered while I was still trying to get an additional screenshot ready of the same situation from a .md file.
here’s the shot of the rendered .md file:
The screen capture above is .md
not .org
.
Please, just cut and paste the contents of the .org
file.
The first screen capture after the one of how it’s rendered is .org (the one using “#+TITLE: Example”) the second, where I use “title = 'Example2”’ is .md
I’m not seeing that.
Why can’t you just cut and paste the text? I’d like to help you, but you’re making it difficult.
I’m sorry.
I thought screenshots would help.
Here is the text from the .org:
#+TITLE: Example
#+DATE: 2025-04-25T20:38:20+02:00
#+DRAFT: true
#+CATEGORY:
#+TAGS[]:
This is an examplepage, to demo what I mean, when I say that in .org mode under this hugo theme, any heading that is not in the front matter...
** Like this one
will make a box.
A markdown heading of the same "grade" - in this case ##h2 - doesn't get rendered like this, which I can't understand.
** I wish I could fix this
*** Subheadings are treated like this
***** just to give two other examples.
While regular text renders like this, but because this is still written "under" a heading, it will all be in a box.
This is what I see when I build your site using the latest version of the aafu theme.
1 Like
Ok - that could be a sign that I need to update the theme maybe? I installed it four days ago.
Do you think this could be the issue?
No. The last commit was three weeks ago.
At this point we can’t help you unless you post a link to your project’s Git repository.
See Requesting Help.
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
I understand, and am sorry for not doing this right away. Will try to get that done and post it here once I have it figured out.