manwar / theweeklychallenge

The Weekly Challenge - Perl & Raku. You do not have to be an expert. https://theweeklychallenge.org
Artistic License 2.0
12 stars 20 forks source link

Create template to list blog post #150

Open manwar opened 8 months ago

manwar commented 8 months ago

Here I would expect it to list, say last 10 posts with a button to add new post.

Each item in the list would be something like

   [Button To Create Post]

   Blog Title
   Blog body - just the first few lines

   ----

   Blog Title
   Blog body - just the first few lines
fahad-albasrawie commented 8 months ago

Hi dear mentor, now, the blog page seems to have list of blogs with the last 12 posts. Do you mean,

  1. That the blog page is the default one and we want to make it look better.
  2. Or, the blog page already lists the post, what we need is that to be dynamic (... to connect to the Dancer2)

if you mean the first option, could you assign this task to me?

Note, I added the top btn of create new blog post when I was doing this task Ability to create blog post #145. image

fahad-albasrawie commented 8 months ago

Sir @manwar , what about this one? Could you give more info or example?

manwar commented 8 months ago

@fahad-albasrawie I ilke the suggested layout. Can you please make it paginated? Say, each page would list 8 posts and then there would button in top and bottom to go to next page. Then next page would then list another 8 or whatever left post. One the second page, it would have link to go to the first page.

fahad-albasrawie commented 8 months ago

Sir, in this issue, I have got another idea. Instead of using paginated, What about if we perfere "Show more" button as the modern blog posts do?

manwar commented 8 months ago

@fahad-albasrawie Also add "Show less" then

fahad-albasrawie commented 8 months ago

Ok, assign this task to me too, please?

fahad-albasrawie commented 8 months ago

@manwar, I did this task, too. Although you did not assign it to me, is that problem?

manwar commented 8 months ago

@fahad-albasrawie I have now assigned you.