Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Read more" to the right... #533

Closed
damianavila opened this issue Jul 23, 2013 · 5 comments
Closed

"Read more" to the right... #533

damianavila opened this issue Jul 23, 2013 · 5 comments

Comments

@damianavila
Copy link
Member

I think that we need to change the "Read more" used in teasers to the right to get a better distribution of links...
Maybe is a very subjective idea, but, I think, it has to be configurable at least through templating, but the link is generated on the fly by post.py (https://github.com/ralsina/nikola/blob/e65ae90ee8392fcb5d724f3599a6c7ade5697a5b/nikola/post.py#L346), so it not configurable unless you hack the nikola code...

Ideas? Comments?

@damianavila
Copy link
Member Author

My first idea is to make '<p><a href="{0}">{1}</a></p>' part of the template or something like that...

@ralsina
Copy link
Member

ralsina commented Jul 28, 2013

On 23/07/13 14:22, Damián Avila wrote:

My first idea is to make |'

{1}

'| part of the
template or something like that...

But that is not always there... how about making it a span with a class
so it can be styled by the theme?
In general, nikola is producing HTML that is not labeled enough.

@Kwpolska
Copy link
Member

#412 perchance?

@dhruvbaldawa
Copy link
Member

In general, should we add some default classes to HTML elements in the template ?

@ralsina
Copy link
Member

ralsina commented Jul 30, 2013

On 30/07/13 12:05, Dhruv Baldawa wrote:

In general, should we add some default classes to HTML elements in the
template ?

I think that's a good idea, and it will make styling via pure CSS much
easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants