darshanbaral / aafu

Portfolio theme with blog
https://themes.gohugo.io/aafu/
MIT License
47 stars 58 forks source link

Unable to linebreak #33

Closed Jessomadic closed 6 months ago

Jessomadic commented 6 months ago

I have attempted to do a line break with every way I can think of and find online but none have worked I have tried 2x spaces , <p> </p>,<br>, \n and none of them worked. I attempted to make another list and that also didn't work. Am I missing something?

Jessomadic commented 6 months ago

Please see here https://jessomadic.github.io/

Jessomadic commented 6 months ago

I was able to resolve this by creating a new subfolder called "shortcodes" in the "layouts" folder. I then created an HTML file called line_break.html and inside just put <br /> then inside your config you can add {{< line_break >}} wherever you need a linebreak and it will add one. image image