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

Adding a read more tag in blogs #136

Closed
vipulgupta2048 opened this issue May 13, 2018 · 23 comments
Closed

Adding a read more tag in blogs #136

vipulgupta2048 opened this issue May 13, 2018 · 23 comments
Assignees

Comments

@vipulgupta2048
Copy link
Member

vipulgupta2048 commented May 13, 2018

Since we are putting efforts to get more and more people to read the blog and increase traffic, I would like to suggest the use of "Read More" tags for the blog. This helps in improving both the UI/UX

Bloggers would know the benefit of this, the reader who lands on the blog would be able to see more than one post at any point of time and have to traverse fewer blogs too, if he is looking for other information. This is a problem since the webpage has become too long because of blog post of 2016/7. It's just a suggestion, all views on this are appreciated.

The read more tag could be accomplished using the details tag in HTML

@ananyo2012
Copy link
Contributor

+1 for the suggestion

@HarendraSingh22
Copy link

So on which of the blogs this should be done?
Maybe we can set a character limit and everything more than that is hidden in all the blogs?

@vipulgupta2048
Copy link
Member Author

vipulgupta2048 commented May 19, 2018

Thanks for taking it up @HarendraSingh22
Yes, you can implement that as well, whatever works with pelican.
Well, the blogs of 2018 for sure. If you can then 2017 as well. I guess that should do it.
Do update us of the technique that you will be using for the blogs.

@ananyo2012
Copy link
Contributor

There is a read-more-link plugin for pelican. We can use that just by installing it and adding it to the pelican settings.

@vipulgupta2048
Copy link
Member Author

vipulgupta2048 commented May 20, 2018

@ananyo2012 That's a great find, we can sure use that,
@HarendraSingh22 Are you willing to take this up?

@vipulgupta2048
Copy link
Member Author

vipulgupta2048 commented Jun 1, 2018

@utkarsh2102 If you would like to contribute, can you take this up instead?

@utkarsh2102
Copy link
Contributor

I don't think if I'll we able to take it as I've got no history with blogs.
However, I don't mind trying this. Where do we need the links to be inserted?

@vipulgupta2048
Copy link
Member Author

The links would preferably be inserted after the first paragraph of the content or after giving out enough information for the reader to decide, understand the context and be intrigued enough to click read more

@Rohithgilla12
Copy link
Contributor

Hey I would like to give it a shot,
Can I try it?
I'll see if I can work it out
P.S First time dealing with this stuff but I'll try my best

@utkarsh2102
Copy link
Contributor

I'm not working on this issue.
@Rohithgilla12, you may proceed.

@ananyo2012
Copy link
Contributor

@Rohithgilla12 Follow this comment for the proposed solution

@Rohithgilla12
Copy link
Contributor

Hey I tried following the link u mentioned above but that led to
https://www.vuongnguyen.com/creating-inline-read-more-link-python-pelican-lxml.html which seems to be broken , any other links availbale or what is this feature called so that i can google about it
Thanks

@ananyo2012
Copy link
Contributor

ananyo2012 commented Jun 4, 2018 via email

@realslimshanky
Copy link
Member

I think this can be solved without even using a plugin. All one has to do is change the theme.
Simply crop the blog into say the first couple of sentences and add <a> tag after that. Check out how this theme uses the same methodology https://github.com/getpelican/pelican-themes/tree/master/aboutwilson
aboutwilson

@vipulgupta2048
Copy link
Member Author

@realslimshanky I like this way.
@ananyo2012 Could we implement the same. This might be the DRY approach we are looking for.

@ananyo2012
Copy link
Contributor

ananyo2012 commented Jun 7, 2018 via email

@ananyo2012
Copy link
Contributor

Is anyone working on this? otherwise I will take this up.

@vipulgupta2048
Copy link
Member Author

vipulgupta2048 commented Jun 12, 2018

Right, so what Satyakaam mentioned in the meeting was, that we implement pagination in the blog instead of Read more ...
What do you think? I think we should go with both pagination and read more...
Yes, you can take up the issue.

@vipulgupta2048
Copy link
Member Author

While you choose which approach is right, please also add the links for Speakers and Tickets in the nav-bar

@ananyo2012
Copy link
Contributor

What do you think? I think we should go with both pagination and read more...

Yeah we should do both.

While you choose which approach is right, please also add the links for Speakers and Tickets in the nav-bar

Sure

@realslimshanky
Copy link
Member

Let's keep both the options open for the contributor and hope for the best.

@ananyo2012
Copy link
Contributor

So there is a issue with the pelican pagination. getpelican/pelican#1223 mentions it. I added summary changes and a failed attempt to add pagination in #150. Look at the changes.

@ananyo2012
Copy link
Contributor

This can be closed now that #150 is merged. I had to do a hotfix to remove pagination as it is causing some issues in the production. I have to check that. Also now that we have summaries in place we need to put proper summaries for all older blog posts. I will open a new issue for that.

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

No branches or pull requests

6 participants