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

Configure entries layout list or grid #2616

Merged
merged 4 commits into from
Jul 24, 2020
Merged

Configure entries layout list or grid #2616

merged 4 commits into from
Jul 24, 2020

Commits on Jul 24, 2020

  1. Configure entries layout list or grid

    This allows to use grid layout on `page.entries_layout` on the home layout.
    
    Included a break since when using grid the post images are too close to the horizontal line bellow `posts` text.
    
    There's a entries div now surrounding the posts since the first row of the grid was having a slight padding on the left. The home now behaves like posts/categories/tags pages with grid but including the paginator.
    
    Tested on mobile renders ok and on hd desktop, for best results on desktop we can use `classes: wide` and `paginate: 4` on `_config.yml` (or multiples of 4 if you want more rows)
    TarodBOFH authored Jul 24, 2020
    Configuration menu
    Copy the full SHA
    c5f1468 View commit details
    Browse the repository at this point in the history
  2. Fix indent

    TarodBOFH authored Jul 24, 2020
    Configuration menu
    Copy the full SHA
    3ecc688 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d54276 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9b926a View commit details
    Browse the repository at this point in the history