gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
74.63k stars 7.45k forks source link

Lists render problem #2405

Closed k0pernicus closed 8 years ago

k0pernicus commented 8 years ago

Hi, I don't know if this problem concerns directly Hugo or not, but I have a problem to have a correct render on lists.

Actually, the following Markdown code is inlining via Hugo:

This is my list:
*  Hello,
*  World!

Is there a problem in a Hugo library or something?

k0pernicus commented 8 years ago

I tried to had some spaces after list: but it doesn't change the render... The only thing that works to render the list correctly after the title is to add two newlines, but the list is so far than the title now...

thiagomgd commented 8 years ago

As far as I know, you are supposed to have an empty line before and after the list.

List:

* Hey
* Hi

See the list above?

The list being far from the title is another thing. What's the html generated? It's probably your theme's CSS doing this.

k0pernicus commented 8 years ago

Oh ok - my bad for this thing so...
I am using ghostwriter as theme.

thiagomgd commented 8 years ago

Is you result similar to the example below?

http://themes.gohugo.io/theme/ghostwriter/2014/04/02/hugoisforlovers/

image

If yes, just change the margins on your css :)

k0pernicus commented 8 years ago

Thanks @thiagomgd, saved my day! :-D

👍

thiagomgd commented 8 years ago

You're welcome!

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.